Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/wireless/scan.c __cfg80211_bss_update() -> bss_ref_get()
| 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 |
| DATA_SOURCE | 0 | rdev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_get()
| 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->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.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.prev | 4096-ptr_max |
| BUF_SIZE | 1 | bss | 208-2147483855,u64max |
| BUF_SIZE | 1 | bss | 208-2147483855,u64max |
| DATA_SOURCE | 0 | rdev | $0 |
| 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_get_bss() -> bss_ref_get()
| 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 |
| PARAM_VALUE | 1 | bss->pub.channel | 4096-ptr_max |
| CAPPED_DATA | 0 | &rdev->bss_list | 1 |
| 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 | &rtlpriv->locks.conf_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |
net/wireless/scan.c cfg80211_ref_bss() -> bss_ref_get()
| 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 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &wil->mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |