Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/wireless/scan.c cfg80211_update_assoc_bss_entry() -> cmp_bss()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->channel | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->bss_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->wdev.wiphy->mtx | ||
| HALF_LOCKED2 | &vif->ar->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |
net/wireless/scan.c rb_find_bss() -> cmp_bss()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->channel | 1-u64max |
| PARAM_VALUE | 0 | a->ies | 1-u64max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 0-2 |
| DATA_SOURCE | 2 | mode | $2 |
| HARD_MAX | 2 | mode | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | a->beacon_interval | 0-u16max[u] |
| USER_DATA | 0 | a->bssid_index | 1-46 |
| USER_DATA | 0 | a->capability | 0-u16max[u] |
| USER_DATA | 0 | a->max_bssid_indicator | 1-8 |
| LOCK2 | &rdev->bss_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |
net/wireless/scan.c rb_insert_bss() -> cmp_bss()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | a->beacon_interval | 0-u16max[u] |
| USER_DATA | 0 | a->bssid_index | 1-46 |
| USER_DATA | 0 | a->capability | 0-u16max[u] |
| USER_DATA | 0 | a->max_bssid_indicator | 1-8 |
| LOCK2 | &rdev->bss_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |