Home
last modified time | relevance | path

Searched defs:cdb (Results 1 – 25 of 87) sorted by relevance

1234

/drivers/scsi/
Dscsi_trace.c11 #define SERVICE_ACTION16(cdb) (cdb[1] & 0x1f) argument
12 #define SERVICE_ACTION32(cdb) (get_unaligned_be16(&cdb[8])) argument
18 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6()
37 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10()
57 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12()
73 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16()
94 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32()
135 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap()
147 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in()
177 scsi_trace_maintenance_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_maintenance_in()
[all …]
Dscsi_debugfs.c40 const u8 *const cdb = READ_ONCE(cmd->cmnd); in scsi_show_rq() local
D3w-sas.c291 unsigned char *cdb, int use_sg, in twl_scsiop_execute_scsi()
377 unsigned char cdb[TW_MAX_CDB_LEN]; in twl_aen_read_queue() local
559 unsigned char cdb[TW_MAX_CDB_LEN]; in twl_aen_drain_queue() local
Daha1542.h96 u8 cdb[MAX_CDB+MAX_SENSE]; /* SCSI Command Descriptor Block */ member
Dscsi_logging.c155 const unsigned char *cdb, size_t cdb_len) in __scsi_format_command()
D3w-9xxx.c283 unsigned char cdb[TW_MAX_CDB_LEN]; in twa_aen_drain_queue() local
428 unsigned char cdb[TW_MAX_CDB_LEN]; in twa_aen_read_queue() local
Dhpsa.c1119 static int is_firmware_flash_cmd(u8 *cdb) in is_firmware_flash_cmd()
2917 const u8 *cdb = c->Request.CDB; in hpsa_print_cmd() local
4650 u8 *cdb, int cdb_len, in warn_zero_length_transfer()
4660 static bool is_zero_length_transfer(u8 *cdb) in is_zero_length_transfer()
4690 static int fixup_ioaccel_cdb(u8 *cdb, int *cdb_len) in fixup_ioaccel_cdb()
4736 struct CommandList *c, u32 ioaccel_handle, u8 *cdb, int cdb_len, in hpsa_scsi_ioaccel1_queue_command()
4910 struct CommandList *c, u32 ioaccel_handle, u8 *cdb, int cdb_len, in hpsa_scsi_ioaccel2_queue_command()
5049 struct CommandList *c, u32 ioaccel_handle, u8 *cdb, int cdb_len, in hpsa_scsi_ioaccel_queue_command()
5133 u8 cdb[16]; in hpsa_scsi_ioaccel_raid_map() local
/drivers/target/
Dtarget_core_sbc.c35 unsigned char *cdb = cmd->t_task_cdb; in sbc_emulate_readcapacity() local
140 unsigned char *cdb = cmd->t_task_cdb; in sbc_emulate_startstop() local
221 static inline u32 transport_get_sectors_6(unsigned char *cdb) in transport_get_sectors_6()
234 static inline u32 transport_get_sectors_10(unsigned char *cdb) in transport_get_sectors_10()
239 static inline u32 transport_get_sectors_12(unsigned char *cdb) in transport_get_sectors_12()
244 static inline u32 transport_get_sectors_16(unsigned char *cdb) in transport_get_sectors_16()
252 static inline u32 transport_get_sectors_32(unsigned char *cdb) in transport_get_sectors_32()
258 static inline u32 transport_lba_21(unsigned char *cdb) in transport_lba_21()
263 static inline u32 transport_lba_32(unsigned char *cdb) in transport_lba_32()
268 static inline unsigned long long transport_lba_64(unsigned char *cdb) in transport_lba_64()
[all …]
Dtarget_core_spc.c706 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_inquiry() local
993 char *cdb = cmd->t_task_cdb; in spc_emulate_modesense() local
1117 char *cdb = cmd->t_task_cdb; in spc_emulate_modeselect() local
1178 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_request_sense() local
1288 unsigned char *cdb = cmd->t_task_cdb; in spc_parse_cdb() local
Dtarget_core_pscsi.c139 unsigned char cdb[MAX_COMMAND_SIZE], *buf; in pscsi_tape_read_blocksize() local
188 unsigned char cdb[MAX_COMMAND_SIZE], *buf; in pscsi_get_inquiry_vpd_serial() local
222 unsigned char cdb[MAX_COMMAND_SIZE], *buf, *page_83; in pscsi_get_inquiry_vpd_device_ident() local
599 unsigned char *cdb; in pscsi_complete_cmd() local
Dtarget_core_xcopy.c539 unsigned char *cdb, in target_xcopy_setup_pt_cmd()
605 unsigned char cdb[16]; in target_xcopy_read_source() local
650 unsigned char cdb[16]; in target_xcopy_write_destination() local
1021 unsigned char *cdb = &se_cmd->t_task_cdb[0]; in target_do_receive_copy_results() local
Dtarget_core_alua.c449 unsigned char *cdb, in core_alua_state_nonoptimized()
537 unsigned char *cdb) in core_alua_state_standby()
594 unsigned char *cdb) in core_alua_state_unavailable()
634 unsigned char *cdb) in core_alua_state_transition()
673 unsigned char *cdb = cmd->t_task_cdb; in target_alua_state_check() local
Dtarget_core_transport.c1427 target_cmd_init_cdb(struct se_cmd *cmd, unsigned char *cdb) in target_cmd_init_cdb()
1604 unsigned char *cdb, unsigned char *sense, u64 unpacked_lun, in target_submit_cmd_map_sgls()
1753 unsigned char *cdb, unsigned char *sense, u64 unpacked_lun, in target_submit_cmd()
2997 const u8 *cdb = cmd->t_task_cdb; in target_show_cmd() local
/drivers/isdn/capi/
Dcapiutil.c385 static _cdebbuf *bufprint(_cdebbuf *cdb, char *fmt, ...) in bufprint()
424 static _cdebbuf *printstructlen(_cdebbuf *cdb, u8 *m, unsigned len) in printstructlen()
448 static _cdebbuf *printstruct(_cdebbuf *cdb, u8 *m) in printstruct()
466 static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb, _cmsg *cmsg, int level) in protocol_message_2_pars()
535 _cdebbuf *cdb; in cdebbuf_alloc() local
562 void cdebbuf_free(_cdebbuf *cdb) in cdebbuf_free()
586 _cdebbuf *cdb; in capi_message2str() local
664 void cdebbuf_free(_cdebbuf *cdb) in cdebbuf_free()
Dkcapi.c307 _cdebbuf *cdb; in capi_ctr_handle_message() local
702 _cdebbuf *cdb = capi_message2str(skb->data); in capi20_put_message() local
/drivers/ata/
Dlibata-scsi.c1172 const u8 *cdb = scmd->cmnd; in ata_scsi_start_stop_xlat() local
1290 static void scsi_6_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_6_lba_len()
1317 static void scsi_10_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_10_lba_len()
1346 static void scsi_16_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_16_lba_len()
1389 const u8 *cdb = scmd->cmnd; in ata_scsi_verify_xlat() local
1535 const u8 *cdb = scmd->cmnd; in ata_scsi_rw_xlat() local
1645 u8 *cdb = cmd->cmnd; in ata_scsi_qc_complete() local
2877 const u8 *cdb = scmd->cmnd; in ata_scsi_pass_thru() local
3197 const u8 *cdb = scmd->cmnd; in ata_scsi_write_same_xlat() local
3306 u8 *cdb = args->cmd->cmnd; in ata_scsiop_maint_in() local
[all …]
Dlibata-zpodd.c38 static const char cdb[ATAPI_CDB_LEN] = { GPCMD_START_STOP_UNIT, in eject_tray() local
59 static const char cdb[ATAPI_CDB_LEN] = { GPCMD_GET_CONFIGURATION, in zpodd_get_mech_type() local
Dlibata-eh.c1377 u8 cdb[ATAPI_CDB_LEN] = { TEST_UNIT_READY, 0, 0, 0, 0, 0 }; in atapi_eh_tur() local
1461 u8 cdb[ATAPI_CDB_LEN] = in atapi_eh_request_sense() local
2350 const u8 *cdb = qc->cdb; in ata_eh_link_report() local
/drivers/dma/
Dfsl_raid.c323 u32 cdb; in fsl_re_prep_dma_genq() local
410 u32 cdb; in fsl_re_prep_dma_pq() local
533 u32 cdb; in fsl_re_prep_dma_memcpy() local
/drivers/scsi/esas2r/
Desas2r_io.c533 u8 *cdb = (u8 *)&rq->vrq->scsi.cdb[0]; in esas2r_build_sg_list_prd() local
/drivers/scsi/device_handler/
Dscsi_dh_alua.c128 u8 cdb[MAX_COMMAND_SIZE]; in submit_rtpg() local
156 u8 cdb[MAX_COMMAND_SIZE]; in submit_stpg() local
Dscsi_dh_emc.c239 unsigned char cdb[MAX_COMMAND_SIZE]; in send_trespass_cmd() local
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h337 #define READ_CMD(cdb) (((cdb)[0] & 0x1F) == 8) argument
338 #define WRITE_CMD(cdb) (((cdb)[0] & 0x1F) == 0xA) argument
/drivers/scsi/ufs/
Dufshpb.c346 unsigned char *cdb = lrbp->cmd->cmnd; in ufshpb_set_hpb_read_to_upiu() local
361 static inline void ufshpb_set_write_buf_cmd(unsigned char *cdb, in ufshpb_set_write_buf_cmd()
926 static void ufshpb_set_unmap_cmd(unsigned char *cdb, struct ufshpb_region *rgn) in ufshpb_set_unmap_cmd()
936 static void ufshpb_set_read_buf_cmd(unsigned char *cdb, int rgn_idx, in ufshpb_set_read_buf_cmd()
/drivers/scsi/isci/
Dsas.h94 u8 cdb[16]; member

1234