Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/mac80211/cfg.c ieee80211_add_key() -> ieee80211_key_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->conf.flags | 0,8,64,72,512,520,576,584 |
| PARAM_VALUE | 0 | key->conf.keyidx | 0-7 |
| PARAM_VALUE | 0 | key->flags | 0 |
| PARAM_VALUE | 0 | key->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 1-ptr_max |
| PARAM_VALUE | 2 | sta | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sta->sdata | 4096-ptr_max |
| BUF_SIZE | 0 | key | 648-s32max |
| BUF_SIZE | 0 | key | 648-s32max |
| BUF_SIZE | 1 | link | (-1),1128 |
| BUF_SIZE | 1 | link | (-1),1128 |
| CAPPED_DATA | 0 | key->conf.keyidx | 1 |
| CAPPED_DATA | 0 | key->conf.keylen | 1 |
| DATA_SOURCE | 0 | key | r ieee80211_key_alloc |
| DATA_SOURCE | 1 | link | r ieee80211_link_or_deflink |
| BIT_INFO | 0 | key->conf.flags | 0x0,0x248 |
| NOSPEC | 0 | key->conf.keylen | |
| NOSPEC | 0 | key->u.aes_cmac.key.aes.len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | key->conf.keylen | 0-255[c][u] |
| USER_DATA | 0 | key->u.aes_cmac.key.aes.len | 16,24,32[c] |
| USER_DATA | 0 | key->u.aes_cmac.key.aes.nrounds | 10,12,14[c] |
| USER_DATA | 0 | *key->conf.key | 0-255 |
| USER_PTR | 0 | key->conf.key | |
| HALF_LOCKED2 | global &rtnl_mutex |
net/mac80211/key.c ieee80211_gtk_rekey_add() -> ieee80211_key_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->conf.flags | 0,64 |
| PARAM_VALUE | 0 | key->conf.keyidx | 0-7 |
| PARAM_VALUE | 0 | key->conf.keylen | 0-32 |
| PARAM_VALUE | 0 | key->flags | 0 |
| PARAM_VALUE | 0 | key->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->gtk | 4096-ptr_max |
| PARAM_VALUE | 2 | sta | 0 |
| BUF_SIZE | 0 | key | 648-s32max |
| BUF_SIZE | 0 | key | 648-s32max |
| BUF_SIZE | 1 | link | (-1),1128 |
| BUF_SIZE | 1 | link | (-1),1128 |
| CAPPED_DATA | 0 | key->conf.keyidx | 1 |
| CAPPED_DATA | 0 | key->conf.keylen | 1 |
| DATA_SOURCE | 0 | key | r ieee80211_key_alloc |
| BIT_INFO | 0 | key->conf.flags | 0x0,0x40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | &mvm->mutex | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| TYPE_LOCK | (struct wiphy)->mtx |