Lines Matching refs:trace_seq
3 * trace_seq.c
7 * The trace_seq is a handy tool that allows you to pass a descriptor around
11 * To use it, the trace_seq must be initialized with trace_seq_init().
13 * trace_seq_init() more than once to reset the trace_seq to start
22 * try to write something into the trace_seq buffer and if it fails
28 #include <linux/trace_seq.h>
30 /* How much buffer is left on the trace_seq? */
34 * trace_seq should work with being initialized with 0s.
36 static inline void __trace_seq_init(struct trace_seq *s)
43 * trace_print_seq - move the contents of trace_seq into a seq_file
45 * @s: the trace_seq descriptor that is the source.
48 * write to the seq_file it will reset the trace_seq, otherwise
49 * it does not modify the trace_seq to let the caller try again.
51 int trace_print_seq(struct seq_file *m, struct trace_seq *s)
81 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...)
111 void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp,
142 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args)
176 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary)
206 void trace_seq_puts(struct trace_seq *s, const char *str)
234 void trace_seq_putc(struct trace_seq *s, unsigned char c)
251 * trace_seq_putmem - write raw data into the trace_seq buffer
260 void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len)
286 void trace_seq_putmem_hex(struct trace_seq *s, const void *mem,
325 int trace_seq_path(struct trace_seq *s, const struct path *path)
371 int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, int cnt)
378 int trace_seq_hex_dump(struct trace_seq *s, const char *prefix_str,
413 * acquire buffer with size of @len from trace_seq for output usage,
420 char *trace_seq_acquire(struct trace_seq *s, unsigned int len)