Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/wireless/wext-compat.c cfg80211_wext_siwencode() -> cfg80211_set_encryption()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->add_key | 1-u64max |
| PARAM_VALUE | 0 | rdev->ops->del_key | 1-u64max |
| PARAM_VALUE | 0 | rdev->ops->set_default_key | 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 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 1-2 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->valid_links | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->wiphy | 1-u64max |
| PARAM_VALUE | 1 | dev->wireless_handlers->num_private_args | 0,8-9 |
| PARAM_VALUE | 1 | dev->wireless_handlers->standard | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *dev->name | 0-255 |
| PARAM_VALUE | 2 | pairwise | 0 |
| PARAM_VALUE | 3 | addr | 0 |
| PARAM_VALUE | 6 | idx | 0-127 |
| PARAM_VALUE | 7 | params | 7910749212254519296 |
| PARAM_VALUE | 7 | params->cipher | 0,1027073,1027077 |
| PARAM_VALUE | 7 | params->key | 0,4096-ptr_max |
| PARAM_VALUE | 7 | params->key_len | 1-u16max |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | dev | $0 |
| FUZZY_MAX | 6 | idx | 0 |
| MEM_ZERO | 7 | params | |
| USER_PTR | 7 | params->key | |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/wext-compat.c cfg80211_wext_siwencodeext() -> cfg80211_set_encryption()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->add_key | 1-u64max |
| PARAM_VALUE | 0 | rdev->ops->del_key | 1-u64max |
| PARAM_VALUE | 0 | rdev->ops->set_default_key | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 1-2 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->valid_links | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->wiphy | 1-u64max |
| PARAM_VALUE | 1 | dev->wireless_handlers->num_private_args | 0,8-9 |
| PARAM_VALUE | 1 | dev->wireless_handlers->standard | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *dev->name | 0-255 |
| PARAM_VALUE | 3 | addr | 0,4096-ptr_max |
| PARAM_VALUE | 6 | idx | 0-127 |
| PARAM_VALUE | 7 | params | 3749695405813886976 |
| PARAM_VALUE | 7 | params->cipher | 0,1027073-1027074,1027076-1027078 |
| PARAM_VALUE | 7 | params->key_len | 0-u16max |
| PARAM_VALUE | 7 | params->seq_len | 0,6 |
| BUF_SIZE | 3 | addr | 0,14 |
| BUF_SIZE | 3 | addr | 0,14 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | dev | $0 |
| BIT_INFO | 5 | tx_key | 0x0,0x8 |
| MEM_ZERO | 7 | params | |
| USER_DATA | 2 | pairwise | 0-1 |
| USER_DATA | 5 | tx_key | 0-1[c] |
| USER_DATA | 7 | params->key_len | 0-u16max[u] |
| USER_PTR | 7 | params->key | |
| USER_PTR | 7 | params->seq | |
| LOCK2 | &wdev->wiphy->mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |