Home
last modified time | relevance | path

Searched refs:seq_file (Results 1 – 25 of 1348) sorted by relevance

12345678910>>...54

/Linux-v4.19/include/linux/
Dseq_file.h16 struct seq_file { struct
33 void * (*start) (struct seq_file *m, loff_t *pos); argument
34 void (*stop) (struct seq_file *m, void *v);
35 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
36 int (*show) (struct seq_file *m, void *v);
51 static inline bool seq_has_overflowed(struct seq_file *m) in seq_has_overflowed()
64 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf()
84 static inline void seq_commit(struct seq_file *m, int num) in seq_commit()
102 static inline void seq_setwidth(struct seq_file *m, size_t size) in seq_setwidth()
106 void seq_pad(struct seq_file *m, char c);
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_debug.h272 int proc_get_read_reg(struct seq_file *m, void *v);
275 int proc_get_fwstate(struct seq_file *m, void *v);
276 int proc_get_sec_info(struct seq_file *m, void *v);
277 int proc_get_mlmext_state(struct seq_file *m, void *v);
279 int proc_get_roam_flags(struct seq_file *m, void *v);
281 int proc_get_roam_param(struct seq_file *m, void *v);
285 int proc_get_qos_option(struct seq_file *m, void *v);
286 int proc_get_ht_option(struct seq_file *m, void *v);
287 int proc_get_rf_info(struct seq_file *m, void *v);
288 int proc_get_survey_info(struct seq_file *m, void *v);
[all …]
/Linux-v4.19/drivers/isdn/capi/
Dkcapi_proc.c38 static void *controller_start(struct seq_file *seq, loff_t *pos) in controller_start()
49 static void *controller_next(struct seq_file *seq, void *v, loff_t *pos) in controller_next()
58 static void controller_stop(struct seq_file *seq, void *v) in controller_stop()
64 static int controller_show(struct seq_file *seq, void *v) in controller_show()
80 static int contrstats_show(struct seq_file *seq, void *v) in contrstats_show()
117 static void *applications_start(struct seq_file *seq, loff_t *pos) in applications_start()
129 applications_next(struct seq_file *seq, void *v, loff_t *pos) in applications_next()
138 static void applications_stop(struct seq_file *seq, void *v) in applications_stop()
145 applications_show(struct seq_file *seq, void *v) in applications_show()
162 applstats_show(struct seq_file *seq, void *v) in applstats_show()
[all …]
/Linux-v4.19/fs/afs/
Dproc.c20 static inline struct afs_net *afs_seq2net(struct seq_file *m) in afs_seq2net()
25 static inline struct afs_net *afs_seq2net_single(struct seq_file *m) in afs_seq2net_single()
33 static int afs_proc_cells_show(struct seq_file *m, void *v) in afs_proc_cells_show()
48 static void *afs_proc_cells_start(struct seq_file *m, loff_t *_pos) in afs_proc_cells_start()
55 static void *afs_proc_cells_next(struct seq_file *m, void *v, loff_t *pos) in afs_proc_cells_next()
60 static void afs_proc_cells_stop(struct seq_file *m, void *v) in afs_proc_cells_stop()
79 struct seq_file *m = file->private_data; in afs_proc_cells_write()
141 static int afs_proc_rootcell_show(struct seq_file *m, void *v) in afs_proc_rootcell_show()
165 struct seq_file *m = file->private_data; in afs_proc_rootcell_write()
200 static int afs_proc_cell_volumes_show(struct seq_file *m, void *v) in afs_proc_cell_volumes_show()
[all …]
/Linux-v4.19/net/x25/
Dx25_proc.c30 static void *x25_seq_route_start(struct seq_file *seq, loff_t *pos) in x25_seq_route_start()
37 static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_route_next()
42 static void x25_seq_route_stop(struct seq_file *seq, void *v) in x25_seq_route_stop()
48 static int x25_seq_route_show(struct seq_file *seq, void *v) in x25_seq_route_show()
65 static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos) in x25_seq_socket_start()
72 static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_socket_next()
77 static void x25_seq_socket_stop(struct seq_file *seq, void *v) in x25_seq_socket_stop()
83 static int x25_seq_socket_show(struct seq_file *seq, void *v) in x25_seq_socket_show()
118 static void *x25_seq_forward_start(struct seq_file *seq, loff_t *pos) in x25_seq_forward_start()
125 static void *x25_seq_forward_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_forward_next()
[all …]
/Linux-v4.19/security/keys/
Dproc.c21 static void *proc_keys_start(struct seq_file *p, loff_t *_pos);
22 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos);
23 static void proc_keys_stop(struct seq_file *p, void *v);
24 static int proc_keys_show(struct seq_file *m, void *v);
33 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos);
34 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos);
35 static void proc_key_users_stop(struct seq_file *p, void *v);
36 static int proc_key_users_show(struct seq_file *m, void *v);
69 static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n) in key_serial_next()
83 static struct key *find_ge_key(struct seq_file *p, key_serial_t id) in find_ge_key()
[all …]
/Linux-v4.19/drivers/pinctrl/
Dpinconf.h72 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map);
73 void pinconf_show_setting(struct seq_file *s,
80 static inline void pinconf_show_map(struct seq_file *s, in pinconf_show_map()
85 static inline void pinconf_show_setting(struct seq_file *s, in pinconf_show_setting()
105 struct seq_file *s, const char *gname,
109 struct seq_file *s, unsigned long config);
113 struct seq_file *s, in pinconf_generic_dump_pins()
120 struct seq_file *s, in pinconf_generic_dump_config()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_debugfs.c52 struct seq_file *seq; \
78 static void *_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _opcode_stats_seq_start()
87 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next()
98 static void _opcode_stats_seq_stop(struct seq_file *s, void *v) in _opcode_stats_seq_stop()
103 static int _opcode_stats_seq_show(struct seq_file *s, void *v) in _opcode_stats_seq_show()
128 static void *_ctx_stats_seq_start(struct seq_file *s, loff_t *pos) in DEBUGFS_FILE()
140 static void *_ctx_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _ctx_stats_seq_next()
154 static void _ctx_stats_seq_stop(struct seq_file *s, void *v) in _ctx_stats_seq_stop()
159 static int _ctx_stats_seq_show(struct seq_file *s, void *v) in _ctx_stats_seq_show()
190 static void *_qp_stats_seq_start(struct seq_file *s, loff_t *pos) in DEBUGFS_FILE()
[all …]
/Linux-v4.19/block/
Dblk-mq-debugfs.c27 static void print_stat(struct seq_file *m, struct blk_rq_stat *stat) in print_stat()
37 static int queue_poll_stat_show(void *data, struct seq_file *m) in queue_poll_stat_show()
54 static void *queue_requeue_list_start(struct seq_file *m, loff_t *pos) in queue_requeue_list_start()
63 static void *queue_requeue_list_next(struct seq_file *m, void *v, loff_t *pos) in queue_requeue_list_next()
70 static void queue_requeue_list_stop(struct seq_file *m, void *v) in queue_requeue_list_stop()
85 static int blk_flags_show(struct seq_file *m, const unsigned long flags, in blk_flags_show()
139 static int queue_state_show(void *data, struct seq_file *m) in queue_state_show()
186 static int queue_write_hint_show(void *data, struct seq_file *m) in queue_write_hint_show()
226 static int hctx_state_show(void *data, struct seq_file *m) in hctx_state_show()
253 static int hctx_flags_show(void *data, struct seq_file *m) in hctx_flags_show()
[all …]
Dblk-mq-debugfs.h12 int (*show)(void *, struct seq_file *);
18 int __blk_mq_debugfs_rq_show(struct seq_file *m, struct request *rq);
19 int blk_mq_debugfs_rq_show(struct seq_file *m, void *v);
84 int queue_zone_wlock_show(void *data, struct seq_file *m);
86 static inline int queue_zone_wlock_show(void *data, struct seq_file *m) in queue_zone_wlock_show()
/Linux-v4.19/net/core/
Dnet-procfs.c16 static inline struct net_device *dev_from_same_bucket(struct seq_file *seq, loff_t *pos) in dev_from_same_bucket()
32 static inline struct net_device *dev_from_bucket(struct seq_file *seq, loff_t *pos) in dev_from_bucket()
53 static void *dev_seq_start(struct seq_file *seq, loff_t *pos) in dev_seq_start()
66 static void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in dev_seq_next()
72 static void dev_seq_stop(struct seq_file *seq, void *v) in dev_seq_stop()
78 static void dev_seq_printf_stats(struct seq_file *seq, struct net_device *dev) in dev_seq_printf_stats()
106 static int dev_seq_show(struct seq_file *seq, void *v) in dev_seq_show()
132 static void *softnet_seq_start(struct seq_file *seq, loff_t *pos) in softnet_seq_start()
137 static void *softnet_seq_next(struct seq_file *seq, void *v, loff_t *pos) in softnet_seq_next()
143 static void softnet_seq_stop(struct seq_file *seq, void *v) in softnet_seq_stop()
[all …]
/Linux-v4.19/fs/
Dseq_file.c25 static void seq_set_overflow(struct seq_file *m) in seq_set_overflow()
53 struct seq_file *p; in seq_open()
91 static int traverse(struct seq_file *m, loff_t offset) in traverse()
155 struct seq_file *m = file->private_data; in seq_read()
312 struct seq_file *m = file->private_data; in seq_lseek()
358 struct seq_file *m = file->private_data; in seq_release()
375 void seq_escape(struct seq_file *m, const char *s, const char *esc) in seq_escape()
386 void seq_vprintf(struct seq_file *m, const char *f, va_list args) in seq_vprintf()
401 void seq_printf(struct seq_file *m, const char *f, ...) in seq_printf()
452 int seq_path(struct seq_file *m, const struct path *path, const char *esc) in seq_path()
[all …]
/Linux-v4.19/net/appletalk/
Datalk_proc.c30 static void *atalk_seq_interface_start(struct seq_file *seq, loff_t *pos) in atalk_seq_interface_start()
39 static void *atalk_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_interface_next()
56 static void atalk_seq_interface_stop(struct seq_file *seq, void *v) in atalk_seq_interface_stop()
62 static int atalk_seq_interface_show(struct seq_file *seq, void *v) in atalk_seq_interface_show()
91 static void *atalk_seq_route_start(struct seq_file *seq, loff_t *pos) in atalk_seq_route_start()
100 static void *atalk_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_route_next()
117 static void atalk_seq_route_stop(struct seq_file *seq, void *v) in atalk_seq_route_stop()
123 static int atalk_seq_route_show(struct seq_file *seq, void *v) in atalk_seq_route_show()
148 static void *atalk_seq_socket_start(struct seq_file *seq, loff_t *pos) in atalk_seq_socket_start()
155 static void *atalk_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_socket_next()
[all …]
/Linux-v4.19/kernel/locking/
Dlockdep_proc.c27 static void *l_next(struct seq_file *m, void *v, loff_t *pos) in l_next()
32 static void *l_start(struct seq_file *m, loff_t *pos) in l_start()
37 static void l_stop(struct seq_file *m, void *v) in l_stop()
41 static void print_name(struct seq_file *m, struct lock_class *class) in print_name()
58 static int l_show(struct seq_file *m, void *v) in l_show()
105 static void *lc_start(struct seq_file *m, loff_t *pos) in lc_start()
116 static void *lc_next(struct seq_file *m, void *v, loff_t *pos) in lc_next()
122 static void lc_stop(struct seq_file *m, void *v) in lc_stop()
126 static int lc_show(struct seq_file *m, void *v) in lc_show()
163 static void lockdep_stats_debug_show(struct seq_file *m) in lockdep_stats_debug_show()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Drtas-proc.c138 static int ppc_rtas_sensors_show(struct seq_file *m, void *v);
139 static int ppc_rtas_clock_show(struct seq_file *m, void *v);
142 static int ppc_rtas_progress_show(struct seq_file *m, void *v);
145 static int ppc_rtas_poweron_show(struct seq_file *m, void *v);
151 static int ppc_rtas_tone_freq_show(struct seq_file *m, void *v);
154 static int ppc_rtas_tone_volume_show(struct seq_file *m, void *v);
155 static int ppc_rtas_rmo_buf_show(struct seq_file *m, void *v);
223 static void ppc_rtas_process_sensor(struct seq_file *m,
226 static void get_location_code(struct seq_file *m,
228 static void check_location_string(struct seq_file *m, const char *c);
[all …]
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_fs.c58 static void *ipoib_mcg_seq_start(struct seq_file *file, loff_t *pos) in ipoib_mcg_seq_start()
77 static void *ipoib_mcg_seq_next(struct seq_file *file, void *iter_ptr, in ipoib_mcg_seq_next()
92 static void ipoib_mcg_seq_stop(struct seq_file *file, void *iter_ptr) in ipoib_mcg_seq_stop()
97 static int ipoib_mcg_seq_show(struct seq_file *file, void *iter_ptr) in ipoib_mcg_seq_show()
136 struct seq_file *seq; in ipoib_mcg_open()
157 static void *ipoib_path_seq_start(struct seq_file *file, loff_t *pos) in ipoib_path_seq_start()
176 static void *ipoib_path_seq_next(struct seq_file *file, void *iter_ptr, in ipoib_path_seq_next()
191 static void ipoib_path_seq_stop(struct seq_file *file, void *iter_ptr) in ipoib_path_seq_stop()
196 static int ipoib_path_seq_show(struct seq_file *file, void *iter_ptr) in ipoib_path_seq_show()
241 struct seq_file *seq; in ipoib_path_open()
/Linux-v4.19/net/8021q/
Dvlanproc.c39 static int vlan_seq_show(struct seq_file *seq, void *v);
40 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos);
41 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos);
42 static void vlan_seq_stop(struct seq_file *seq, void *);
43 static int vlandev_seq_show(struct seq_file *seq, void *v);
170 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) in vlan_seq_start()
192 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vlan_seq_next()
213 static void vlan_seq_stop(struct seq_file *seq, void *v) in vlan_seq_stop()
219 static int vlan_seq_show(struct seq_file *seq, void *v) in vlan_seq_show()
244 static int vlandev_seq_show(struct seq_file *seq, void *offset) in vlandev_seq_show()
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_debugfs.c31 static int mvpp2_dbgfs_flow_flt_hits_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_flt_hits_show()
45 static int mvpp2_dbgfs_flow_dec_hits_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_dec_hits_show()
58 static int mvpp2_dbgfs_flow_type_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_type_show()
103 struct seq_file *seq = file->private_data; in mvpp2_dbgfs_flow_type_release()
116 static int mvpp2_dbgfs_flow_id_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_id_show()
132 static int mvpp2_dbgfs_port_flow_hash_opt_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_port_flow_hash_opt_show()
166 struct seq_file *seq = file->private_data; in mvpp2_dbgfs_port_flow_hash_opt_release()
179 static int mvpp2_dbgfs_port_flow_engine_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_port_flow_engine_show()
204 static int mvpp2_dbgfs_flow_c2_hits_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_c2_hits_show()
219 static int mvpp2_dbgfs_flow_c2_rxq_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_c2_rxq_show()
[all …]
/Linux-v4.19/fs/notify/
Dfdinfo.c24 static void show_fdinfo(struct seq_file *m, struct file *f, in show_fdinfo()
25 void (*show)(struct seq_file *m, in show_fdinfo()
41 static void show_mark_fhandle(struct seq_file *m, struct inode *inode) in show_mark_fhandle()
68 static void show_mark_fhandle(struct seq_file *m, struct inode *inode) in show_mark_fhandle()
75 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo()
102 void inotify_show_fdinfo(struct seq_file *m, struct file *f) in inotify_show_fdinfo()
111 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
137 void fanotify_show_fdinfo(struct seq_file *m, struct file *f) in fanotify_show_fdinfo()
/Linux-v4.19/arch/arm/mach-omap2/
Dpm-debug.c74 struct seq_file *s = (struct seq_file *)user; in clkdm_dbg_show_counter()
89 struct seq_file *s = (struct seq_file *)user; in pwrdm_dbg_show_counter()
118 struct seq_file *s = (struct seq_file *)user; in pwrdm_dbg_show_timer()
139 static int pm_dbg_counters_show(struct seq_file *s, void *unused) in pm_dbg_counters_show()
148 static int pm_dbg_timers_show(struct seq_file *s, void *unused) in pm_dbg_timers_show()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Ddebugfs.c98 static void *_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _opcode_stats_seq_start()
107 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next()
117 static void _opcode_stats_seq_stop(struct seq_file *s, void *v) in _opcode_stats_seq_stop()
121 static int opcode_stats_show(struct seq_file *s, u8 i, u64 packets, u64 bytes) in opcode_stats_show()
132 static int _opcode_stats_seq_show(struct seq_file *s, void *v) in _opcode_stats_seq_show()
156 static void *_tx_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _tx_opcode_stats_seq_start()
161 static void *_tx_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _tx_opcode_stats_seq_next()
166 static void _tx_opcode_stats_seq_stop(struct seq_file *s, void *v) in _tx_opcode_stats_seq_stop()
170 static int _tx_opcode_stats_seq_show(struct seq_file *s, void *v) in _tx_opcode_stats_seq_show()
192 static void *_ctx_stats_seq_start(struct seq_file *s, loff_t *pos) in _ctx_stats_seq_start()
[all …]
/Linux-v4.19/Documentation/filesystems/
Dseq_file.txt1 The seq_file interface
29 The seq_file interface is available via <linux/seq_file.h>. There are
30 three aspects to seq_file:
41 We'll look at the seq_file interface via an extremely simple example: a
69 Modules implementing a virtual file with seq_file must implement an
80 A seq_file implementation that is formatting firewall rules from a
82 position N as the Nth rule in the chain. A seq_file implementation
104 static void *ct_seq_start(struct seq_file *s, loff_t *pos)
115 iterator, but that will not be the case for most other seq_file
119 For more complicated applications, the private field of the seq_file
[all …]
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c57 static void *adf_ring_start(struct seq_file *sfile, loff_t *pos) in adf_ring_start()
73 static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos) in adf_ring_next()
85 static int adf_ring_show(struct seq_file *sfile, void *v) in adf_ring_show()
119 static void adf_ring_stop(struct seq_file *sfile, void *v) in adf_ring_stop()
136 struct seq_file *seq_f = file->private_data; in adf_ring_open()
184 static void *adf_bank_start(struct seq_file *sfile, loff_t *pos) in adf_bank_start()
196 static void *adf_bank_next(struct seq_file *sfile, void *v, loff_t *pos) in adf_bank_next()
204 static int adf_bank_show(struct seq_file *sfile, void *v) in adf_bank_show()
235 static void adf_bank_stop(struct seq_file *sfile, void *v) in adf_bank_stop()
252 struct seq_file *seq_f = file->private_data; in adf_bank_open()
/Linux-v4.19/net/sctp/
Dproc.c74 static int sctp_snmp_seq_show(struct seq_file *seq, void *v) in sctp_snmp_seq_show()
92 static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) in sctp_seq_dump_local_addrs()
128 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs()
147 static void *sctp_eps_seq_start(struct seq_file *seq, loff_t *pos) in sctp_eps_seq_start()
161 static void sctp_eps_seq_stop(struct seq_file *seq, void *v) in sctp_eps_seq_stop()
166 static void *sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sctp_eps_seq_next()
176 static int sctp_eps_seq_show(struct seq_file *seq, void *v) in sctp_eps_seq_show()
220 static void *sctp_transport_seq_start(struct seq_file *seq, loff_t *pos) in sctp_transport_seq_start()
229 static void sctp_transport_seq_stop(struct seq_file *seq, void *v) in sctp_transport_seq_stop()
236 static void *sctp_transport_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sctp_transport_seq_next()
[all …]
/Linux-v4.19/kernel/time/
Dtimer_list.c36 static void SEQ_printf(struct seq_file *m, const char *fmt, ...) in SEQ_printf()
50 static void print_name_offset(struct seq_file *m, void *sym) in print_name_offset()
61 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer()
78 print_active_timers(struct seq_file *m, struct hrtimer_clock_base *base, in print_active_timers()
117 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base()
135 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu()
198 print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu) in print_tickdevice()
267 static void timer_list_show_tickdevices_header(struct seq_file *m) in timer_list_show_tickdevices_header()
282 static inline void timer_list_header(struct seq_file *m, u64 now) in timer_list_header()
290 static int timer_list_show(struct seq_file *m, void *v) in timer_list_show()
[all …]

12345678910>>...54