Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mthca/mthca_provider.c mthca_alloc_resize_buf() -> mthca_alloc_cq_buf()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->limits.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 nent $2
NOSPEC 2 nent
UNITS 2 nent unit_byte
LOCK2 &cq->mutex
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct mthca_cq)->mutex

drivers/infiniband/hw/mthca/mthca_cq.c mthca_init_cq() -> mthca_alloc_cq_buf()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cmd.event_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.poll_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->cmd.pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->size 0-s32max
PARAM_VALUE 0 dev->cq_table.alloc.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 nent 2-4
CAPPED_DATA 0 dev->cmd.pool->size 1
CAPPED_DATA 0 dev->cq_table.alloc.max 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 nent $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 buf->mr.ibmr.lkey 0-u32max
UNITS 2 nent unit_byte