Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/wireless/pmsr.c pmsr_parse_peer() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->wiphy.pmsr_capa 1-u64max
PARAM_VALUE 0 rdev->wiphy.pmsr_capa->max_peers 1-u32max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 2 (*attrs).nla_len 0
PARAM_VALUE 2 (*attrs).nla_type 0
PARAM_VALUE 3 chandef 4096-ptr_max
PARAM_VALUE 4 permit_npca 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
DATA_SOURCE 0 rdev $0
MEM_ZERO 2 attrs
RX_PATH
TASK_NOT_RUNNING
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

net/wireless/nl80211.c nl80211_join_ibss() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->ops 4096-ptr_max
PARAM_VALUE 0 rdev->ops->join_ibss 1-u64max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 5034416405297745936
PARAM_VALUE 4 permit_npca 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
MEM_ZERO 3 chandef
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_join_mesh() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 3566311067163729920
PARAM_VALUE 4 permit_npca 0
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_join_ocb() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 0,16,4096-ptr_max
PARAM_VALUE 3 chandef 6308002705488019456
PARAM_VALUE 3 chandef->center_freq2 0
PARAM_VALUE 3 chandef->chan 0
PARAM_VALUE 3 chandef->edmg.bw_config 0
PARAM_VALUE 3 chandef->edmg.channels 0
PARAM_VALUE 3 chandef->freq1_offset 0
PARAM_VALUE 3 chandef->npca_chan 0
PARAM_VALUE 3 chandef->npca_punctured 0
PARAM_VALUE 3 chandef->punctured 0
PARAM_VALUE 3 chandef->s1g_primary_2mhz 0
PARAM_VALUE 3 chandef->width 0
PARAM_VALUE 4 permit_npca 0
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_notify_radar_detection() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 0,16,4096-ptr_max
PARAM_VALUE 3 chandef 8067256182274850816
PARAM_VALUE 4 permit_npca 0
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_parse_nan_channel() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 16,4096-ptr_max
PARAM_VALUE 2 (*attrs).nla_len 0
PARAM_VALUE 2 (*attrs).nla_type 0
PARAM_VALUE 3 chandef 5566611997458886656
PARAM_VALUE 4 permit_npca 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 2 attrs 8
DATA_SOURCE 0 rdev $0
DATA_SOURCE 2 attrs r _kmalloc_array_noprof
RX_PATH
TASK_NOT_RUNNING
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

net/wireless/nl80211.c nl80211_remain_on_channel() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->ops 4096-ptr_max
PARAM_VALUE 0 rdev->ops->remain_on_channel 1-u64max
PARAM_VALUE 0 rdev->wiphy.flags 2097152-u32max
PARAM_VALUE 0 rdev->wiphy.max_remain_on_channel_duration 10-u16max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 6231843102678331392
PARAM_VALUE 4 permit_npca 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BIT_INFO 0 rdev->wiphy.flags 0x200000,0xffffffff
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_start_ap() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->ops 4096-ptr_max
PARAM_VALUE 0 rdev->ops->start_ap 1-u64max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 4096-ptr_max
PARAM_VALUE 4 permit_npca 1
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_start_radar_detection() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->dfs_update_channels_wk.timer.flags 0-4194302
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 7689721083442888704
PARAM_VALUE 4 permit_npca 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wiphy->mtx
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
TYPE_LOCK (struct wiphy)->mtx

net/wireless/nl80211.c nl80211_tdls_channel_switch() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->ops 4096-ptr_max
PARAM_VALUE 0 rdev->ops->tdls_channel_switch 1-u64max
PARAM_VALUE 0 rdev->wiphy.features 268435456-u32max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 7676884049346555904
PARAM_VALUE 3 chandef->center_freq2 0
PARAM_VALUE 3 chandef->chan 0
PARAM_VALUE 3 chandef->edmg.bw_config 0
PARAM_VALUE 3 chandef->edmg.channels 0
PARAM_VALUE 3 chandef->freq1_offset 0
PARAM_VALUE 3 chandef->npca_chan 0
PARAM_VALUE 3 chandef->npca_punctured 0
PARAM_VALUE 3 chandef->punctured 0
PARAM_VALUE 3 chandef->s1g_primary_2mhz 0
PARAM_VALUE 3 chandef->width 0
PARAM_VALUE 4 permit_npca 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BIT_INFO 0 rdev->wiphy.features 0x10000000,0xffffffff
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_tx_mgmt() -> nl80211_parse_chandef()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->ops 4096-ptr_max
PARAM_VALUE 0 rdev->ops->mgmt_tx 1-u64max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 attrs 4096-ptr_max
PARAM_VALUE 3 chandef 1179470798227980288
PARAM_VALUE 3 chandef->chan 0
PARAM_VALUE 4 permit_npca 0
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