Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/wireless/scan.c __cfg80211_bss_update() -> bss_ref_put()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->bss_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rdev->bss_tree.rb_node 0,4096-ptr_max
PARAM_VALUE 0 rdev->wiphy.bss_priv_size (-208)-3999792
PARAM_VALUE 1 bss 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.next 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.next->next 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.prev 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.prev->next 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.channel 1-u64max
PARAM_VALUE 1 bss->pub.ies 1-u64max
PARAM_VALUE 1 bss->pub.nontrans_list.next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.next->next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev->next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.transmitted_bss 0
PARAM_VALUE 1 bss->refcount 1
BUF_SIZE 1 bss 208-2147483855
BUF_SIZE 1 bss 208-2147483855
DATA_SOURCE 0 rdev $0
DATA_SOURCE 1 bss r _kzalloc_noprof
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bss->pub.beacon_interval 0-u16max[u]
USER_DATA 1 bss->pub.bssid_index 1-46
USER_DATA 1 bss->pub.capability 0-u16max[u]
USER_DATA 1 bss->pub.max_bssid_indicator 1-8
LOCK2 bh
LOCK2 0 &rdev->bss_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct cfg80211_registered_device)->bss_lock

net/wireless/scan.c __cfg80211_bss_update() -> bss_ref_put()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->bss_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rdev->bss_tree.rb_node 0,4096-ptr_max
PARAM_VALUE 0 rdev->wiphy.bss_priv_size (-208)-3999792
PARAM_VALUE 1 bss 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.next 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.next->next 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.prev 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.prev->next 4096-ptr_max
PARAM_VALUE 1 bss->hidden_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.beacon_ies->data->datalen 0-255
PARAM_VALUE 1 bss->pub.beacon_ies->data->id 0-255
PARAM_VALUE 1 bss->pub.channel 1-u64max
PARAM_VALUE 1 bss->pub.ies 1-u64max
PARAM_VALUE 1 bss->pub.nontrans_list.next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.next->next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev->next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.transmitted_bss 0
BUF_SIZE 1 bss 208-2147483855
BUF_SIZE 1 bss 208-2147483855
BUF_SIZE 1 bss->pub.hidden_beacon_bss (-1),104
CAPPED_DATA 1 bss->pub.channel 1
DATA_SOURCE 0 rdev $0
DATA_SOURCE 1 bss r _kzalloc_noprof
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bss->pub.beacon_interval 0-u16max[u]
USER_DATA 1 bss->pub.bssid_index 1-46
USER_DATA 1 bss->pub.capability 0-u16max[u]
USER_DATA 1 bss->pub.max_bssid_indicator 1-8
LOCK2 bh
LOCK2 0 &rdev->bss_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct cfg80211_registered_device)->bss_lock

net/wireless/scan.c __cfg80211_unlink_bss() -> bss_ref_put()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->bss_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rdev->bss_tree.rb_node 4096-ptr_max
PARAM_VALUE 1 bss 4096-ptr_max
PARAM_VALUE 1 bss->list.next->prev 4096-ptr_max
PARAM_VALUE 1 bss->list.prev->next 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.next->prev 4096-ptr_max
PARAM_VALUE 1 bss->pub.nontrans_list.prev->next 4096-ptr_max
PARAM_VALUE 1 bss->rbn.rb_left 0,4096-ptr_max
PARAM_VALUE 1 bss->rbn.rb_right 0,4096-ptr_max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 1 bss (-1),208-s32max
BUF_SIZE 1 bss (-1),208-s32max
CAPPED_DATA 0 &rdev->bss_list 1
CAPPED_DATA 1 &bss->hidden_list 1
CAPPED_DATA 1 &bss->rbn 1
DATA_SOURCE 0 rdev $0
DATA_SOURCE 1 bss $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bss->pub.beacon_interval 0-u16max[u]
USER_DATA 1 bss->pub.bssid_index 1-46
USER_DATA 1 bss->pub.capability 0-u16max[u]
USER_DATA 1 bss->pub.max_bssid_indicator 1-8
NO_OVERFLOW_SIMPLE 0 rdev->int_scan_req->req.n_ssids
LOCK2 bh
LOCK2 0 &rdev->bss_lock
HALF_LOCKED2 0 &rdev->wiphy.mtx
TYPE_LOCK (struct cfg80211_registered_device)->bss_lock

net/wireless/scan.c cfg80211_put_bss() -> bss_ref_put()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->bss_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bss 4096-ptr_max
DATA_SOURCE 0 rdev r wiphy_to_rdev
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &rdev->bss_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &rtlpriv->locks.conf_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct cfg80211_registered_device)->bss_lock