Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/main.c alloc_uar_entry() -> mlx5_cmd_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 1 uarn 4601310692167753728
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/main.c allocate_uars() -> mlx5_cmd_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->priv.eq_table->ctrl_irq 0-s64max
PARAM_VALUE 1 uarn 4096-ptr_max
UNITS 0 dev unit_byte
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/mlx5/main.c uar_mmap() -> mlx5_cmd_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cmd.pool->size 0-4294967295
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 dev->priv.eq_table->curr_comp_eqs s32min-s32max
PARAM_VALUE 0 dev->priv.eq_table->max_comp_eqs s32min-s32max
PARAM_VALUE 0 dev->wc_state 2
PARAM_VALUE 1 uarn 6770783654758752256
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 &file->device->disassociate_srcu
LOCK2 &file->disassociation_lock
HALF_LOCKED2 &ipcp->lock
TYPE_LOCK (struct ib_uverbs_device)->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_file)->disassociation_lock