Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/infiniband/hw/mlx5/devx.c, line 187 (as a function)
- drivers/infiniband/hw/mlx5/devx.h, line 38 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/main.c mlx5_ib_alloc_ucontext() -> mlx5_ib_devx_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ib_active | 1 |
| PARAM_VALUE | 0 | dev->mdev->caps.hca | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->mdev->pdev->bus->self->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 0 | dev->mdev->priv.eq_table->ctrl_irq | 0-s64max |
| DATA_SOURCE | 0 | dev | r to_mdev |
| NOCHECK_CALL | |||
| 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 mlx5_ib_dealloc_ucontext() -> mlx5_ib_devx_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->mdev->pdev->bus->self->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 1 | uid | 1-u16max |
| DATA_SOURCE | 0 | dev | r to_mdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ufile->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_devx_cleanup() -> mlx5_ib_devx_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa.xa_head | 0 |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->devx_event_table.event_xa_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->devx_whitelist_uid | 1-u16max |
| PARAM_VALUE | 0 | dev->mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | uid | 1-u16max |
| CAPPED_DATA | 0 | &dev->devx_event_table.event_xa_lock | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL |