Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

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

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 0 dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 1 mtt 4096-ptr_max
PARAM_VALUE 1 mtt->offset 0-4294967294
PARAM_VALUE 1 mtt->order 0-s32max
PARAM_VALUE 1 mtt->page_shift s32min-44
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 2 buf->direct.buf 0-ptr_max
PARAM_VALUE 2 buf->nbufs 1,3-524288
PARAM_VALUE 2 buf->npages 1-4
PARAM_VALUE 2 buf->page_shift s32min-44
CAPPED_DATA 0 dev->caps.max_sq_desc_sz 1
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 buf->nbufs

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

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->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
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 1 mtt 4096-ptr_max
PARAM_VALUE 1 mtt->offset 0-4294967294
PARAM_VALUE 1 mtt->order 0-s32max
PARAM_VALUE 1 mtt->page_shift s32min-44
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 2 buf->direct.buf 0-ptr_max
PARAM_VALUE 2 buf->nbufs 1,3-524288
PARAM_VALUE 2 buf->npages 1-4
PARAM_VALUE 2 buf->page_shift s32min-44
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 buf->nbufs
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 0 dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 1 mtt 4096-ptr_max
PARAM_VALUE 1 mtt->offset 0-4294967294
PARAM_VALUE 1 mtt->order 0-s32max
PARAM_VALUE 1 mtt->page_shift s32min-44
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 2 buf->direct.buf 0-ptr_max
PARAM_VALUE 2 buf->nbufs 1,3-524288
PARAM_VALUE 2 buf->npages 1-4
PARAM_VALUE 2 buf->page_shift s32min-44
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 buf->nbufs
HALF_LOCKED2 &cq->resize_mutex

drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_alloc_hwq_res() -> mlx4_buf_write_mtt()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
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.iommu->attach_deferred 0-1
PARAM_VALUE 1 mtt 4096-ptr_max
PARAM_VALUE 1 mtt->offset 0-4294967294
PARAM_VALUE 1 mtt->order 0-s32max
PARAM_VALUE 1 mtt->page_shift s32min-44
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 2 buf->direct.buf 1-ptr_max
PARAM_VALUE 2 buf->nbufs 1
PARAM_VALUE 2 buf->npages 1-4
PARAM_VALUE 2 buf->page_shift s32min-44
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING