Lines Matching refs:seq

31 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq)
38 if (unlikely(!s->seq.size)) in __trace_seq_init()
57 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq()
83 unsigned int save_len = s->seq.len; in trace_seq_printf()
92 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf()
96 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_printf()
97 s->seq.len = save_len; in trace_seq_printf()
114 unsigned int save_len = s->seq.len; in trace_seq_bitmask()
121 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); in trace_seq_bitmask()
123 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bitmask()
124 s->seq.len = save_len; in trace_seq_bitmask()
144 unsigned int save_len = s->seq.len; in trace_seq_vprintf()
151 seq_buf_vprintf(&s->seq, fmt, args); in trace_seq_vprintf()
154 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_vprintf()
155 s->seq.len = save_len; in trace_seq_vprintf()
178 unsigned int save_len = s->seq.len; in trace_seq_bprintf()
185 seq_buf_bprintf(&s->seq, fmt, binary); in trace_seq_bprintf()
188 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bprintf()
189 s->seq.len = save_len; in trace_seq_bprintf()
220 seq_buf_putmem(&s->seq, str, len); in trace_seq_puts()
246 seq_buf_putc(&s->seq, c); in trace_seq_putc()
272 seq_buf_putmem(&s->seq, mem, len); in trace_seq_putmem()
289 unsigned int save_len = s->seq.len; in trace_seq_putmem_hex()
303 seq_buf_putmem_hex(&s->seq, mem, len); in trace_seq_putmem_hex()
305 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_putmem_hex()
306 s->seq.len = save_len; in trace_seq_putmem_hex()
327 unsigned int save_len = s->seq.len; in trace_seq_path()
339 seq_buf_path(&s->seq, path, "\n"); in trace_seq_path()
341 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_path()
342 s->seq.len = save_len; in trace_seq_path()
374 return seq_buf_to_user(&s->seq, ubuf, cnt); in trace_seq_to_user()
382 unsigned int save_len = s->seq.len; in trace_seq_hex_dump()
394 seq_buf_hex_dump(&(s->seq), prefix_str, in trace_seq_hex_dump()
398 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_hex_dump()
399 s->seq.len = save_len; in trace_seq_hex_dump()
424 if (!WARN_ON_ONCE(seq_buf_buffer_left(&s->seq) < len)) in trace_seq_acquire()
425 seq_buf_commit(&s->seq, len); in trace_seq_acquire()