Lines Matching refs:td
19 struct snic_trc_data *td = NULL; in snic_get_trc_buf() local
23 td = &trc->buf[trc->wr_idx]; in snic_get_trc_buf()
39 td->ts = 0; /* Marker for checking the record, for complete data*/ in snic_get_trc_buf()
44 return td; in snic_get_trc_buf()
51 snic_fmt_trc_data(struct snic_trc_data *td, char *buf, int buf_sz) in snic_fmt_trc_data() argument
56 jiffies_to_timespec64(td->ts, &tmspec); in snic_fmt_trc_data()
62 td->fn, in snic_fmt_trc_data()
63 td->hno, in snic_fmt_trc_data()
64 td->tag, in snic_fmt_trc_data()
65 td->data[0], td->data[1], td->data[2], td->data[3], in snic_fmt_trc_data()
66 td->data[4]); in snic_fmt_trc_data()
77 struct snic_trc_data *td = NULL; in snic_get_trc_data() local
87 td = &trc->buf[trc->rd_idx]; in snic_get_trc_data()
89 if (td->ts == 0) { in snic_get_trc_data()
101 return snic_fmt_trc_data(td, buf, buf_sz); in snic_get_trc_data()