Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_monitor_vdev_is_allowed() -> ath10k_mac_num_chanctxs()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hif.ops->resume 0,4096-ptr_max
PARAM_VALUE 0 ar->hif.ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 ar->hw_ce_regs->upd 0,4096-ptr_max
PARAM_VALUE 0 ar->wmi.cmd->pdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_create_cmdid 20481,36880-36881,36883
PARAM_VALUE 0 ar->wmi.cmd->vdev_delete_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_install_key_cmdid 20489,36890-36891,36893
PARAM_VALUE 0 ar->wmi.cmd->vdev_restart_request_cmdid 20484,36883-36884,36886
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.pdev_param->beacon_tx_mode 7
PARAM_VALUE 0 ar->wmi.vdev_param->beacon_interval 3
PARAM_VALUE 0 ar->wmi.vdev_param->dtim_period 13
PARAM_VALUE 0 ar->wmi.vdev_param->preamble 8
PARAM_VALUE 0 ar->wmi.vdev_param->rtt_responder_role 0,86
PARAM_VALUE 0 ar->wmi.vdev_param->slot_time 7
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_monitor_vdev_is_needed() -> ath10k_mac_num_chanctxs()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hif.ops->resume 0,4096-ptr_max
PARAM_VALUE 0 ar->hif.ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 ar->hw_ce_regs->upd 0,4096-ptr_max
PARAM_VALUE 0 ar->wmi.cmd->pdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_create_cmdid 20481,36880-36881,36883
PARAM_VALUE 0 ar->wmi.cmd->vdev_delete_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_install_key_cmdid 20489,36890-36891,36893
PARAM_VALUE 0 ar->wmi.cmd->vdev_restart_request_cmdid 20484,36883-36884,36886
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.pdev_param->beacon_tx_mode 7
PARAM_VALUE 0 ar->wmi.vdev_param->beacon_interval 3
PARAM_VALUE 0 ar->wmi.vdev_param->dtim_period 13
PARAM_VALUE 0 ar->wmi.vdev_param->preamble 8
PARAM_VALUE 0 ar->wmi.vdev_param->rtt_responder_role 0,86
PARAM_VALUE 0 ar->wmi.vdev_param->slot_time 7
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_update_rx_channel() -> ath10k_mac_num_chanctxs()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 1-u32max
DATA_SOURCE 0 ar $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &ar->conf_mutex
LOCK2 0 &ar->data_lock
TYPE_LOCK (struct ath10k)->conf_mutex
TYPE_LOCK (struct ath10k)->data_lock

drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_update_rx_channel() -> ath10k_mac_num_chanctxs()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 20487,36886-36887,36889
DATA_SOURCE 0 ar $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &ar->conf_mutex
LOCK2 0 &ar->data_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath10k)->conf_mutex
TYPE_LOCK (struct ath10k)->data_lock