Lines Matching refs:s
21 trace_seq_init(struct trace_seq *s) in trace_seq_init() argument
23 seq_buf_init(&s->seq, s->buffer, PAGE_SIZE); in trace_seq_init()
24 s->full = 0; in trace_seq_init()
40 static inline int trace_seq_used(struct trace_seq *s) in trace_seq_used() argument
42 return seq_buf_used(&s->seq); in trace_seq_used()
55 trace_seq_buffer_ptr(struct trace_seq *s) in trace_seq_buffer_ptr() argument
57 return s->buffer + seq_buf_used(&s->seq); in trace_seq_buffer_ptr()
67 static inline bool trace_seq_has_overflowed(struct trace_seq *s) in trace_seq_has_overflowed() argument
69 return s->full || seq_buf_has_overflowed(&s->seq); in trace_seq_has_overflowed()
77 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...);
79 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args);
81 trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary);
82 extern int trace_print_seq(struct seq_file *m, struct trace_seq *s);
83 extern int trace_seq_to_user(struct trace_seq *s, char __user *ubuf,
85 extern void trace_seq_puts(struct trace_seq *s, const char *str);
86 extern void trace_seq_putc(struct trace_seq *s, unsigned char c);
87 extern void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len);
88 extern void trace_seq_putmem_hex(struct trace_seq *s, const void *mem,
90 extern int trace_seq_path(struct trace_seq *s, const struct path *path);
92 extern void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp,
96 static inline void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() argument
100 trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf() argument
105 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask() argument
110 static inline int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq() argument
114 static inline int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, in trace_seq_to_user() argument
119 static inline void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts() argument
122 static inline void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc() argument
126 trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem() argument
129 static inline void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, in trace_seq_putmem_hex() argument
133 static inline int trace_seq_path(struct trace_seq *s, const struct path *path) in trace_seq_path() argument