Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
Smatch caller information:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_add_vif() -> brcmf_alloc_vif()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif | 0 |
| PARAM_VALUE | 0 | cfg->vif_event.vif_event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | type | 8-9 |
| DATA_SOURCE | 0 | cfg | r wiphy_to_cfg |
| DATA_SOURCE | 1 | type | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_create_p2pdev() -> brcmf_alloc_vif()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 10 |
| BUF_SIZE | 0 | cfg | (-1),2776 |
| BUF_SIZE | 0 | cfg | (-1),2776 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_apsta_add_vif() -> brcmf_alloc_vif()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif | 0 |
| PARAM_VALUE | 0 | cfg->vif_event.vif_event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | type | 2-3 |
| DATA_SOURCE | 0 | cfg | r wiphy_to_cfg |
| DATA_SOURCE | 1 | type | $3 |
| BIT_INFO | 1 | type | 0x2,0x3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_attach() -> brcmf_alloc_vif()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->bus_if | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->feat_flags | 0,16384-u32max |
| PARAM_VALUE | 0 | cfg->pub->fweh | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->hdrlen | 0,16 |
| PARAM_VALUE | 0 | cfg->pub->proto | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->proto_block.first_waiter | 0 |
| PARAM_VALUE | 0 | cfg->pub->proto_block.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->proto_block.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | cfg->pub->proto_block.owner.counter | 0 |
| PARAM_VALUE | 0 | cfg->pub->settings | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->vops | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_event.vif_wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->vif_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | cfg | 2776 |
| DATA_SOURCE | 0 | cfg | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_mon_add_vif() -> brcmf_alloc_vif()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | cfg->pub->mon_if | 0 |
| PARAM_VALUE | 1 | type | 6 |
| DATA_SOURCE | 0 | cfg | r wiphy_to_cfg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 | ||
| TYPE_LOCK | (struct wiphy)->mtx |