Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/target/target_core_user.c run_qfull_queue() -> queue_cmd_ring()

Type Parameter Key Value
PARAM_VALUE 0 tcmu_cmd 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->se_cmd->se_dev->caw_sem.first_waiter->up 0-1
PARAM_VALUE 1 scsi_err 2412598190440865792
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udev->cmdr_lock
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &idev->info_lock
HALF_LOCKED2 global &root_udev_mutex
TYPE_LOCK (struct tcmu_dev)->cmdr_lock

drivers/target/target_core_user.c tcmu_queue_cmd() -> queue_cmd_ring()

Type Parameter Key Value
PARAM_VALUE 0 tcmu_cmd 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->dbi 16,4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->queue_entry.next 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->queue_entry.next->next 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->queue_entry.prev 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->queue_entry.prev->next 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->queue_entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->se_cmd 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->se_cmd->execute_cmd 1-u64max
PARAM_VALUE 0 tcmu_cmd->se_cmd->se_dev 4096-ptr_max
PARAM_VALUE 0 tcmu_cmd->se_cmd->transport_state 0,2-u32max
PARAM_VALUE 0 tcmu_cmd->tcmu_dev 4096-ptr_max
PARAM_VALUE 1 scsi_err 4958232735078637568
PARAM_VALUE 1 *scsi_err 13
DATA_SOURCE 0 tcmu_cmd r tcmu_alloc_cmd
STR_LEN 0 tcmu_cmd->se_cmd (-1)
BIT_INFO 0 tcmu_cmd->se_cmd->transport_state 0x10,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tcmu_cmd->se_cmd->residual_count 1-u32max
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->dbi_cnt
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->data_length
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->reftag_seed
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->sense_info
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->t_data_nents
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->t_data_nents_orig
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->t_prot_nents
NO_OVERFLOW_SIMPLE 0 tcmu_cmd->se_cmd->t_task_lba
LOCK2 &udev->cmdr_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tcmu_dev)->cmdr_lock