Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/wireless/reg.c reg_process_self_managed_hint() -> handle_band_custom()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 4096-ptr_max
PARAM_VALUE 0 wiphy->bands 4096-ptr_max
PARAM_VALUE 0 wiphy->regd 1-u64max
PARAM_VALUE 2 regd 1-u64max
DATA_SOURCE 0 wiphy $0
STR_LEN 0 wiphy->fw_version (-1),31
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &wiphy->mtx

net/wireless/reg.c wiphy_apply_custom_regulatory() -> handle_band_custom()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 4096-ptr_max
PARAM_VALUE 0 wiphy->bands 4096-ptr_max
PARAM_VALUE 0 wiphy->vendor_commands->doit 4096-ptr_max
PARAM_VALUE 0 wiphy->vendor_commands->dumpit 0
PARAM_VALUE 0 wiphy->vendor_commands->flags 2-3,5-6
PARAM_VALUE 0 wiphy->vendor_commands->info.subcmd 0-2,139-142
PARAM_VALUE 0 wiphy->vendor_commands->info.vendor_id 4120,4980,524328
PARAM_VALUE 0 wiphy->vendor_commands->maxattr 0,8
PARAM_VALUE 0 wiphy->vendor_commands->policy 35556431788687360,541353642289684480,3105322635229249536,(-61)
PARAM_VALUE 1 sband 1-u64max
BUF_SIZE 0 wiphy (-1),2464-7693280
BUF_SIZE 0 wiphy (-1),2464-7693280
BUF_SIZE 0 wiphy->addresses (-1),18
BUF_SIZE 0 wiphy->cipher_suites (-1),12,24,40,44
BUF_SIZE 0 wiphy->ht_capa_mod_mask (-1),26
BUF_SIZE 0 wiphy->iface_combinations (-1),24,48,72
BUF_SIZE 0 wiphy->iftype_ext_capab (-1),32
BUF_SIZE 0 wiphy->mgmt_stypes (-1),60
BUF_SIZE 0 wiphy->radio (-1),192
BUF_SIZE 0 wiphy->sar_capa (-1),16
BUF_SIZE 0 wiphy->vendor_commands (-1),48
BUF_SIZE 0 wiphy->vendor_events (-1),8
BUF_SIZE 0 wiphy->vht_capa_mod_mask (-1),12
BUF_SIZE 2 regd (-1),32
BUF_SIZE 2 regd (-1),32
DATA_SOURCE 0 wiphy $0
DATA_SOURCE 2 regd $1
BIT_INFO 0 wiphy->regulatory_flags 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *wiphy->cipher_suites 0-u32max
USER_DATA 2 regd->n_reg_rules 0-128[u]
NO_OVERFLOW_SIMPLE 0 wiphy->n_addresses
NO_OVERFLOW_SIMPLE 0 wiphy->n_iface_combinations
USER_PTR 0 wiphy->cipher_suites
HALF_LOCKED2 &pool->lock