Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/qp.c create_qp_common() -> mlx4_buf_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_sq_desc_sz s32min-(-1),4-s32max
PARAM_VALUE 2 max_direct 8192
PARAM_VALUE 3 buf 4096-ptr_max
CAPPED_DATA 0 dev->caps.max_sq_desc_sz 1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_create_srq() -> mlx4_buf_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_srq_wqes s32min-(-1),1-s32max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 dev->persist->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 max_direct 8192
PARAM_VALUE 3 buf 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mlx4/cq.c mlx4_ib_alloc_cq_buf() -> mlx4_buf_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 2 max_direct 8192
PARAM_VALUE 3 buf 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cq->resize_mutex