Lines Matching refs:tdata
733 struct fc_trace_hdr *tdata; in fnic_fc_trace_get_data() local
752 tdata = (struct fc_trace_hdr *) in fnic_fc_trace_get_data()
754 if (!tdata) { in fnic_fc_trace_get_data()
760 copy_and_format_trace_data(tdata, in fnic_fc_trace_get_data()
763 fc_trace = (char *)tdata; in fnic_fc_trace_get_data()
794 void copy_and_format_trace_data(struct fc_trace_hdr *tdata, in copy_and_format_trace_data() argument
806 tdata->frame_type = tdata->frame_type & 0x7F; in copy_and_format_trace_data()
810 time64_to_tm(tdata->time_stamp.tv_sec, 0, &tm); in copy_and_format_trace_data()
818 tdata->time_stamp.tv_nsec, tdata->host_no, in copy_and_format_trace_data()
819 tdata->frame_type, tdata->frame_len); in copy_and_format_trace_data()
821 fc_trace = (char *)FC_TRACE_ADDRESS(tdata); in copy_and_format_trace_data()
823 for (j = 0; j < min_t(u8, tdata->frame_len, in copy_and_format_trace_data()
825 if (tdata->frame_type == FNIC_FC_LE) { in copy_and_format_trace_data()