Searched refs:scsi_command_size (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/include/trace/events/ |
D | target.h | 161 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/ |
D | scsi_common.h | 22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
|
/Linux-v5.4/drivers/target/ |
D | target_core_pscsi.c | 968 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()
|
D | target_core_transport.c | 1376 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()
|
D | target_core_user.c | 877 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/ |
D | scsi_logging.c | 163 len = scsi_command_size(cdb); in __scsi_format_command()
|
D | scsi_lib.c | 320 cmd->cmd_len = scsi_command_size(cmd->cmnd); in scsi_init_cmd_errh()
|
/Linux-v5.4/drivers/vhost/ |
D | scsi.c | 1062 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/ |
D | sbp_target.c | 1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()
|