Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/mac80211/sta_info.c sta_info_alloc() -> __sta_info_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdata | 4096-ptr_max |
| PARAM_VALUE | 0 | *sdata->local->wep_tx_ctx.S | 0-4294967295 |
| PARAM_VALUE | 2 | link_id | (-1) |
| PARAM_VALUE | 4 | gfp | 2080,3264 |
| BUF_SIZE | 1 | addr | (-1),6 |
| BUF_SIZE | 1 | addr | (-1),6 |
| BUF_SIZE | 3 | link_addr | (-1),6 |
| BUF_SIZE | 3 | link_addr | (-1),6 |
| CAPPED_DATA | 0 | sdata | 1 |
| DATA_SOURCE | 0 | sdata | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | link_addr | $1 |
| DATA_SOURCE | 4 | gfp | $2 |
| HARD_MAX | 4 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *addr | 0-255 |
| USER_DATA | 3 | *link_addr | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | sdata->vif.active_links | |
| UNITS | 0 | sdata | unit_byte |
| USER_PTR | 1 | addr | |
| USER_PTR | 3 | link_addr |
net/mac80211/sta_info.c sta_info_alloc_with_link() -> __sta_info_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdata->vif.addr | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | link_id | 0-255 |
| PARAM_VALUE | 3 | link_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | gfp | 3264 |
| DATA_SOURCE | 0 | sdata | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | link_id | $2 |
| DATA_SOURCE | 3 | link_addr | $3 |
| DATA_SOURCE | 4 | gfp | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *addr | 0-255 |
| USER_DATA | 3 | *link_addr | 0-255 |
| USER_PTR | 1 | addr | |
| USER_PTR | 3 | link_addr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 |