Searched refs:t_task_cdb (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/include/trace/events/ |
D | target.h | 152 __entry->opcode = cmd->t_task_cdb[0]; 155 __entry->control = scsi_command_control(cmd->t_task_cdb); 156 memcpy(__entry->cdb, cmd->t_task_cdb, TCM_MAX_COMMAND_SIZE); 192 __entry->opcode = cmd->t_task_cdb[0]; 195 __entry->control = scsi_command_control(cmd->t_task_cdb); 199 memcpy(__entry->cdb, cmd->t_task_cdb, TCM_MAX_COMMAND_SIZE);
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_sbc.c | 35 unsigned char *cdb = cmd->t_task_cdb; in sbc_emulate_readcapacity() 140 unsigned char *cdb = cmd->t_task_cdb; in sbc_emulate_startstop() 173 if (cmd->t_task_cdb[0] == WRITE_SAME) in sbc_get_write_same_sectors() 174 num_blocks = get_unaligned_be16(&cmd->t_task_cdb[7]); in sbc_get_write_same_sectors() 175 else if (cmd->t_task_cdb[0] == WRITE_SAME_16) in sbc_get_write_same_sectors() 176 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[10]); in sbc_get_write_same_sectors() 178 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[28]); in sbc_get_write_same_sectors() 739 "PROTECT: 0x%02x\n", cmd->t_task_cdb[0], protect); in sbc_check_prot() 793 unsigned char *cdb = cmd->t_task_cdb; in sbc_parse_cdb() 998 switch (cmd->t_task_cdb[1] & 0x1f) { in sbc_parse_cdb() [all …]
|
D | target_core_ua.c | 65 switch (cmd->t_task_cdb[0]) { in target_scsi3_ua_check() 261 cmd->orig_fe_lun, cmd->t_task_cdb[0], *asc, *ascq); in core_scsi3_ua_for_check_condition()
|
D | target_core_transport.c | 778 cmd->t_task_cdb[0], cmd->tag); in target_handle_abort() 1313 cmd->data_length, size, cmd->t_task_cdb[0]); in target_cmd_size_check() 1431 cmd->t_task_cdb = &cmd->__t_task_cdb[0]; in target_cmd_init_cdb() 1449 cmd->t_task_cdb = kzalloc(scsi_command_size(cdb), in target_cmd_init_cdb() 1451 if (!cmd->t_task_cdb) { in target_cmd_init_cdb() 1463 memcpy(cmd->t_task_cdb, cdb, scsi_command_size(cdb)); in target_cmd_init_cdb() 1473 memcpy(cmd->t_task_cdb, cdb, min(scsi_command_size(cdb), in target_cmd_init_cdb() 1490 cmd->t_task_cdb[0]); in target_cmd_parse_cdb() 1952 cmd->t_task_cdb[0], sense_reason); in transport_generic_request_failure() 2069 cmd->t_task_cdb[0]); in target_handle_task_attr() [all …]
|
D | target_core_spc.c | 706 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_inquiry() 993 char *cdb = cmd->t_task_cdb; in spc_emulate_modesense() 996 int ten = (cmd->t_task_cdb[0] == MODE_SENSE_10); in spc_emulate_modesense() 1117 char *cdb = cmd->t_task_cdb; in spc_emulate_modeselect() 1178 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_request_sense() 1288 unsigned char *cdb = cmd->t_task_cdb; in spc_parse_cdb()
|
D | target_core_pscsi.c | 977 pt = kzalloc(sizeof(*pt) + scsi_command_size(cmd->t_task_cdb), GFP_KERNEL); in pscsi_execute_cmd() 983 memcpy(pt->pscsi_cdb, cmd->t_task_cdb, in pscsi_execute_cmd() 984 scsi_command_size(cmd->t_task_cdb)); in pscsi_execute_cmd()
|
D | target_core_pr.c | 92 switch (cmd->t_task_cdb[0]) { in target_scsi2_reservation_check() 250 if ((cmd->t_task_cdb[1] & 0x01) && in target_scsi2_reservation_reserve() 251 (cmd->t_task_cdb[1] & 0x02)) { in target_scsi2_reservation_reserve() 314 unsigned char *cdb = cmd->t_task_cdb; in core_scsi3_pr_seq_non_holder() 3552 unsigned char *cdb = &cmd->t_task_cdb[0]; in target_scsi3_emulate_pr_out() 4067 switch (cmd->t_task_cdb[1] & 0x1f) { in target_scsi3_emulate_pr_in() 4082 " action: 0x%02x\n", cmd->t_task_cdb[1] & 0x1f); in target_scsi3_emulate_pr_in()
|
D | target_core_xcopy.c | 897 sa = se_cmd->t_task_cdb[1] & 0x1f; in target_do_xcopy() 1021 unsigned char *cdb = &se_cmd->t_task_cdb[0]; in target_do_receive_copy_results()
|
D | target_core_alua.c | 143 int ext_hdr = (cmd->t_task_cdb[1] & 0x20); in target_emulate_report_target_port_groups() 673 unsigned char *cdb = cmd->t_task_cdb; in target_alua_state_check()
|
D | target_core_iblock.c | 371 int immed = (cmd->t_task_cdb[1] & 0x2); in iblock_execute_sync_cache()
|
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()
|
D | target_core_file.c | 396 int immed = (cmd->t_task_cdb[1] & 0x2); in fd_execute_sync_cache()
|
D | target_core_device.c | 1087 unsigned char *cdb = cmd->t_task_cdb; in passthrough_parse_cdb()
|
/kernel/linux/linux-5.10/include/target/ |
D | target_core_base.h | 499 unsigned char *t_task_cdb; member
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_target.c | 2769 se_cmd->t_task_cdb ? se_cmd->t_task_cdb[0] : 0, in qlt_pre_xmit_response() 2776 prm->residual, se_cmd->tag, se_cmd->t_task_cdb ? in qlt_pre_xmit_response() 2777 se_cmd->t_task_cdb[0] : 0, cmd->bufflen, prm->rq_result); in qlt_pre_xmit_response()
|