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 destroy_qp_common() -> mlx4_buf_free()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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 2 buf 4096-ptr_max
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 2 buf 4096-ptr_max
CAPPED_DATA 1 size 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 buf->nbufs
NO_OVERFLOW_SIMPLE 2 buf->npages
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_destroy_srq() -> mlx4_buf_free()

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->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->next 5159360019465732096
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->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 2 buf 4096-ptr_max
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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->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 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
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 buf->nbufs
NO_OVERFLOW_SIMPLE 2 buf->npages
HALF_LOCKED2 &cq->resize_mutex

drivers/infiniband/hw/mlx4/cq.c mlx4_ib_free_cq_buf() -> mlx4_buf_free()

Type Parameter Key Value
PARAM_VALUE 2 buf 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dev->caps.cqe_size
NO_OVERFLOW_SIMPLE 2 buf->nbufs
NO_OVERFLOW_SIMPLE 2 buf->npages
HALF_LOCKED2 &cq->lock
HALF_LOCKED2 &cq->resize_mutex
HALF_LOCKED2 flags

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

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 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
CAPPED_DATA 1 size 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 size $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 buf->npages

drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_buf_alloc() -> mlx4_buf_free()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 1 size 8193-s32max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 2 buf->direct.buf 0
PARAM_VALUE 2 buf->nbufs 3-524288
PARAM_VALUE 2 buf->npages 3-524288
PARAM_VALUE 2 buf->page_list 4096-ptr_max
PARAM_VALUE 2 buf->page_shift 12
BUF_SIZE 2 buf->page_list 48-8388608
CAPPED_DATA 0 &dev->persist->pdev->dev 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 size $1
DATA_SOURCE 2 buf $3
FUZZY_MAX 1 size 8193
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 buf->nbufs

drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_free_hwq_res() -> mlx4_buf_free()

Type Parameter Key Value
PARAM_VALUE 2 buf 4096-ptr_max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 size $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 buf->npages