Home
last modified time | relevance | path

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

/linux-5.19.10/include/scsi/
Dscsi_common.h22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
/linux-5.19.10/drivers/target/
Dtarget_core_transport.c1480 if (scsi_command_size(cdb) > SCSI_MAX_VARLEN_CDB_SIZE) { in target_cmd_init_cdb()
1483 scsi_command_size(cdb), SCSI_MAX_VARLEN_CDB_SIZE); in target_cmd_init_cdb()
1492 if (scsi_command_size(cdb) > sizeof(cmd->__t_task_cdb)) { in target_cmd_init_cdb()
1493 cmd->t_task_cdb = kzalloc(scsi_command_size(cdb), gfp); in target_cmd_init_cdb()
1497 scsi_command_size(cdb), in target_cmd_init_cdb()
1506 memcpy(cmd->t_task_cdb, cdb, scsi_command_size(cdb)); in target_cmd_init_cdb()
1516 memcpy(cmd->t_task_cdb, cdb, min(scsi_command_size(cdb), in target_cmd_init_cdb()
Dtarget_core_pscsi.c959 scmd->cmd_len = scsi_command_size(cmd->t_task_cdb); in pscsi_execute_cmd()
Dtarget_core_user.c906 round_up(scsi_command_size(se_cmd->t_task_cdb), in tcmu_cmd_get_cmd_size()
1120 memcpy((void *) mb + cdb_off, se_cmd->t_task_cdb, scsi_command_size(se_cmd->t_task_cdb)); in queue_cmd_ring()
/linux-5.19.10/drivers/scsi/
Dscsi_logging.c166 len = scsi_command_size(cdb); in __scsi_format_command()
/linux-5.19.10/drivers/vhost/
Dscsi.c1076 if (unlikely(scsi_command_size(cdb) > VHOST_SCSI_MAX_CDB_SIZE)) { in vhost_scsi_handle_vq()
1079 scsi_command_size(cdb), VHOST_SCSI_MAX_CDB_SIZE); in vhost_scsi_handle_vq()
/linux-5.19.10/drivers/target/sbp/
Dsbp_target.c1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()