Lines Matching defs:buf
23 td = &trc->buf[trc->wr_idx];
51 snic_fmt_trc_data(struct snic_trc_data *td, char *buf, int buf_sz)
58 len += snprintf(buf, buf_sz,
75 snic_get_trc_data(char *buf, int buf_sz)
87 td = &trc->buf[trc->rd_idx];
101 return snic_fmt_trc_data(td, buf, buf_sz);
124 trc->buf = (struct snic_trc_data *) tbuf;
150 if (trc->buf) {
151 vfree(trc->buf);
152 trc->buf = NULL;