Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev->caps.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 0 dev->dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->eq_table 0,4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->buf.direct.buf 0-ptr_max
PARAM_VALUE 1 buf->buf.nbufs 1,3-524288
PARAM_VALUE 1 buf->buf.npages 1-4
PARAM_VALUE 1 buf->buf.page_list 4096-ptr_max
PARAM_VALUE 1 buf->buf.page_shift s32min-44
PARAM_VALUE 1 buf->mtt.offset 0-4294967294
PARAM_VALUE 1 buf->mtt.order 0-s32max
PARAM_VALUE 1 buf->mtt.page_shift s32min-44
CAPPED_DATA 0 dev->dev->caps.num_comp_vectors 1
DATA_SOURCE 0 dev r to_mdev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dev->dev->caps.cqe_size
NO_OVERFLOW_SIMPLE 1 buf->buf.nbufs
NO_OVERFLOW_SIMPLE 1 buf->buf.npages
UNITS 2 cqe unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->dev->persist->pdev 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 0 dev r to_mdev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 0 dev r to_mdev
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cq->lock
LOCK2 flags
TYPE_LOCK (struct mlx4_ib_cq)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev->caps.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 0 dev->dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 buf 7940350641377181696
PARAM_VALUE 2 cqe s32min-(-1),1-s32max
DATA_SOURCE 0 dev r to_mdev
NOCHECK_CALL
LOCK2 &cq->resize_mutex
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct mlx4_ib_cq)->resize_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev->caps.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 0 dev->dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->buf.direct.buf 0-ptr_max
PARAM_VALUE 1 buf->buf.nbufs 1,3-524288
PARAM_VALUE 1 buf->buf.npages 1-4
PARAM_VALUE 1 buf->buf.page_list 4096-ptr_max
PARAM_VALUE 1 buf->buf.page_shift s32min-44
PARAM_VALUE 1 buf->mtt.offset 0-4294967294
PARAM_VALUE 1 buf->mtt.order 0-s32max
PARAM_VALUE 1 buf->mtt.page_shift s32min-44
PARAM_VALUE 2 cqe (-1)-s32max
DATA_SOURCE 0 dev r to_mdev
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 buf->buf.nbufs
NO_OVERFLOW_SIMPLE 1 buf->buf.npages
UNITS 2 cqe unit_byte
LOCK2 &cq->resize_mutex
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct mlx4_ib_cq)->resize_mutex