Home
last modified time | relevance | path

Searched refs:t_task_cdb (Results 1 – 15 of 15) sorted by relevance

/linux/include/trace/events/
A Dtarget.h152 __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);
/linux/drivers/target/
A Dtarget_core_sbc.c35 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()
824 unsigned char *cdb = cmd->t_task_cdb; in sbc_parse_cdb()
1029 switch (cmd->t_task_cdb[1] & 0x1f) { in sbc_parse_cdb()
1038 cmd->t_task_cdb[1] & 0x1f); in sbc_parse_cdb()
[all …]
A Dtarget_core_transport.c811 cmd->t_task_cdb[0], cmd->tag); in target_handle_abort()
1434 cmd->t_task_cdb = &cmd->__t_task_cdb[0]; in __target_init_cmd()
1494 if (!cmd->t_task_cdb) { in target_cmd_init_cdb()
1533 cmd->t_task_cdb[0]); in target_cmd_parse_cdb()
2077 cmd->t_task_cdb[0], sense_reason); in transport_generic_request_failure()
2194 cmd->t_task_cdb[0]); in target_handle_task_attr()
2200 cmd->t_task_cdb[0]); in target_handle_task_attr()
2231 cmd->t_task_cdb[0], cmd->sam_task_attr); in target_handle_task_attr()
2989 if (cmd->t_task_cdb != cmd->__t_task_cdb) in target_free_cmd_mem()
2990 kfree(cmd->t_task_cdb); in target_free_cmd_mem()
[all …]
A Dtarget_core_ua.c65 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()
A Dtarget_core_spc.c736 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_inquiry()
1020 char *cdb = cmd->t_task_cdb; in spc_emulate_modesense()
1023 int ten = (cmd->t_task_cdb[0] == MODE_SENSE_10); in spc_emulate_modesense()
1144 char *cdb = cmd->t_task_cdb; in spc_emulate_modeselect()
1205 unsigned char *cdb = cmd->t_task_cdb; in spc_emulate_request_sense()
1315 unsigned char *cdb = cmd->t_task_cdb; in spc_parse_cdb()
A Dtarget_core_pscsi.c974 pt = kzalloc(sizeof(*pt) + scsi_command_size(cmd->t_task_cdb), GFP_KERNEL); in pscsi_execute_cmd()
980 memcpy(pt->pscsi_cdb, cmd->t_task_cdb, in pscsi_execute_cmd()
981 scsi_command_size(cmd->t_task_cdb)); in pscsi_execute_cmd()
A Dtarget_core_pr.c92 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()
3541 unsigned char *cdb = &cmd->t_task_cdb[0]; in target_scsi3_emulate_pr_out()
4056 switch (cmd->t_task_cdb[1] & 0x1f) { in target_scsi3_emulate_pr_in()
4071 " action: 0x%02x\n", cmd->t_task_cdb[1] & 0x1f); in target_scsi3_emulate_pr_in()
A Dtarget_core_xcopy.c886 sa = se_cmd->t_task_cdb[1] & 0x1f; in target_do_xcopy()
1010 unsigned char *cdb = &se_cmd->t_task_cdb[0]; in target_do_receive_copy_results()
A Dtarget_core_alua.c143 int ext_hdr = (cmd->t_task_cdb[1] & 0x20); in target_emulate_report_target_port_groups()
644 unsigned char *cdb = cmd->t_task_cdb; in target_alua_state_check()
A Dtarget_core_iblock.c411 int immed = (cmd->t_task_cdb[1] & 0x2); in iblock_execute_sync_cache()
A Dtarget_core_file.c389 int immed = (cmd->t_task_cdb[1] & 0x2); in fd_execute_sync_cache()
A Dtarget_core_user.c905 round_up(scsi_command_size(se_cmd->t_task_cdb), in tcmu_cmd_get_cmd_size()
1119 memcpy((void *) mb + cdb_off, se_cmd->t_task_cdb, scsi_command_size(se_cmd->t_task_cdb)); in queue_cmd_ring()
A Dtarget_core_device.c1095 unsigned char *cdb = cmd->t_task_cdb; in passthrough_parse_cdb()
/linux/include/target/
A Dtarget_core_base.h504 unsigned char *t_task_cdb; member
/linux/drivers/scsi/qla2xxx/
A Dqla_target.c2833 se_cmd->t_task_cdb ? se_cmd->t_task_cdb[0] : 0, in qlt_pre_xmit_response()
2840 prm->residual, se_cmd->tag, se_cmd->t_task_cdb ? in qlt_pre_xmit_response()
2841 se_cmd->t_task_cdb[0] : 0, cmd->bufflen, prm->rq_result); in qlt_pre_xmit_response()

Completed in 54 milliseconds