Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/wireless/reg.c __regulatory_set_wiphy_regd() -> reg_copy_regd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_regd | 4096-ptr_max |
| PARAM_VALUE | 0 | src_regd->n_reg_rules | 1-128 |
| BUF_SIZE | 0 | src_regd | (-1),128-s32max |
| BUF_SIZE | 0 | src_regd | (-1),128-s32max |
| CAPPED_DATA | 0 | src_regd->n_reg_rules | 1 |
| DATA_SOURCE | 0 | src_regd | $1 |
| NOSPEC | 0 | src_regd->n_reg_rules | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | src_regd->dfs_region | 0-255[u] |
| USER_DATA | 0 | src_regd->n_reg_rules | 1-128[c] |
| HALF_LOCKED2 | &mvm->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/wireless/reg.c cfg80211_save_user_regdom() -> reg_copy_regd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_regd | 4096-ptr_max |
| PARAM_VALUE | 0 | src_regd->alpha2 | 4096-ptr_max |
| BUF_SIZE | 0 | src_regd | (-1),32-s32max |
| BUF_SIZE | 0 | src_regd | (-1),32-s32max |
| DATA_SOURCE | 0 | src_regd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global ®_regdb_apply_mutex |
net/wireless/reg.c reg_process_hint_driver() -> reg_copy_regd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_regd | 0,4096-ptr_max |
| RX_PATH | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/wireless/reg.c reg_set_rd_driver() -> reg_copy_regd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_regd | 4096-ptr_max |
| PARAM_VALUE | 0 | src_regd->alpha2 | 4096-ptr_max |
| PARAM_VALUE | 0 | src_regd->n_reg_rules | 1-128 |
| BUF_SIZE | 0 | src_regd | (-1),32-s32max |
| BUF_SIZE | 0 | src_regd | (-1),32-s32max |
| CAPPED_DATA | 0 | src_regd->n_reg_rules | 1 |
| DATA_SOURCE | 0 | src_regd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &request_wiphy->mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global ®_regdb_apply_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/reg.c restore_regulatory_settings() -> reg_copy_regd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_regd | 0,4096-ptr_max,(-12) |
| RX_PATH | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/wireless/reg.c wiphy_apply_custom_regulatory() -> reg_copy_regd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src_regd | (-1),32 |
| BUF_SIZE | 0 | src_regd | (-1),32 |
| DATA_SOURCE | 0 | src_regd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | src_regd->n_reg_rules | 0-128[u] |
| HALF_LOCKED2 | &pool->lock |