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_req_set_reg() -> regulatory_hint_user()

Type Parameter Key Value
PARAM_VALUE 0 alpha2 4096-ptr_max
PARAM_VALUE 1 user_reg_hint_type 0-1
DATA_SOURCE 0 alpha2 r nla_data
DATA_SOURCE 1 user_reg_hint_type r nla_get_u32_default
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *alpha2 0-255
USER_PTR 0 alpha2
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/reg.c regulatory_init_db() -> regulatory_hint_user()

Type Parameter Key Value
PARAM_VALUE 0 alpha2 0,4096-ptr_max
PARAM_VALUE 1 user_reg_hint_type 0
BUF_SIZE 0 alpha2 3
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 alpha2 7668546700105060352
PARAM_VALUE 1 user_reg_hint_type 0
BUF_SIZE 0 alpha2 2
RX_PATH
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 alpha2 7668546700105060352
PARAM_VALUE 1 user_reg_hint_type 0
BUF_SIZE 0 alpha2 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock