Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/scsi/
A Dscsi_common.h22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
/linux-6.3-rc2/drivers/target/
A 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()
A Dtarget_core_pscsi.c957 scmd->cmd_len = scsi_command_size(cmd->t_task_cdb); in pscsi_execute_cmd()
A Dtarget_core_user.c907 round_up(scsi_command_size(se_cmd->t_task_cdb), in tcmu_cmd_get_cmd_size()
1121 memcpy((void *) mb + cdb_off, se_cmd->t_task_cdb, scsi_command_size(se_cmd->t_task_cdb)); in queue_cmd_ring()
/linux-6.3-rc2/drivers/scsi/
A Dscsi_logging.c166 len = scsi_command_size(cdb); in __scsi_format_command()
/linux-6.3-rc2/drivers/vhost/
A Dscsi.c1082 if (unlikely(scsi_command_size(cdb) > VHOST_SCSI_MAX_CDB_SIZE)) { in vhost_scsi_handle_vq()
1085 scsi_command_size(cdb), VHOST_SCSI_MAX_CDB_SIZE); in vhost_scsi_handle_vq()
/linux-6.3-rc2/drivers/target/sbp/
A Dsbp_target.c1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()

Completed in 28 milliseconds