Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/amazon/ena/ena_com.c __ena_com_submit_admin_cmd() -> get_comp_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 admin_queue 4096-ptr_max
PARAM_VALUE 0 admin_queue->completion_timeout 0-65535000
PARAM_VALUE 0 admin_queue->curr_cmd_id 0-33
PARAM_VALUE 0 admin_queue->q_depth 32
PARAM_VALUE 0 admin_queue->running_state 1
PARAM_VALUE 0 admin_queue->sq.phase 0-1
PARAM_VALUE 1 command_id 0-33
PARAM_VALUE 2 capture 1
DATA_SOURCE 0 admin_queue $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &admin_queue->q_lock
TYPE_LOCK (struct ena_com_admin_queue)->q_lock

drivers/net/ethernet/amazon/ena/ena_com.c ena_com_abort_admin_commands() -> get_comp_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 admin_queue 4096-ptr_max
PARAM_VALUE 0 admin_queue->comp_ctx 1-u64max
PARAM_VALUE 0 admin_queue->completion_timeout 0-65535000
PARAM_VALUE 0 admin_queue->curr_cmd_id 0-33
PARAM_VALUE 0 admin_queue->q_depth 32
PARAM_VALUE 0 admin_queue->sq.phase 0-1
PARAM_VALUE 1 command_id 0-31
PARAM_VALUE 2 capture 0
BUF_SIZE 0 admin_queue 216
CAPPED_DATA 1 command_id 1
PARAM_COMPARE 0 admin_queue->q_depth > $1
PARAM_COMPARE 1 command_id < $0->q_depth
CONSTRAINT 1 command_id <1463
RX_PATH
TASK_NOT_RUNNING
UNITS 1 command_id unit_array_size

drivers/net/ethernet/amazon/ena/ena_com.c ena_com_handle_single_admin_completion() -> get_comp_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 admin_queue 4096-ptr_max
PARAM_VALUE 0 admin_queue->completion_timeout 0-65535000
PARAM_VALUE 0 admin_queue->cq.entries 4096-ptr_max
PARAM_VALUE 0 admin_queue->curr_cmd_id 0-31
PARAM_VALUE 0 admin_queue->ena_dev->net_device->ethtool_ops->supported_coalesce_params 0-4294967295
PARAM_VALUE 0 admin_queue->q_depth 32
PARAM_VALUE 0 admin_queue->sq.phase 0-1
PARAM_VALUE 1 command_id 0-4095
PARAM_VALUE 2 capture 0
DATA_SOURCE 0 admin_queue $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 0 &admin_queue->q_lock

drivers/net/ethernet/amazon/ena/ena_com.c ena_com_init_comp_ctxt() -> get_comp_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 admin_queue 4096-ptr_max
PARAM_VALUE 0 admin_queue->comp_ctx 1-u64max
PARAM_VALUE 0 admin_queue->completion_timeout 100000-1500000,3000000
PARAM_VALUE 0 admin_queue->curr_cmd_id 0
PARAM_VALUE 0 admin_queue->outstanding_cmds.counter 0
PARAM_VALUE 0 admin_queue->polling 0
PARAM_VALUE 0 admin_queue->q_depth 32
PARAM_VALUE 0 admin_queue->q_dmadev 4096-ptr_max
PARAM_VALUE 0 admin_queue->sq.phase 0-1
PARAM_VALUE 1 command_id 0-31
PARAM_VALUE 2 capture 0
BUF_SIZE 0 admin_queue 216
BUF_SIZE 0 admin_queue->comp_ctx 3840
BUF_SIZE 0 admin_queue->q_dmadev 1616
DATA_SOURCE 0 admin_queue $0
FUZZY_MAX 1 command_id 31
PARAM_COMPARE 0 admin_queue->q_depth > $1
PARAM_COMPARE 1 command_id < $0->q_depth
CONSTRAINT 1 command_id <1463
HARD_MAX 1 command_id 31
MEM_ZERO 0 admin_queue->comp_ctx
RX_PATH
TASK_NOT_RUNNING
UNITS 1 command_id unit_array_size
HALF_LOCKED2 &pool->lock