Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/wireless/nl80211.c nl80211_pre_doit() -> __cfg80211_wdev_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 rdev 0
PARAM_VALUE 2 attrs 0,16,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
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 &hwsim_phys_lock
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/wireless/nl80211.c nl80211_prepare_vendor_dump() -> __cfg80211_wdev_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 rdev 0
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 2 (*attrs).nla_len 0
PARAM_VALUE 2 (*attrs).nla_type 0
BUF_SIZE 2 attrs 2944
BUF_SIZE 2 attrs 2944
DATA_SOURCE 2 attrs r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/wireless/nl80211.c nl80211_prepare_wdev_dump() -> __cfg80211_wdev_from_attrs()

Type Parameter Key Value
PARAM_VALUE 0 rdev 0
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 2 (*attrs).nla_len 0
PARAM_VALUE 2 (*attrs).nla_type 0
BUF_SIZE 2 attrs 0,2944
BUF_SIZE 2 attrs 0,2944
DATA_SOURCE 2 attrs $3 [m]
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/wireless/nl80211.c nl80211_testmode_do() -> __cfg80211_wdev_from_attrs()

Type Parameter Key Value
PARAM_VALUE 2 attrs 0,16,4096-ptr_max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
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/nl80211.c nl80211_vendor_cmd() -> __cfg80211_wdev_from_attrs()

Type Parameter Key Value
PARAM_VALUE 2 attrs 0,16,4096-ptr_max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
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