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_put_regdom() -> reg_get_max_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->n_reg_rules 1-u32max
PARAM_VALUE 0 rd->reg_rules 4096-ptr_max
PARAM_VALUE 1 rule 4096-ptr_max
DATA_SOURCE 0 rd $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 global &rtnl_mutex

net/wireless/reg.c print_rd_rules() -> reg_get_max_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->n_reg_rules 1-u32max
PARAM_VALUE 0 rd->reg_rules 4096-ptr_max
PARAM_VALUE 1 rule 4096-ptr_max
PARAM_VALUE 1 rule->flags 2048-u32max
BUF_SIZE 0 rd (-1),32-s32max
BUF_SIZE 0 rd (-1),32-s32max
DATA_SOURCE 0 rd $0
BIT_INFO 1 rule->flags 0x800,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/wireless/reg.c reg_rule_to_chan_bw_flags() -> reg_get_max_bandwidth()

Type Parameter Key Value
PARAM_VALUE 1 rule 4096-ptr_max
PARAM_VALUE 1 rule->flags 2048-u32max
BUF_SIZE 0 rd (-1)-0,32
BUF_SIZE 0 rd (-1)-0,32
DATA_SOURCE 0 rd $0
DATA_SOURCE 1 rule $1
BIT_INFO 1 rule->flags 0x800,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/wireless/reg.c reg_rules_intersect() -> reg_get_max_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->n_reg_rules 1-128
PARAM_VALUE 0 rd->reg_rules 4096-ptr_max
PARAM_VALUE 1 rule 4096-ptr_max
PARAM_VALUE 1 rule->flags 2048-u32max
BUF_SIZE 0 rd (-1),32-s32max
BUF_SIZE 0 rd (-1),32-s32max
CAPPED_DATA 0 rd->n_reg_rules 1
DATA_SOURCE 0 rd $0
DATA_SOURCE 1 rule $2
BIT_INFO 1 rule->flags 0x800,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &reg_regdb_apply_mutex

net/wireless/reg.c reg_rules_intersect() -> reg_get_max_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->n_reg_rules 1-u32max
PARAM_VALUE 0 rd->reg_rules 4096-ptr_max
PARAM_VALUE 1 rule 4096-ptr_max
PARAM_VALUE 1 rule->flags 2048-u32max
CAPPED_DATA 0 rd->n_reg_rules 1
DATA_SOURCE 0 rd $1
DATA_SOURCE 1 rule $3
BIT_INFO 1 rule->flags 0x800,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &reg_regdb_apply_mutex