Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/wireless/intel/iwlwifi/mvm/coex.c, line 187
- drivers/net/wireless/intel/iwlwifi/mvm/d3.c, line 2403
- drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c, line 227
- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c, line 1531
- drivers/net/wireless/intel/iwlwifi/mvm/sta.c, line 568
- drivers/net/wireless/intel/iwlwifi/mvm/tt.c, line 349
Smatch caller information:
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_mac_params_read() -> iwl_mvm_sta_from_staid_protected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvm | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mvm->tcm.result.load | 4096-ptr_max |
| PARAM_VALUE | 1 | sta_id | 0-254 |
| CAPPED_DATA | 0 | &mvm->mutex | 1 |
| LOCK2 | 0 | &mvm->mutex | |
| TYPE_LOCK | (struct iwl_mvm)->mutex |
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_post_channel_switch() -> iwl_mvm_sta_from_staid_protected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvm->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &mvm->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &mvm->mutex | |
| TYPE_LOCK | (struct iwl_mvm)->mutex |
drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_free_inactive_queue() -> iwl_mvm_sta_from_staid_protected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvm | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fw->ucode_capa._capa | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->queue_info | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | mvm->trans->dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | mvm->trans->dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->max_tfd_queue_size | 256,65536 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->min_txq_size | 0,128 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dram_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dram_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_smem_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_smem_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| DATA_SOURCE | 0 | mvm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mvm->trans->info.num_rxqs | |
| LOCK2 | 0 | &mvm->mutex | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct iwl_mvm)->mutex |
drivers/net/wireless/intel/iwlwifi/mvm/tt.c iwl_mvm_tt_tx_protection() -> iwl_mvm_sta_from_staid_protected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvm | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fw | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fw->ucode_capa.num_stations | 1-u32max |
| PARAM_VALUE | 0 | mvm->fwrt.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | mvm->fwrt.trans->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | mvm->fwrt.trans->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892 |
| PARAM_VALUE | 0 | mvm->temperature | (-100)-s32max |
| PARAM_VALUE | 0 | mvm->thermal_throttle.params.support_tx_protection | 1 |
| BUF_SIZE | 0 | mvm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mvm | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | sta_id | 1 |
| DATA_SOURCE | 0 | mvm | $0 |
| PARAM_COMPARE | 1 | sta_id | < $0->fw->ucode_capa.num_stations |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mvm->temperature | (-100)-200 |
| HALF_LOCKED2 | 0 | &mvm->mutex |
drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_mvm_bt_coex_reduced_txp() -> iwl_mvm_sta_from_staid_protected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvm | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->device_family | 0-18 |
| DATA_SOURCE | 0 | mvm | $0 |
| DATA_SOURCE | 1 | sta_id | $1 |
| HARD_MAX | 0 | mvm->trans->mac_cfg->device_family | 18 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mvm | unit_byte |
| HALF_LOCKED2 | &mvm->mutex |
drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_query_wakeup_reasons() -> iwl_mvm_sta_from_staid_protected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvm | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fw | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fw->ucode_capa._capa | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fwrt.fw->ucode_capa._capa | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fwrt.trans | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->d3_debug_data_length | 0,61440,94208 |
| PARAM_VALUE | 0 | mvm->fwrt.trans->mac_cfg->base->ucode_api_min | 0,30,77,89,1102 |
| PARAM_VALUE | 0 | mvm->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvm->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mvm->net_detect | 0 |
| PARAM_VALUE | 0 | mvm->nvm_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->cfg->nvm_type | 0-2 |
| PARAM_VALUE | 0 | mvm->trans->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->trans->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->trans->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | mvm->trans->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | mvm->trans->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dram_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_dram_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_smem_regs.cur_frag.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->mac_cfg->base->mon_smem_regs.write_ptr.addr | 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876 |
| PARAM_VALUE | 0 | mvm->trans->op_mode->op_mode_specific->fwrt.dump.umac_err_id | 0-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->op_mode->op_mode_specific->low_latency.work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->restart.wk->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->restart.wk.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->restart.wk.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->restart.wk.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->alloc_page->_refcount.counter | 1 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->alloc_page_used | 0-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->irq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->napi_dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->napi_dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->napi_dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->napi_dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->rxq | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->rxq->free_count | 0-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->rxq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->rxq->need_update | 0-1 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->rxq->write | 0-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->rxq->write_actual | 0,8-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->scd_base_addr | 0-4294967295 |
| PARAM_VALUE | 0 | mvm->trans->trans_specific->use_ict | 1 |
| PARAM_VALUE | 0 | *mvm->scan_uid_status | 0-4294967295 |
| PARAM_VALUE | 0 | *mvm->trans->trans_specific->base_rb_stts | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mvm->trans->trans_specific->ict_tbl | 0-4294967295 |
| PARAM_VALUE | 0 | *mvm->trans->trans_specific->napi_dev->name | 0-255 |
| DATA_SOURCE | 0 | mvm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mvm->trans->info.num_rxqs | |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &mvm->mutex | |
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| TYPE_LOCK | (struct iwl_mvm)->mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |