Searched refs:scsi_command_size (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/include/scsi/ |
D | scsi_common.h | 22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
|
/linux-5.19.10/drivers/target/ |
D | target_core_transport.c | 1480 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()
|
D | target_core_pscsi.c | 959 scmd->cmd_len = scsi_command_size(cmd->t_task_cdb); in pscsi_execute_cmd()
|
D | target_core_user.c | 906 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/ |
D | scsi_logging.c | 166 len = scsi_command_size(cdb); in __scsi_format_command()
|
/linux-5.19.10/drivers/vhost/ |
D | scsi.c | 1076 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/ |
D | sbp_target.c | 1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()
|