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_dealloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cmd.alloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.state 1
PARAM_VALUE 0 dev->cmd.token 1-255
PARAM_VALUE 0 dev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->pdev 4096-ptr_max
PARAM_VALUE 0 dev->pdev->error_state 1
PARAM_VALUE 1 uarn 0-16777215
NOCHECK_CALL
UNITS 0 dev unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cmd.alloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.state 1
PARAM_VALUE 0 dev->cmd.token 1-255
PARAM_VALUE 0 dev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->pdev 4096-ptr_max
PARAM_VALUE 0 dev->pdev->error_state 1
PARAM_VALUE 0 dev->priv.eq_table->ctrl_irq 0-s64max
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 deallocate_uars() -> mlx5_cmd_uar_dealloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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,4096-s64max
PARAM_VALUE 0 dev->priv.eq_table->ctrl_irq 0-s64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem

drivers/infiniband/hw/mlx5/main.c mlx5_ib_mmap_free() -> mlx5_cmd_uar_dealloc()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cmd.alloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->size 0-4294967295
PARAM_VALUE 0 dev->cmd.state 1
PARAM_VALUE 0 dev->cmd.token 1-255
PARAM_VALUE 0 dev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->pdev 4096-ptr_max
PARAM_VALUE 0 dev->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 dev->pdev->error_state 1
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 0-16777215
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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