Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/ath/ath11k/dbring.c ath11k_dbring_buffer_release_event() -> ath11k_dbring_bufs_replenish()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->idr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | buff | 4096-ptr_max |
| PARAM_VALUE | 2 | buff->paddr | 0 |
| PARAM_VALUE | 3 | id | 0-1 |
| BUF_SIZE | 1 | ring | 264 |
| DATA_SOURCE | 2 | buff | r idr_find |
| MEM_ZERO | 2 | buff->payload | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &srng->lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ab->core_lock | ||
| TYPE_LOCK | (struct hal_srng)->lock |
drivers/net/wireless/ath/ath11k/dbring.c ath11k_dbring_fill_bufs() -> ath11k_dbring_bufs_replenish()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->db_caps | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ar->ab->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ar->ab->hal.srng_list | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->num_db_cap | 1-u32max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->bufs_idr.idr_base | 0 |
| PARAM_VALUE | 1 | ring->bufs_idr.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 1 | ring->bufs_idr.idr_rt.xa_head | 0 |
| PARAM_VALUE | 1 | ring->bufs_max | 0-1 |
| PARAM_VALUE | 1 | ring->event_timeout_ms | 1 |
| PARAM_VALUE | 1 | ring->handler | 6250795474937913344,6570704211511599104 |
| PARAM_VALUE | 1 | ring->num_resp_per_event | 1-2 |
| PARAM_VALUE | 1 | ring->pdev_id | 0-255 |
| PARAM_VALUE | 1 | ring->refill_srng.cached | 1 |
| PARAM_VALUE | 1 | ring->refill_srng.ring_id | 0-171 |
| PARAM_VALUE | 1 | ring->refill_srng.size | 7 |
| PARAM_VALUE | 1 | ring->refill_srng.vaddr | 0,8-ptr_max |
| PARAM_VALUE | 1 | ring->refill_srng.vaddr_unaligned | 1-ptr_max |
| PARAM_VALUE | 2 | buff | 4096-ptr_max |
| PARAM_VALUE | 2 | buff->payload | 16,4096-ptr_max |
| PARAM_VALUE | 3 | id | 0-1 |
| BUF_SIZE | 2 | buff | 16 |
| BUF_SIZE | 2 | buff->payload | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 0 | ar->pdev_idx | 1 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | ring | $1 |
| DATA_SOURCE | 2 | buff | r _kzalloc_noprof |
| DATA_SOURCE | 3 | id | $2 |
| HARD_MAX | 1 | ring->num_resp_per_event | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| NO_OVERFLOW_SIMPLE | 0 | ar->ab->hw_params.cfr_num_stream_bufs | |
| NO_OVERFLOW_SIMPLE | 0 | ar->ab->hw_params.cfr_stream_buf_size | |
| NO_OVERFLOW_SIMPLE | 0 | ar->cfr.rfs_cfr_capture->n_subbufs | |
| NO_OVERFLOW_SIMPLE | 0 | ar->cfr.rfs_cfr_capture->subbuf_size | |
| NO_OVERFLOW_SIMPLE | 0 | ar->spectral.rfs_scan->n_subbufs | |
| NO_OVERFLOW_SIMPLE | 0 | ar->spectral.rfs_scan->subbuf_size | |
| LOCK2 | &ab->core_lock | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | &srng->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct ath11k_base)->core_lock | ||
| TYPE_LOCK | (struct hal_srng)->lock |
drivers/net/wireless/ath/ath11k/cfr.c ath11k_cfr_free_pending_dbr_events() -> ath11k_dbring_bufs_replenish()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.last_success_tstamp | 1-u64max |
| PARAM_VALUE | 0 | ar->cfr.lut | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.lut_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->cfr.lut_num | 1-u32max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 3 | id | 1 |
| DATA_SOURCE | 0 | ar | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cfr->lut_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &ab->core_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &srng->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ath11k_cfr)->lut_lock |
drivers/net/wireless/ath/ath11k/cfr.c ath11k_process_cfr_capture_event() -> ath11k_dbring_bufs_replenish()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->dev_wake | 0-4294967295 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->dev_wake.counter | s32min-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->wake_set | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->window_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->cfr.lut | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.lut_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->cfr.lut_num | 1-s32max |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.idr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 3 | id | 1 |
| CAPPED_DATA | 0 | ar->cfr.lut_num | 1 |
| DATA_SOURCE | 0 | ar | r ath11k_mac_get_ar_by_vdev_id |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cfr->lut_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &ab->core_lock | ||
| TYPE_LOCK | (struct ath11k_cfr)->lut_lock |