Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c brcmf_msgbuf_rxbuf_ctrl_post() -> brcmf_msgbuf_alloc_pktid()

Type Parameter Key Value
PARAM_VALUE 0 dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 2 skb 4096-ptr_max
PARAM_VALUE 2 skb->data_len 0
PARAM_VALUE 2 skb->priority 0
PARAM_VALUE 3 data_offset 0
PARAM_VALUE 4 physaddr 2440063589279170560
PARAM_VALUE 5 idx 8652652627747827712
BUF_SIZE 1 pktids (-1),24
BUF_SIZE 1 pktids (-1),24
BUF_SIZE 2 skb (-1)-s32max
BUF_SIZE 2 skb (-1)-s32max
DATA_SOURCE 2 skb r brcmu_pkt_buf_get_skb
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 pktids->array_size
LOCK2 &commonring->lock
LOCK2 flags
TYPE_LOCK (struct brcmf_commonring)->lock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c brcmf_msgbuf_rxbuf_data_post() -> brcmf_msgbuf_alloc_pktid()

Type Parameter Key Value
PARAM_VALUE 0 dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 skb 4096-ptr_max
PARAM_VALUE 2 skb->data_len 0
PARAM_VALUE 2 skb->priority 0
PARAM_VALUE 3 data_offset 0
PARAM_VALUE 4 physaddr 1482610815980019712
PARAM_VALUE 5 idx 6519819068354924544
BUF_SIZE 1 pktids (-1),24
BUF_SIZE 1 pktids (-1),24
BUF_SIZE 2 skb (-1)-s32max
BUF_SIZE 2 skb (-1)-s32max
DATA_SOURCE 2 skb r brcmu_pkt_buf_get_skb
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 pktids->array_size

drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c brcmf_msgbuf_txflow() -> brcmf_msgbuf_alloc_pktid()

Type Parameter Key Value
PARAM_VALUE 2 skb 4096-ptr_max
PARAM_VALUE 2 skb->destructor 0
PARAM_VALUE 2 skb->next 0
PARAM_VALUE 2 skb->prev 0
PARAM_VALUE 2 skb->sk 0
PARAM_VALUE 3 data_offset 14
PARAM_VALUE 4 physaddr 1691841111396462592
PARAM_VALUE 5 idx 3549375542464466944
DATA_SOURCE 2 skb r brcmf_flowring_dequeue
PREEMPT_ADD <- disables preempt
LOCK2 &commonring->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct brcmf_commonring)->lock