Lines Matching refs:ret
270 int ret; in sta_info_free() local
274 ret = sta_info_move_state(sta, sta->sta_state - 1); in sta_info_free()
275 if (WARN_ONCE(ret, "sta_info_move_state() returned %d\n", ret)) in sta_info_free()
999 int ret; in __sta_info_destroy_part1() local
1027 ret = sta_info_hash_del(local, sta); in __sta_info_destroy_part1()
1028 if (WARN_ON(ret)) in __sta_info_destroy_part1()
1029 return ret; in __sta_info_destroy_part1()
1057 int ret; in __sta_info_destroy_part2() local
1068 ret = sta_info_move_state(sta, IEEE80211_STA_ASSOC); in __sta_info_destroy_part2()
1069 WARN_ON_ONCE(ret); in __sta_info_destroy_part2()
1084 ret = sta_info_move_state(sta, sta->sta_state - 1); in __sta_info_destroy_part2()
1085 if (ret) { in __sta_info_destroy_part2()
1092 ret = drv_sta_state(local, sdata, sta, IEEE80211_STA_NONE, in __sta_info_destroy_part2()
1094 WARN_ON_ONCE(ret != 0); in __sta_info_destroy_part2()
1129 int ret; in sta_info_destroy_addr() local
1133 ret = __sta_info_destroy(sta); in sta_info_destroy_addr()
1136 return ret; in sta_info_destroy_addr()
1143 int ret; in sta_info_destroy_addr_bss() local
1147 ret = __sta_info_destroy(sta); in sta_info_destroy_addr_bss()
1150 return ret; in sta_info_destroy_addr_bss()
1203 int ret = 0; in __sta_info_flush() local
1216 ret++; in __sta_info_flush()
1227 return ret; in __sta_info_flush()