Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/scsi/
Dscsi_common.h22 scsi_command_size(const unsigned char *cmnd) in scsi_command_size() function
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_pscsi.c977 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()
Dtarget_core_transport.c1435 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()
Dtarget_core_user.c900 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/
Dscsi_logging.c163 len = scsi_command_size(cdb); in __scsi_format_command()
/kernel/linux/linux-5.10/drivers/vhost/
Dscsi.c1096 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/
Dsbp_target.c1113 cmd_len = scsi_command_size(req->orb.command_block); in sbp_fetch_command()