Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7996/dma.c mt7996_dma_reset() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
LOCK2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_alloc_queue() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->buf_size 0,448,2048,2120,2368
PARAM_VALUE 0 q->desc 1-ptr_max
PARAM_VALUE 0 q->dev 4096-ptr_max
PARAM_VALUE 0 q->dev->queue_ops 4096-ptr_max
PARAM_VALUE 0 q->entry 1-u64max
PARAM_VALUE 0 q->ndesc s32min-(-1),1-s32max
PARAM_VALUE 0 q->page_pool->p.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 q->wed 0,4096-ptr_max
BUF_SIZE 0 q (-1),264,528,792,1056,1320,1584,1848,2112,2376,2640,2904,3168,3432,3696,3960,4224,4488,4752,5016,5280,5544
BUF_SIZE 0 q (-1),264,528,792,1056,1320,1584,1848,2112,2376,2640,2904,3168,3432,3696,3960,4224,4488,4752,5016,5280,5544
BUF_SIZE 0 q->desc s32min-s32max
BUF_SIZE 0 q->entry 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 q->wed (-1)-0,9192
CAPPED_DATA 0 q 1
DATA_SOURCE 0 q $1
MEM_ZERO 0 q->entry
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 q->dev->mmio.irqmask 0-u32max[c]
HOST_DATA 0 q->dev->rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 q->dev->rxfilter 0-u32max
HOST_DATA 0 q->dev->token.idr_rt.xa_flags 0,67108864-u32max
HALF_LOCKED2 &dev->mutex

drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_dequeue() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->desc 4096-ptr_max
PARAM_VALUE 0 q->queued s32min-(-1),1-s32max
BUF_SIZE 0 q->rx_head (-1)-s32max
DATA_SOURCE 0 q $1
RX_PATH
NO_OVERFLOW_SIMPLE 0 q->rx_head->end
USER_PTR 0 q->rx_head->data
LOCK2 rcu_read

drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_process() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
DATA_SOURCE 0 q $1
BIT_INFO 0 q->flags 0x0,0xff7f
RX_PATH
LOCK2 rcu_read

drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_reset() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 q->page_pool->p.dev->dma_io_tlb_mem->can_grow 0-1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mac80211.c mt76_create_page_pool() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
BUF_SIZE 0 q (-1),264,528,792,1056,1320,1584,1848,2112,2376,2640,2904,3168,3432,3696,3960,4224,4488,4752,5016,5280,5544
BUF_SIZE 0 q (-1),264,528,792,1056,1320,1584,1848,2112,2376,2640,2904,3168,3432,3696,3960,4224,4488,4752,5016,5280,5544
BUF_SIZE 0 q->wed (-1)-0,9192
CAPPED_DATA 0 q 1
DATA_SOURCE 0 q $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 q->dev->mmio.irqmask 0-u32max[c]
HOST_DATA 0 q->dev->rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 q->dev->rxfilter 0-u32max
HOST_DATA 0 q->dev->token.idr_rt.xa_flags 0,67108864-u32max

drivers/net/wireless/mediatek/mt76/mt7915/dma.c mt7915_dma_reset() -> mt76_queue_is_wed_tx_free()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
LOCK2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex