Searched refs:scsi_command_size (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/scsi/ |
H A D | scsi_common.h | 35 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
|
/openbmc/linux/drivers/target/ |
H A D | target_core_transport.c | 1512 if (scsi_command_size(cdb) > SCSI_MAX_VARLEN_CDB_SIZE) { in target_cmd_init_cdb() 1515 scsi_command_size(cdb), SCSI_MAX_VARLEN_CDB_SIZE); in target_cmd_init_cdb() 1524 if (scsi_command_size(cdb) > sizeof(cmd->__t_task_cdb)) { in target_cmd_init_cdb() 1525 cmd->t_task_cdb = kzalloc(scsi_command_size(cdb), gfp); in target_cmd_init_cdb() 1529 scsi_command_size(cdb), in target_cmd_init_cdb() 1538 memcpy(cmd->t_task_cdb, cdb, scsi_command_size(cdb)); in target_cmd_init_cdb() 1548 memcpy(cmd->t_task_cdb, cdb, min(scsi_command_size(cdb), in target_cmd_init_cdb()
|
H A D | target_core_pscsi.c | 959 scmd->cmd_len = scsi_command_size(cmd->t_task_cdb); in pscsi_execute_cmd()
|
H A D | target_core_user.c | 907 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()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_logging.c | 166 len = scsi_command_size(cdb); in __scsi_format_command()
|
/openbmc/linux/drivers/vhost/ |
H A D | scsi.c | 1198 if (unlikely(scsi_command_size(cdb) > VHOST_SCSI_MAX_CDB_SIZE)) { in vhost_scsi_handle_vq() 1201 scsi_command_size(cdb), VHOST_SCSI_MAX_CDB_SIZE); in vhost_scsi_handle_vq()
|
/openbmc/linux/drivers/target/sbp/ |
H A D | sbp_target.c | 1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()
|