Lines Matching full:seq_file
3 * linux/fs/seq_file.c
15 #include <linux/seq_file.h>
29 static void seq_set_overflow(struct seq_file *m) in seq_set_overflow()
55 * Note: seq_open() will allocate a struct seq_file and store its
60 struct seq_file *p; in seq_open()
91 static int traverse(struct seq_file *m, loff_t offset) in traverse()
174 struct seq_file *m = iocb->ki_filp->private_data; in seq_read_iter()
311 struct seq_file *m = file->private_data; in seq_lseek()
355 struct seq_file *m = file->private_data; in seq_release()
375 void seq_escape_mem(struct seq_file *m, const char *src, size_t len, in seq_escape_mem()
387 void seq_vprintf(struct seq_file *m, const char *f, va_list args) in seq_vprintf()
402 void seq_printf(struct seq_file *m, const char *f, ...) in seq_printf()
413 void seq_bprintf(struct seq_file *m, const char *f, const u32 *binary) in seq_bprintf()
463 * seq_path - seq_file interface to print a pathname
464 * @m: the seq_file handle
471 int seq_path(struct seq_file *m, const struct path *path, const char *esc) in seq_path()
492 * seq_file_path - seq_file interface to print a pathname of a file
493 * @m: the seq_file handle
499 int seq_file_path(struct seq_file *m, struct file *file, const char *esc) in seq_file_path()
508 int seq_path_root(struct seq_file *m, const struct path *path, in seq_path_root()
538 int seq_dentry(struct seq_file *m, struct dentry *dentry, const char *esc) in seq_dentry()
558 void *single_start(struct seq_file *p, loff_t *pos) in single_start()
563 static void *single_next(struct seq_file *p, void *v, loff_t *pos) in single_next()
569 static void single_stop(struct seq_file *p, void *v) in single_stop()
573 int single_open(struct file *file, int (*show)(struct seq_file *, void *), in single_open() argument
586 ((struct seq_file *)file->private_data)->private = data; in single_open()
594 int single_open_size(struct file *file, int (*show)(struct seq_file *, void *), in single_open_size() argument
606 ((struct seq_file *)file->private_data)->buf = buf; in single_open_size()
607 ((struct seq_file *)file->private_data)->size = size; in single_open_size()
614 const struct seq_operations *op = ((struct seq_file *)file->private_data)->op; in single_release()
623 struct seq_file *seq = file->private_data; in seq_release_private()
636 struct seq_file *seq; in __seq_open_private()
664 void seq_putc(struct seq_file *m, char c) in seq_putc()
673 void __seq_puts(struct seq_file *m, const char *s) in __seq_puts()
683 * @m: seq_file identifying the buffer to which data should be written
692 void seq_put_decimal_ull_width(struct seq_file *m, const char *delimiter, in seq_put_decimal_ull_width()
724 void seq_put_decimal_ull(struct seq_file *m, const char *delimiter, in seq_put_decimal_ull()
733 * @m: seq_file identifying the buffer to which data should be written
743 void seq_put_hex_ll(struct seq_file *m, const char *delimiter, in seq_put_hex_ll()
777 void seq_put_decimal_ll(struct seq_file *m, const char *delimiter, long long num) in seq_put_decimal_ll()
818 * @seq: seq_file identifying the buffer to which data should be written
824 int seq_write(struct seq_file *seq, const void *data, size_t len) in seq_write()
838 * @m: seq_file identifying the buffer to which data should be written
841 void seq_pad(struct seq_file *m, char c) in seq_pad()
858 void seq_hex_dump(struct seq_file *m, const char *prefix_str, int prefix_type, in seq_hex_dump()
965 * Called at seq_file->op->start().
983 * Called at seq_file->op->start(). Call this function if you want to
1001 * Called at seq_file->op->next().
1021 * Called at seq_file->op->start().
1044 * Called at seq_file->op->start(). Call this function if you want to
1067 * Called at seq_file->op->next().
1093 * Called at seq_file->op->start().
1117 * Called at seq_file->op->next().
1143 seq_file_cache = KMEM_CACHE(seq_file, SLAB_ACCOUNT|SLAB_PANIC); in seq_file_init()