Home
last modified time | relevance | path

Searched refs:scsi_command_size (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/include/trace/events/
Dtarget.h161 scsi_command_size(__entry->cdb) <= 16 ?
162 __entry->cdb[scsi_command_size(__entry->cdb) - 1] :
206 scsi_command_size(__entry->cdb) <= 16 ?
207 __entry->cdb[scsi_command_size(__entry->cdb) - 1] :
/Linux-v5.4/include/scsi/
Dscsi_common.h22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
/Linux-v5.4/drivers/target/
Dtarget_core_pscsi.c968 pt = kzalloc(sizeof(*pt) + scsi_command_size(cmd->t_task_cdb), GFP_KERNEL); in pscsi_execute_cmd()
975 scsi_command_size(cmd->t_task_cdb)); in pscsi_execute_cmd()
994 scsi_req(req)->cmd_len = scsi_command_size(pt->pscsi_cdb); in pscsi_execute_cmd()
Dtarget_core_transport.c1376 if (scsi_command_size(cdb) > SCSI_MAX_VARLEN_CDB_SIZE) { in target_setup_cmd_from_cdb()
1379 scsi_command_size(cdb), SCSI_MAX_VARLEN_CDB_SIZE); in target_setup_cmd_from_cdb()
1387 if (scsi_command_size(cdb) > sizeof(cmd->__t_task_cdb)) { in target_setup_cmd_from_cdb()
1388 cmd->t_task_cdb = kzalloc(scsi_command_size(cdb), in target_setup_cmd_from_cdb()
1393 scsi_command_size(cdb), in target_setup_cmd_from_cdb()
1402 memcpy(cmd->t_task_cdb, cdb, scsi_command_size(cdb)); in target_setup_cmd_from_cdb()
Dtarget_core_user.c877 round_up(scsi_command_size(se_cmd->t_task_cdb), in tcmu_cmd_get_cmd_size()
1085 memcpy((void *) mb + cdb_off, se_cmd->t_task_cdb, scsi_command_size(se_cmd->t_task_cdb)); in queue_cmd_ring()
/Linux-v5.4/drivers/scsi/
Dscsi_logging.c163 len = scsi_command_size(cdb); in __scsi_format_command()
Dscsi_lib.c320 cmd->cmd_len = scsi_command_size(cmd->cmnd); in scsi_init_cmd_errh()
/Linux-v5.4/drivers/vhost/
Dscsi.c1062 if (unlikely(scsi_command_size(cdb) > VHOST_SCSI_MAX_CDB_SIZE)) { in vhost_scsi_handle_vq()
1065 scsi_command_size(cdb), VHOST_SCSI_MAX_CDB_SIZE); in vhost_scsi_handle_vq()
/Linux-v5.4/drivers/target/sbp/
Dsbp_target.c1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()