Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/wireless/nl80211.c nl80211_set_reg() -> set_regdom()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->alpha2 4096-ptr_max
PARAM_VALUE 0 rd->n_reg_rules 0-128
PARAM_VALUE 1 regd_src 1
BUF_SIZE 0 rd 32-12320
BUF_SIZE 0 rd 32-12320
DATA_SOURCE 0 rd r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
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 &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/wireless/reg.c reg_regdb_apply() -> set_regdom()

Type Parameter Key Value
PARAM_VALUE 1 regd_src 0
NOCHECK_CALL
LOCK2 global &reg_regdb_apply_mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

net/wireless/reg.c restore_regulatory_settings() -> set_regdom()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max,(-12)
PARAM_VALUE 0 rd->reg_rules 4096-ptr_max
PARAM_VALUE 1 regd_src 2
BUF_SIZE 0 rd (-1),32-s32max
RX_PATH
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock