Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/wireless/chan.c _cfg80211_reg_can_beacon() -> _cfg80211_chandef_usable()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 1-u64max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 2 prohibited_flags 1
PARAM_VALUE 3 permitting_flags 0
DATA_SOURCE 0 wiphy $0
DATA_SOURCE 1 chandef $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &wiphy->mtx

net/wireless/chan.c _cfg80211_reg_can_beacon() -> _cfg80211_chandef_usable()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 1-u64max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 1 chandef->edmg.bw_config 0,4-15
PARAM_VALUE 1 chandef->freq1_offset 0-999
PARAM_VALUE 1 chandef->width 0-5,8-13
PARAM_VALUE 2 prohibited_flags 8
PARAM_VALUE 3 permitting_flags 0
DATA_SOURCE 0 wiphy $0
DATA_SOURCE 1 chandef $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &wiphy->mtx

net/wireless/chan.c _cfg80211_reg_can_beacon() -> _cfg80211_chandef_usable()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 1-u64max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 1 chandef->edmg.bw_config 0,4-15
PARAM_VALUE 1 chandef->freq1_offset 0-999
PARAM_VALUE 1 chandef->width 0-5,8-13
PARAM_VALUE 2 prohibited_flags 0,2
PARAM_VALUE 3 permitting_flags 0,33554432,67108864,100663296
DATA_SOURCE 0 wiphy $0
DATA_SOURCE 1 chandef $1
DATA_SOURCE 2 prohibited_flags $3 [m]
DATA_SOURCE 3 permitting_flags $4
FUZZY_MAX 2 prohibited_flags 2
FUZZY_MAX 3 permitting_flags 0
BIT_INFO 2 prohibited_flags 0x0,0x2
BIT_INFO 3 permitting_flags 0x0,0x6000000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &wiphy->mtx

net/wireless/chan.c cfg80211_chandef_usable() -> _cfg80211_chandef_usable()

Type Parameter Key Value
PARAM_VALUE 1 chandef 1-u64max
PARAM_VALUE 2 prohibited_flags 1,8192,262144,1048576
PARAM_VALUE 3 permitting_flags 0
BUF_SIZE 1 chandef (-1),48
BUF_SIZE 1 chandef (-1),48
DATA_SOURCE 0 wiphy $0
DATA_SOURCE 1 chandef $1
DATA_SOURCE 2 prohibited_flags $2
HARD_MAX 2 prohibited_flags 1048576
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &wiphy->mtx

net/wireless/nl80211.c _nl80211_parse_chandef() -> _cfg80211_chandef_usable()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 4096-ptr_max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 1 chandef->edmg.bw_config 0,4-15
PARAM_VALUE 1 chandef->freq1_offset 0-999
PARAM_VALUE 1 chandef->npca_chan 0,4096-ptr_max
PARAM_VALUE 1 chandef->width 0-5,8-13
PARAM_VALUE 2 prohibited_flags 1
PARAM_VALUE 3 permitting_flags 0,16777216
DATA_SOURCE 1 chandef $4
FUZZY_MAX 1 chandef->edmg.bw_config 0
FUZZY_MAX 1 chandef->width 8
FUZZY_MAX 3 permitting_flags 16777216
BIT_INFO 3 permitting_flags 0x0,0x1000000
HARD_MAX 3 permitting_flags 16777216
MEM_ZERO 1 chandef
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 &rx_queue_mutex
HALF_LOCKED2 rcu_read