Searched refs:cdb_len (Results 1 – 6 of 6) sorted by relevance
/qemu/contrib/vhost-user-scsi/ |
H A D | vhost-user-scsi.c | 92 static struct scsi_task *scsi_task_new(int cdb_len, uint8_t *cdb, int dir, in scsi_task_new() argument 97 assert(cdb_len > 0); in scsi_task_new() 101 memcpy(task->cdb, cdb, cdb_len); in scsi_task_new() 102 task->cdb_size = cdb_len; in scsi_task_new() 133 int cdb_len; in handle_cmd_sync() local 155 cdb_len = get_cdb_len(req->cdb); in handle_cmd_sync() 156 if (cdb_len == -1) { in handle_cmd_sync() 175 task = scsi_task_new(cdb_len, req->cdb, dir, len); in handle_cmd_sync() 186 cdb_len, dir, task); in handle_cmd_sync()
|
/qemu/scsi/ |
H A D | utils.c | 73 int cdb_len; in scsi_cdb_length() local 77 cdb_len = 6; in scsi_cdb_length() 81 cdb_len = 10; in scsi_cdb_length() 84 cdb_len = 16; in scsi_cdb_length() 87 cdb_len = 12; in scsi_cdb_length() 90 cdb_len = -1; in scsi_cdb_length() 92 return cdb_len; in scsi_cdb_length()
|
/qemu/hw/scsi/ |
H A D | megasas.c | 1706 int target_id, lun_id, cdb_len; in megasas_handle_scsi() local 1714 cdb_len = cmd->frame->header.cdb_len; in megasas_handle_scsi() 1735 if (cdb_len > 16) { in megasas_handle_scsi() 1738 target_id, lun_id, cdb_len); in megasas_handle_scsi() 1752 cmd->req = scsi_req_new(sdev, cmd->index, lun_id, cdb, cdb_len, cmd); in megasas_handle_scsi() 1784 int target_id, lun_id, cdb_len; in megasas_handle_io() local 1793 cdb_len = cmd->frame->header.cdb_len; in megasas_handle_io() 1808 if (cdb_len > 16) { in megasas_handle_io() 1810 mfi_frame_desc(frame_cmd), 1, target_id, lun_id, cdb_len); in megasas_handle_io() 1827 lun_id, cdb, cdb_len, cmd); in megasas_handle_io()
|
H A D | mfi.h | 481 uint8_t cdb_len; member 896 uint8_t cdb_len; member
|
H A D | spapr_vscsi.c | 786 size_t cdb_len = sizeof (srp->cmd.cdb) + (srp->cmd.add_cdb_len & ~3); in vscsi_queue_cmd() local 805 req->sreq = scsi_req_new(sdev, req->qtag, lun, srp->cmd.cdb, cdb_len, req); in vscsi_queue_cmd()
|
/qemu/hw/usb/ |
H A D | dev-uas.c | 702 size_t cdb_len = sizeof(iu->command.cdb) + iu->command.add_cdb_length; in usb_uas_command() local 733 iu->command.cdb, cdb_len, req); in usb_uas_command()
|