Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/main.c mlx5_ib_alloc_ucontext() -> mlx5_cmd_remove_privileged_uid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->caps.hca | 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 | 0,4096-s64max |
| PARAM_VALUE | 0 | dev->priv.eq_table->ctrl_irq | 0-s64max |
| NOCHECK_CALL | |||
| 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 mlx5_ib_dealloc_ucontext() -> mlx5_cmd_remove_privileged_uid()
| 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 | 0,4096-s64max |
| PARAM_VALUE | 1 | uid | 1-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &ufile->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem |