Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c mt76x02_tx_prepare_skb() -> mt76x02_mac_wcid_set_drop()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 idx 0-127
PARAM_VALUE 2 drop 0
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->ps_lock
HALF_LOCKED2 &q->lock
HALF_LOCKED2 bh

drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_sta_add() -> mt76x02_mac_wcid_set_drop()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76->usb->data 0-255
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->wr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pcr->pci->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 idx 0-127
PARAM_VALUE 2 drop 0
CAPPED_DATA 1 idx 1
DATA_SOURCE 1 idx r mt76_wcid_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mdev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_sta_ps() -> mt76x02_mac_wcid_set_drop()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 2 drop $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_sta_remove() -> mt76x02_mac_wcid_set_drop()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 drop 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex