Lines Matching refs:trace_seq
19 * a trace_seq structure after it was destroyed.
25 "Usage of trace_seq after it was destroyed")) \
40 * trace_seq_init - initialize the trace_seq structure
41 * @s: a pointer to the trace_seq structure to initialize
43 void trace_seq_init(struct trace_seq *s)
56 * trace_seq_reset - re-initialize the trace_seq structure
57 * @s: a pointer to the trace_seq structure to reset
59 void trace_seq_reset(struct trace_seq *s)
69 * trace_seq_destroy - free up memory of a trace_seq
70 * @s: a pointer to the trace_seq to free the buffer
72 * Only frees the buffer, not the trace_seq struct itself.
74 void trace_seq_destroy(struct trace_seq *s)
83 static void expand_buffer(struct trace_seq *s)
88 if (WARN_ONCE(!buf, "Can't allocate trace_seq buffer memory")) {
113 trace_seq_printf(struct trace_seq *s, const char *fmt, ...)
155 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args)
188 int trace_seq_puts(struct trace_seq *s, const char *str)
207 int trace_seq_putc(struct trace_seq *s, unsigned char c)
221 void trace_seq_terminate(struct trace_seq *s)
229 int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp)
237 fprintf(fp, "%s\n", "Usage of trace_seq after it was destroyed");
240 fprintf(fp, "%s\n", "Can't allocate trace_seq buffer memory");
246 int trace_seq_do_printf(struct trace_seq *s)