Searched refs:scsi_command_size (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/include/scsi/ |
D | scsi_common.h | 22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_pscsi.c | 977 pt = kzalloc(sizeof(*pt) + scsi_command_size(cmd->t_task_cdb), GFP_KERNEL); in pscsi_execute_cmd() 984 scsi_command_size(cmd->t_task_cdb)); in pscsi_execute_cmd() 1003 scsi_req(req)->cmd_len = scsi_command_size(pt->pscsi_cdb); in pscsi_execute_cmd()
|
D | target_core_transport.c | 1435 if (scsi_command_size(cdb) > SCSI_MAX_VARLEN_CDB_SIZE) { in target_cmd_init_cdb() 1438 scsi_command_size(cdb), SCSI_MAX_VARLEN_CDB_SIZE); in target_cmd_init_cdb() 1447 if (scsi_command_size(cdb) > sizeof(cmd->__t_task_cdb)) { in target_cmd_init_cdb() 1448 cmd->t_task_cdb = kzalloc(scsi_command_size(cdb), in target_cmd_init_cdb() 1453 scsi_command_size(cdb), in target_cmd_init_cdb() 1462 memcpy(cmd->t_task_cdb, cdb, scsi_command_size(cdb)); in target_cmd_init_cdb() 1472 memcpy(cmd->t_task_cdb, cdb, min(scsi_command_size(cdb), in target_cmd_init_cdb()
|
D | target_core_user.c | 900 round_up(scsi_command_size(se_cmd->t_task_cdb), in tcmu_cmd_get_cmd_size() 1094 memcpy((void *) mb + cdb_off, se_cmd->t_task_cdb, scsi_command_size(se_cmd->t_task_cdb)); in queue_cmd_ring()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_logging.c | 163 len = scsi_command_size(cdb); in __scsi_format_command()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | scsi.c | 1096 if (unlikely(scsi_command_size(cdb) > VHOST_SCSI_MAX_CDB_SIZE)) { in vhost_scsi_handle_vq() 1099 scsi_command_size(cdb), VHOST_SCSI_MAX_CDB_SIZE); in vhost_scsi_handle_vq()
|
/kernel/linux/linux-5.10/drivers/target/sbp/ |
D | sbp_target.c | 1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()
|