Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd_work_handler() -> cmd_ent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ent | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->callback | 1-u64max |
| PARAM_VALUE | 0 | ent->cb_timeout_work.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->cmd->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->cmd->ent_arr | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ent->cmd->vars.sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | ent->handling.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->handling.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ent->handling.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ent->in | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->in->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ent->in->next->buf->ctrl_sig | 0-255 |
| PARAM_VALUE | 0 | ent->in->next->buf->sig | 0-255 |
| PARAM_VALUE | 0 | ent->lay | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->out | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->out->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ent->out->next->buf->ctrl_sig | 0-255 |
| PARAM_VALUE | 0 | ent->out->next->buf->sig | 0-255 |
| PARAM_VALUE | 0 | ent->slotted.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->slotted.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ent->slotted.wait.lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cmd->vars.pages_sem | ||
| HALF_LOCKED2 | &cmd->vars.sem |
drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd_work_handler() -> cmd_ent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ent | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->cmd->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->cmd->ent_arr | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | ent->cmd->vars.pages_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ent->cmd->vars.sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | ent->handling.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->handling.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ent->handling.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ent->in | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->in->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ent->in->next->buf->ctrl_sig | 0-255 |
| PARAM_VALUE | 0 | ent->in->next->buf->sig | 0-255 |
| PARAM_VALUE | 0 | ent->lay | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->out | 4096-ptr_max |
| PARAM_VALUE | 0 | ent->out->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ent->out->next->buf->ctrl_sig | 0-255 |
| PARAM_VALUE | 0 | ent->out->next->buf->sig | 0-255 |
| PARAM_VALUE | 0 | ent->slotted.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ent->slotted.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ent->slotted.wait.lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cmd->vars.pages_sem | ||
| HALF_LOCKED2 | &cmd->vars.sem |
drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_trigger_completions() -> cmd_ent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->cmd.alloc_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cmd->vars.sem | ||
| HALF_LOCKED2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlx5_cmd)->alloc_lock |