Home
last modified time | relevance | path

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

1234

/Linux-v5.15/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.c38 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()
374 unsigned char cdb[TW_MAX_CDB_LEN]; in twl_aen_read_queue() local
556 unsigned char cdb[TW_MAX_CDB_LEN]; in twl_aen_drain_queue() local
Daha1542.h101 u8 cdb[MAX_CDB + MAX_SENSE]; /* SCSI Command Descriptor Block */ member
Dscsi_logging.c156 const unsigned char *cdb, size_t cdb_len) in __scsi_format_command()
/Linux-v5.15/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.c736 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_inquiry() local
1020 char *cdb = cmd->t_task_cdb; in spc_emulate_modesense() local
1144 char *cdb = cmd->t_task_cdb; in spc_emulate_modeselect() local
1205 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_request_sense() local
1315 unsigned char *cdb = cmd->t_task_cdb; in spc_parse_cdb() local
Dtarget_core_xcopy.c526 unsigned char *cdb, in target_xcopy_setup_pt_cmd()
592 unsigned char cdb[16]; in target_xcopy_read_source() local
637 unsigned char cdb[16]; in target_xcopy_write_destination() local
1012 unsigned char *cdb = &se_cmd->t_task_cdb[0]; in target_do_receive_copy_results() local
Dtarget_core_pscsi.c137 unsigned char cdb[MAX_COMMAND_SIZE], *buf; in pscsi_tape_read_blocksize() local
186 unsigned char cdb[MAX_COMMAND_SIZE], *buf; in pscsi_get_inquiry_vpd_serial() local
220 unsigned char cdb[MAX_COMMAND_SIZE], *buf, *page_83; in pscsi_get_inquiry_vpd_device_ident() local
597 unsigned char *cdb; in pscsi_complete_cmd() local
Dtarget_core_alua.c433 unsigned char *cdb, in core_alua_state_nonoptimized()
517 unsigned char *cdb) in core_alua_state_standby()
570 unsigned char *cdb) in core_alua_state_unavailable()
607 unsigned char *cdb) in core_alua_state_transition()
644 unsigned char *cdb = cmd->t_task_cdb; in target_alua_state_check() local
Dtarget_core_transport.c1456 target_cmd_init_cdb(struct se_cmd *cmd, unsigned char *cdb, gfp_t gfp) in target_cmd_init_cdb()
1675 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb, in target_submit_prep()
1808 unsigned char *cdb, unsigned char *sense, u64 unpacked_lun, in target_submit_cmd()
3057 const u8 *cdb = cmd->t_task_cdb; in target_show_cmd() local
/Linux-v5.15/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
/Linux-v5.15/tools/lib/traceevent/plugins/
Dplugin_scsi.c150 #define SERVICE_ACTION16(cdb) (cdb[1] & 0x1f) argument
151 #define SERVICE_ACTION32(cdb) ((cdb[8] << 8) | cdb[9]) argument
157 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6()
174 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10()
198 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12()
220 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16()
250 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32()
304 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap()
315 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in()
355 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen()
[all …]
/Linux-v5.15/drivers/ata/
Dlibata-scsi.c1170 const u8 *cdb = scmd->cmnd; in ata_scsi_start_stop_xlat() local
1288 static void scsi_6_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_6_lba_len()
1315 static void scsi_10_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_10_lba_len()
1344 static void scsi_16_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_16_lba_len()
1387 const u8 *cdb = scmd->cmnd; in ata_scsi_verify_xlat() local
1533 const u8 *cdb = scmd->cmnd; in ata_scsi_rw_xlat() local
1643 u8 *cdb = cmd->cmnd; in ata_scsi_qc_complete() local
2815 const u8 *cdb = scmd->cmnd; in ata_scsi_pass_thru() local
3124 const u8 *cdb = scmd->cmnd; in ata_scsi_write_same_xlat() local
3233 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
/Linux-v5.15/include/trace/events/
Dscsi.h154 #define __parse_cdb(cdb, len) scsi_trace_parse_cdb(p, cdb, len) argument
/Linux-v5.15/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
/Linux-v5.15/include/uapi/linux/
Dvirtio_scsi.h50 __u8 cdb[VIRTIO_SCSI_CDB_SIZE]; member
62 __u8 cdb[VIRTIO_SCSI_CDB_SIZE]; member
/Linux-v5.15/include/uapi/scsi/
Dscsi_bsg_ufs.h63 __u8 cdb[UFS_CDB_SIZE]; member
/Linux-v5.15/drivers/scsi/esas2r/
Desas2r_io.c533 u8 *cdb = (u8 *)&rq->vrq->scsi.cdb[0]; in esas2r_build_sg_list_prd() local
/Linux-v5.15/drivers/scsi/mpi3mr/mpi/
Dmpi30_init.h9 u8 cdb[20]; member
35 union mpi3_scso_io_cdb_union cdb; member
/Linux-v5.15/drivers/scsi/device_handler/
Dscsi_dh_emc.c239 unsigned char cdb[MAX_COMMAND_SIZE]; in send_trespass_cmd() local
Dscsi_dh_alua.c129 u8 cdb[MAX_COMMAND_SIZE]; in submit_rtpg() local
157 u8 cdb[MAX_COMMAND_SIZE]; in submit_stpg() local
/Linux-v5.15/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

1234