Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/cmd.c cb_timeout_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
PARAM_VALUE 0 ent->ret (-110)
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd_work_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
PARAM_VALUE 0 ent->callback 1-u64max
PARAM_VALUE 0 ent->cmd->vars.sem.count 0
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 ent->cmd->vars.sem.lock.dep_map->name 0-255
PARAM_VALUE 0 ent->cmd->vars.sem.lock.owner (-1)
PARAM_VALUE 0 ent->cmd->vars.sem.lock.owner_cpu u32max
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->list.next 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->head.prev 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->head.prev->next 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ent->out 4096-ptr_max
PARAM_VALUE 0 ent->page_queue 0
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
CAPPED_DATA 0 ent->in 1
CAPPED_DATA 0 ent->out 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd_work_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
PARAM_VALUE 0 ent->callback 1-u64max
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->vars.max_reg_cmds s32min-64
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter 4096-ptr_max
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 ent->cmd->vars.sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 ent->cmd->vars.sem.lock.dep_map->name 0-255
PARAM_VALUE 0 ent->cmd->vars.sem.lock.owner (-1)
PARAM_VALUE 0 ent->cmd->vars.sem.lock.owner_cpu u32max
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->list.next 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->head.prev 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->head.prev->next 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ent->in->parent->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ent->out 4096-ptr_max
PARAM_VALUE 0 ent->page_queue 0
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
CAPPED_DATA 0 ent->in 1
CAPPED_DATA 0 ent->out 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cmd->vars.sem
TYPE_LOCK (struct mlx5_cmd)->vars.sem

drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_comp_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_comp_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
PARAM_VALUE 0 ent->callback 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_comp_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_comp_handler() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
PARAM_VALUE 0 ent->callback 1-u64max
PARAM_VALUE 0 ent->in 4096-ptr_max
PARAM_VALUE 0 ent->in->list.next 4096-ptr_max
PARAM_VALUE 0 ent->lay 4096-ptr_max
PARAM_VALUE 0 ent->out 4096-ptr_max
CAPPED_DATA 0 ent->in 1
CAPPED_DATA 0 ent->out 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_invoke() -> cmd_ent_put()

Type Parameter Key Value
PARAM_VALUE 0 ent 4096-ptr_max
PARAM_VALUE 0 ent->cmd 4096-ptr_max
PARAM_VALUE 0 ent->cmd->state 1
PARAM_VALUE 0 ent->cmd->token 1-255
PARAM_VALUE 0 ent->context 0,4096-ptr_max
PARAM_VALUE 0 ent->handling.done 0
PARAM_VALUE 0 ent->handling.wait.lock.magic 3735899821
PARAM_VALUE 0 ent->handling.wait.lock.owner (-1)
PARAM_VALUE 0 ent->handling.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ent->handling.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ent->handling.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ent->handling.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ent->handling.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ent->handling.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ent->idx (-22)
PARAM_VALUE 0 ent->in 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->page_queue 0-1
PARAM_VALUE 0 ent->refcnt.refs.counter 1
PARAM_VALUE 0 ent->slotted.done 0
PARAM_VALUE 0 ent->slotted.wait.lock.magic 3735899821
PARAM_VALUE 0 ent->slotted.wait.lock.owner (-1)
PARAM_VALUE 0 ent->slotted.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ent->slotted.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ent->slotted.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ent->slotted.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ent->slotted.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ent->slotted.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ent->token 1-255
BUF_SIZE 0 ent 672
BUF_SIZE 0 ent->cmd 1640
BUF_SIZE 0 ent->in (-1),56
BUF_SIZE 0 ent->out 56
BUF_SIZE 0 ent->uout (-1)-2097152
CAPPED_DATA 0 ent->cmd->allowed_opcode 1
CAPPED_DATA 0 ent->in->len 1
CAPPED_DATA 0 &ent->work 1
DATA_SOURCE 0 ent r cmd_alloc_ent
NOSPEC 0 ent->in->len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ent->cmd->vars.log_stride 0-15
HOST_DATA 0 ent->cmd->vars.log_sz 0-15[c]
USER_DATA 0 ent->in->len 17-2097152[c]
USER_DATA 0 ent->out->len 17-2097152[c]
USER_DATA 0 ent->page_queue 0-1
USER_DATA 0 ent->uout_size 17-2097152[c]
USER_DATA 0 *ent->uout s64min-s64max
NO_OVERFLOW_SIMPLE 0 ent->in->len
NO_OVERFLOW_SIMPLE 0 ent->out->len
NO_OVERFLOW_SIMPLE 0 ent->uout_size
USER_PTR 0 ent->uout
HALF_LOCKED2 &dev->cmd.vars.throttle_sem
HALF_LOCKED2 &dev->cmd.vars.unprivileged_sem
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_trigger_completions() -> cmd_ent_put()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cmd->vars.sem
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &pool->lock