Searched refs:t_task_cdb (Results 1 – 15 of 15) sorted by relevance
/linux/include/trace/events/ |
A 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);
|
/linux/drivers/target/ |
A 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() 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 D | target_core_transport.c | 811 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 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()
|
A D | target_core_spc.c | 736 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 D | target_core_pscsi.c | 974 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 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() 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 D | target_core_xcopy.c | 886 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 D | target_core_alua.c | 143 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 D | target_core_iblock.c | 411 int immed = (cmd->t_task_cdb[1] & 0x2); in iblock_execute_sync_cache()
|
A D | target_core_file.c | 389 int immed = (cmd->t_task_cdb[1] & 0x2); in fd_execute_sync_cache()
|
A D | target_core_user.c | 905 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 D | target_core_device.c | 1095 unsigned char *cdb = cmd->t_task_cdb; in passthrough_parse_cdb()
|
/linux/include/target/ |
A D | target_core_base.h | 504 unsigned char *t_task_cdb; member
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_target.c | 2833 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