Defined in 1 files as a function:
Referenced in 3 files:
- net/wireless/nl80211.c, line 14440
- net/wireless/trace.h, line 2153
- net/wireless/wext-compat.c, line 1467
Smatch caller information:
net/wireless/nl80211.c nl80211_set_pmksa() -> rdev_set_pmksa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_pmksa | 1-u64max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->ieee80211_ptr->iftype | 2-3,8-9 |
| PARAM_VALUE | 2 | pmksa | 1952627540204429312 |
| PARAM_VALUE | 2 | pmksa->bssid | 0,4096-ptr_max |
| PARAM_VALUE | 2 | pmksa->cache_id | 0,4096-ptr_max |
| PARAM_VALUE | 2 | pmksa->pmk | 0,4096-ptr_max |
| PARAM_VALUE | 2 | pmksa->pmk_len | 0-u16max |
| PARAM_VALUE | 2 | pmksa->pmkid | 4096-ptr_max |
| PARAM_VALUE | 2 | pmksa->ssid | 0,4096-ptr_max |
| PARAM_VALUE | 2 | pmksa->ssid_len | 0-u16max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | netdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | netdev | s32min-(-2),1-s32max |
| FUZZY_MAX | 1 | netdev->ieee80211_ptr->iftype | 9 |
| BIT_INFO | 1 | netdev->ieee80211_ptr->iftype | 0x0,0xb |
| MEM_ZERO | 2 | pmksa | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 2 | pmksa->bssid | |
| USER_PTR | 2 | pmksa->cache_id | |
| USER_PTR | 2 | pmksa->pmk | |
| USER_PTR | 2 | pmksa->pmkid | |
| USER_PTR | 2 | pmksa->ssid | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/wireless/wext-compat.c cfg80211_wext_siwpmksa() -> rdev_set_pmksa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_pmksa | 1-u64max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->ieee80211_ptr->iftype | 2 |
| PARAM_VALUE | 1 | netdev->ieee80211_ptr->wiphy | 1-u64max |
| PARAM_VALUE | 1 | netdev->wireless_handlers->num_private_args | 0,8-9 |
| PARAM_VALUE | 1 | netdev->wireless_handlers->standard | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *netdev->name | 0-255 |
| PARAM_VALUE | 2 | pmksa | 8064792701938356224 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | netdev | $0 |
| MEM_ZERO | 2 | pmksa | |
| USER_PTR | 2 | pmksa->pmkid | |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| TYPE_LOCK | (struct wiphy)->mtx |