Lines Matching refs:io_log
804 struct qedf_io_log *io_log; in qedf_trace_io() local
810 io_log = &qedf->io_trace_buf[qedf->io_trace_idx]; in qedf_trace_io()
811 io_log->direction = direction; in qedf_trace_io()
812 io_log->task_id = io_req->xid; in qedf_trace_io()
813 io_log->port_id = fcport->rdata->ids.port_id; in qedf_trace_io()
814 io_log->lun = sc_cmd->device->lun; in qedf_trace_io()
815 io_log->op = sc_cmd->cmnd[0]; in qedf_trace_io()
816 io_log->lba[0] = sc_cmd->cmnd[2]; in qedf_trace_io()
817 io_log->lba[1] = sc_cmd->cmnd[3]; in qedf_trace_io()
818 io_log->lba[2] = sc_cmd->cmnd[4]; in qedf_trace_io()
819 io_log->lba[3] = sc_cmd->cmnd[5]; in qedf_trace_io()
820 io_log->bufflen = scsi_bufflen(sc_cmd); in qedf_trace_io()
821 io_log->sg_count = scsi_sg_count(sc_cmd); in qedf_trace_io()
822 io_log->result = sc_cmd->result; in qedf_trace_io()
823 io_log->jiffies = jiffies; in qedf_trace_io()
824 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
828 io_log->req_cpu = io_req->cpu; in qedf_trace_io()
829 io_log->int_cpu = 0; in qedf_trace_io()
830 io_log->rsp_cpu = 0; in qedf_trace_io()
832 io_log->req_cpu = io_req->cpu; in qedf_trace_io()
833 io_log->int_cpu = io_req->int_cpu; in qedf_trace_io()
834 io_log->rsp_cpu = smp_processor_id(); in qedf_trace_io()
837 io_log->sge_type = io_req->sge_type; in qedf_trace_io()