Home
last modified time | relevance | path

Searched full:seq_file (Results 1 – 25 of 1024) sorted by relevance

12345678910>>...41

/linux/fs/
H A Dseq_file.c3 * 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()
[all …]
/linux/net/x25/
H A Dx25_proc.c9 * This code REQUIRES 2.4 with seq_file support
12 * 2002/10/06 Arnaldo Carvalho de Melo seq_file support
17 #include <linux/seq_file.h>
25 static void *x25_seq_route_start(struct seq_file *seq, loff_t *pos) in x25_seq_route_start()
32 static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_route_next()
37 static void x25_seq_route_stop(struct seq_file *seq, void *v) in x25_seq_route_stop()
43 static int x25_seq_route_show(struct seq_file *seq, void *v) in x25_seq_route_show()
60 static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos) in x25_seq_socket_start()
67 static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_socket_next()
72 static void x25_seq_socket_stop(struct seq_file *se
[all...]
/linux/security/keys/
H A Dproc.c12 #include <linux/seq_file.h>
16 static void *proc_keys_start(struct seq_file *p, loff_t *_pos);
17 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos);
18 static void proc_keys_stop(struct seq_file *p, void *v);
19 static int proc_keys_show(struct seq_file *m, void *v);
28 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos);
29 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos);
30 static void proc_key_users_stop(struct seq_file *p, void *v);
31 static int proc_key_users_show(struct seq_file *m, void *v);
64 static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n) in key_serial_next()
[all …]
/linux/net/appletalk/
H A Datalk_proc.c10 #include <linux/seq_file.h>
27 static void *atalk_seq_interface_start(struct seq_file *seq, loff_t *pos) in atalk_seq_interface_start()
36 static void *atalk_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_interface_next()
53 static void atalk_seq_interface_stop(struct seq_file *seq, void *v) in atalk_seq_interface_stop()
59 static int atalk_seq_interface_show(struct seq_file *seq, void *v) in atalk_seq_interface_show()
88 static void *atalk_seq_route_start(struct seq_file *seq, loff_t *pos) in atalk_seq_route_start()
97 static void *atalk_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_route_next()
114 static void atalk_seq_route_stop(struct seq_file *seq, void *v) in atalk_seq_route_stop()
120 static int atalk_seq_route_show(struct seq_file *seq, void *v) in atalk_seq_route_show()
145 static void *atalk_seq_socket_start(struct seq_file *seq, loff_t *pos) in atalk_seq_socket_start()
[all …]
/linux/rust/kernel/
H A Dseq_file.rs5 //! C header: [`include/linux/seq_file.h`](srctree/include/linux/seq_file.h)
12 inner: Opaque<bindings::seq_file>,
22 /// * The pointer points at a valid `struct seq_file`.
23 /// * The `struct seq_file` is not accessed from any other thread.
24 pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile { in from_raw()
26 // a data race by using the `&SeqFile` since this is the only thread accessing the seq_file. in from_raw()
28 // CAST: The layout of `struct seq_file` and `SeqFile` is compatible. in from_raw()
/linux/security/integrity/ima/
H A Dima_template_lib.h14 #include <linux/seq_file.h>
20 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show,
22 void ima_show_template_digest_ng(struct seq_file *m, enum ima_show_type show,
24 void ima_show_template_digest_ngv2(struct seq_file *m, enum ima_show_type show,
26 void ima_show_template_string(struct seq_file *m, enum ima_show_type show,
28 void ima_show_template_sig(struct seq_file *m, enum ima_show_type show,
30 void ima_show_template_buf(struct seq_file *m, enum ima_show_type show,
32 void ima_show_template_uint(struct seq_file *m, enum ima_show_type show,
/linux/drivers/infiniband/hw/hfi1/
H A Ddebugfs.c7 #include <linux/seq_file.h>
28 static void *_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _opcode_stats_seq_start()
37 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next()
47 static void _opcode_stats_seq_stop(struct seq_file *s, void *v) in _opcode_stats_seq_stop()
51 static int opcode_stats_show(struct seq_file *s, u8 i, u64 packets, u64 bytes) in opcode_stats_show()
62 static int _opcode_stats_seq_show(struct seq_file *s, void *v) in _opcode_stats_seq_show()
86 static void *_tx_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _tx_opcode_stats_seq_start()
91 static void *_tx_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _tx_opcode_stats_seq_next()
96 static void _tx_opcode_stats_seq_stop(struct seq_file *s, void *v) in _tx_opcode_stats_seq_stop()
100 static int _tx_opcode_stats_seq_show(struct seq_file *s, void *v) in _tx_opcode_stats_seq_show()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A Ddebug.c6 #include <linux/seq_file.h>
21 int (*cb_read)(struct seq_file *m, void *v);
107 static int rtw_debugfs_single_show(struct seq_file *m, void *v) in rtw_debugfs_single_show()
127 struct seq_file *seqpriv = (struct seq_file *)filp->private_data; in rtw_debugfs_single_write()
167 static int rtw_debugfs_get_read_reg(struct seq_file *m, void *v) in rtw_debugfs_get_read_reg()
192 static int rtw_debugfs_get_rf_read(struct seq_file *m, void *v) in rtw_debugfs_get_rf_read()
213 static int rtw_debugfs_get_fix_rate(struct seq_file *m, void *v) in rtw_debugfs_get_fix_rate()
254 struct seq_file *seqpriv = (struct seq_file *)filp->private_data; in rtw_debugfs_set_read_reg()
281 static int rtw_debugfs_get_dump_cam(struct seq_file *m, void *v) in rtw_debugfs_get_dump_cam()
307 static int rtw_debugfs_get_rsvd_page(struct seq_file *m, void *v) in rtw_debugfs_get_rsvd_page()
[all …]
/linux/fs/afs/
H A Dproc.c11 #include <linux/seq_file.h>
21 static inline struct afs_net *afs_seq2net(struct seq_file *m) in afs_seq2net()
26 static inline struct afs_net *afs_seq2net_single(struct seq_file *m) in afs_seq2net_single()
34 static int afs_proc_cells_show(struct seq_file *m, void *v) in afs_proc_cells_show()
59 static void *afs_proc_cells_start(struct seq_file *m, loff_t *_pos) in afs_proc_cells_start()
66 static void *afs_proc_cells_next(struct seq_file *m, void *v, loff_t *pos) in afs_proc_cells_next()
71 static void afs_proc_cells_stop(struct seq_file *m, void *v) in afs_proc_cells_stop()
90 struct seq_file *m = file->private_data; in afs_proc_cells_write()
154 static int afs_proc_addr_prefs_show(struct seq_file *m, void *v) in afs_proc_addr_prefs_show()
204 static int afs_proc_rootcell_show(struct seq_file *m, void *v) in afs_proc_rootcell_show()
[all …]
/linux/arch/arm64/kvm/vgic/
H A Dvgic-debug.c11 #include <linux/seq_file.h>
102 static void *vgic_debug_start(struct seq_file *s, loff_t *pos) in vgic_debug_start()
121 static void *vgic_debug_next(struct seq_file *s, void *v, loff_t *pos) in vgic_debug_next()
135 static void vgic_debug_stop(struct seq_file *s, void *v) in vgic_debug_stop()
145 static void print_dist_state(struct seq_file *s, struct vgic_dist *dist, in print_dist_state()
165 static void print_header(struct seq_file *s, struct vgic_irq *irq, in print_header()
181 static void print_irq_state(struct seq_file *s, struct vgic_irq *irq, in print_irq_state()
234 static int vgic_debug_show(struct seq_file *s, void *v) in vgic_debug_show()
352 * vgic_its_debug_start - Start function for the seq_file interface.
353 * @s: The seq_file structure.
[all …]
/linux/net/core/
H A Dnet-procfs.c4 #include <linux/seq_file.h>
10 static void *dev_seq_from_index(struct seq_file *seq, loff_t *pos) in dev_seq_from_index()
22 static void *dev_seq_start(struct seq_file *seq, loff_t *pos) in dev_seq_start()
32 static void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in dev_seq_next()
38 static void dev_seq_stop(struct seq_file *seq, void *v) in dev_seq_stop()
44 static void dev_seq_printf_stats(struct seq_file *seq, struct net_device *dev) in dev_seq_printf_stats()
72 static int dev_seq_show(struct seq_file *seq, void *v) in dev_seq_show()
108 static void *softnet_seq_start(struct seq_file *seq, loff_t *pos) in softnet_seq_start()
113 static void *softnet_seq_next(struct seq_file *seq, void *v, loff_t *pos) in softnet_seq_next()
119 static void softnet_seq_stop(struct seq_file *seq, void *v) in softnet_seq_stop()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_debugfs.c8 static void *mlx5_esw_bridge_debugfs_start(struct seq_file *seq, loff_t *pos);
9 static void *mlx5_esw_bridge_debugfs_next(struct seq_file *seq, void *v, loff_t *pos);
10 static void mlx5_esw_bridge_debugfs_stop(struct seq_file *seq, void *v);
11 static int mlx5_esw_bridge_debugfs_show(struct seq_file *seq, void *v);
21 static void *mlx5_esw_bridge_debugfs_start(struct seq_file *seq, loff_t *pos) in mlx5_esw_bridge_debugfs_start()
29 static void *mlx5_esw_bridge_debugfs_next(struct seq_file *seq, void *v, loff_t *pos) in mlx5_esw_bridge_debugfs_next()
36 static void mlx5_esw_bridge_debugfs_stop(struct seq_file *seq, void *v) in mlx5_esw_bridge_debugfs_stop()
41 static int mlx5_esw_bridge_debugfs_show(struct seq_file *seq, void *v) in mlx5_esw_bridge_debugfs_show()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Ddebug.c6 #include <linux/seq_file.h>
11 hws_debug_dump_matcher_template_definer(struct seq_file *f, in hws_debug_dump_matcher_template_definer()
45 hws_debug_dump_matcher_match_template(struct seq_file *f, struct mlx5hws_matcher *matcher) in hws_debug_dump_matcher_match_template()
70 hws_debug_dump_matcher_action_template(struct seq_file *f, struct mlx5hws_matcher *matcher) in hws_debug_dump_matcher_action_template()
98 hws_debug_dump_matcher_attr(struct seq_file *f, struct mlx5hws_matcher *matcher) in hws_debug_dump_matcher_attr()
119 static int hws_debug_dump_matcher(struct seq_file *f, struct mlx5hws_matcher *matcher) in hws_debug_dump_matcher()
175 static int hws_debug_dump_table(struct seq_file *f, struct mlx5hws_table *tbl) in hws_debug_dump_table()
221 hws_debug_dump_context_send_engine(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_send_engine()
270 static int hws_debug_dump_context_caps(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_caps()
306 static int hws_debug_dump_context_attr(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_attr()
[all …]
/linux/drivers/misc/genwqe/
H A Dcard_debugfs.c22 #include <linux/seq_file.h>
28 static void dbg_uidn_show(struct seq_file *s, struct genwqe_reg *regs, in dbg_uidn_show()
43 static int curr_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in curr_dbg_uidn_show()
69 static int curr_dbg_uid0_show(struct seq_file *s, void *unused) in curr_dbg_uid0_show()
76 static int curr_dbg_uid1_show(struct seq_file *s, void *unused) in curr_dbg_uid1_show()
83 static int curr_dbg_uid2_show(struct seq_file *s, void *unused) in curr_dbg_uid2_show()
90 static int prev_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in prev_dbg_uidn_show()
98 static int prev_dbg_uid0_show(struct seq_file *s, void *unused) in prev_dbg_uid0_show()
105 static int prev_dbg_uid1_show(struct seq_file *s, void *unused) in prev_dbg_uid1_show()
112 static int prev_dbg_uid2_show(struct seq_file *s, void *unused) in prev_dbg_uid2_show()
[all …]
/linux/arch/csky/kernel/
H A Dcpu-probe.c6 #include <linux/seq_file.h>
13 struct seq_file *m = (struct seq_file *)arg; in percpu_print()
46 static int c_show(struct seq_file *m, void *v) in c_show()
61 static void *c_start(struct seq_file *m, loff_t *pos) in c_start()
66 static void *c_next(struct seq_file *m, void *v, loff_t *pos) in c_next()
72 static void c_stop(struct seq_file *m, void *v) {} in c_stop()
/linux/drivers/isdn/capi/
H A Dkcapi_proc.c15 #include <linux/seq_file.h>
38 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()
[all …]
/linux/kernel/locking/
H A Dlockdep_proc.c17 #include <linux/seq_file.h>
38 static void *l_next(struct seq_file *m, void *v, loff_t *pos) in l_next()
47 static void *l_start(struct seq_file *m, loff_t *pos) in l_start()
56 static void l_stop(struct seq_file *m, void *v) in l_stop()
60 static void print_name(struct seq_file *m, struct lock_class *class) in print_name()
77 static int l_show(struct seq_file *m, void *v) in l_show()
128 static void *lc_start(struct seq_file *m, loff_t *pos) in lc_start()
139 static void *lc_next(struct seq_file *m, void *v, loff_t *pos) in lc_next()
145 static void lc_stop(struct seq_file *m, void *v) in lc_stop()
149 static int lc_show(struct seq_file *m, void *v) in lc_show()
[all …]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_debugfs.c58 static int mvpp2_dbgfs_flow_flt_hits_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_flt_hits_show()
71 static int mvpp2_dbgfs_flow_dec_hits_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_dec_hits_show()
84 static int mvpp2_dbgfs_flow_type_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_type_show()
124 static int mvpp2_dbgfs_flow_id_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_id_show()
140 static int mvpp2_dbgfs_port_flow_hash_opt_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_port_flow_hash_opt_show()
166 static int mvpp2_dbgfs_port_flow_engine_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_port_flow_engine_show()
191 static int mvpp2_dbgfs_flow_c2_hits_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_c2_hits_show()
205 static int mvpp2_dbgfs_flow_c2_rxq_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_c2_rxq_show()
226 static int mvpp2_dbgfs_flow_c2_enable_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_flow_c2_enable_show()
243 static int mvpp2_dbgfs_port_vid_show(struct seq_file *s, void *unused) in mvpp2_dbgfs_port_vid_show()
[all …]
/linux/kernel/module/
H A Dprocfs.c11 #include <linux/seq_file.h>
16 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
41 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
49 static void *m_start(struct seq_file *m, loff_t *pos) in m_start()
55 static void *m_next(struct seq_file *m, void *p, loff_t *pos) in m_next()
60 static void m_stop(struct seq_file *m, void *p) in m_stop()
74 static int m_show(struct seq_file *m, void *p) in m_show()
131 struct seq_file *m = file->private_data; in modules_open()
/linux/net/rxrpc/
H A Dproc.c31 static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_call_seq_start()
40 static void *rxrpc_call_seq_next(struct seq_file *seq, void *v, loff_t *pos) in rxrpc_call_seq_next()
47 static void rxrpc_call_seq_stop(struct seq_file *seq, void *v) in rxrpc_call_seq_stop()
53 static int rxrpc_call_seq_show(struct seq_file *seq, void *v) in rxrpc_call_seq_show()
119 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start()
128 static void *rxrpc_connection_seq_next(struct seq_file *seq, void *v, in rxrpc_connection_seq_next()
136 static void rxrpc_connection_seq_stop(struct seq_file *seq, void *v) in rxrpc_connection_seq_stop()
144 static int rxrpc_connection_seq_show(struct seq_file *seq, void *v) in rxrpc_connection_seq_show()
206 static void *rxrpc_bundle_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_bundle_seq_start()
215 static void *rxrpc_bundle_seq_next(struct seq_file *seq, void *v, in rxrpc_bundle_seq_next()
[all …]
/linux/net/atm/
H A Dproc.c6 * seq_file api usage by romieu@fr.zoreil.com
19 #include <linux/seq_file.h>
44 static void add_stats(struct seq_file *seq, const char *aal, in add_stats()
53 static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev) in atm_dev_info()
108 static inline void *vcc_walk(struct seq_file *seq, loff_t l) in vcc_walk()
117 static void *vcc_seq_start(struct seq_file *seq, loff_t *pos) in vcc_seq_start()
128 static void vcc_seq_stop(struct seq_file *seq, void *v) in vcc_seq_stop()
134 static void *vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vcc_seq_next()
141 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) in pvc_info()
177 static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc) in vcc_info()
[all …]
/linux/net/8021q/
H A Dvlanproc.c24 #include <linux/seq_file.h>
36 static int vlan_seq_show(struct seq_file *seq, void *v);
37 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos);
38 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos);
39 static void vlan_seq_stop(struct seq_file *seq, void *);
40 static int vlandev_seq_show(struct seq_file *seq, void *v);
166 static void *vlan_seq_from_index(struct seq_file *seq, loff_t *pos) in vlan_seq_from_index()
180 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) in vlan_seq_start()
190 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vlan_seq_next()
196 static void vlan_seq_stop(struct seq_file *seq, void *v) in vlan_seq_stop()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_debugfs.c6 #include <linux/seq_file.h>
25 static void seq_print_age_or_dash(struct seq_file *m, bool valid, unsigned long dt) in seq_print_age_or_dash()
33 static void __seq_print_rq_state_bit(struct seq_file *m, in __seq_print_rq_state_bit()
47 static void seq_print_rq_state_bit(struct seq_file *m, in seq_print_rq_state_bit()
54 static void seq_print_request_state(struct seq_file *m, struct drbd_request *req) in seq_print_request_state()
96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request()
122 static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_minor_vnr_req()
128 static void seq_print_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, … in seq_print_resource_pending_meta_io()
156 static void seq_print_waiting_for_AL(struct seq_file *m, struct drbd_resource *resource, unsigned l… in seq_print_waiting_for_AL()
191 static void seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned lon… in seq_print_device_bitmap_io()
[all …]
/linux/drivers/net/ethernet/hisilicon/hibmcge/
H A Dhbg_debugfs.c7 #include <linux/seq_file.h>
19 int (*read)(struct seq_file *seq, void *data);
25 struct seq_file *s) in hbg_dbg_ring()
42 static int hbg_dbg_tx_ring(struct seq_file *s, void *unused) in hbg_dbg_tx_ring()
51 static int hbg_dbg_rx_ring(struct seq_file *s, void *unused) in hbg_dbg_rx_ring()
60 static int hbg_dbg_irq_info(struct seq_file *s, void *unused) in hbg_dbg_irq_info()
82 static int hbg_dbg_mac_table(struct seq_file *s, void *unused) in hbg_dbg_mac_table()
105 static int hbg_dbg_nic_state(struct seq_file *s, void *unused) in hbg_dbg_nic_state()
/linux/arch/arm/mach-omap2/
H A Dpm-debug.c39 #include <linux/seq_file.h>
69 struct seq_file *s = (struct seq_file *)user; in clkdm_dbg_show_counter()
84 struct seq_file *s = (struct seq_file *)user; in pwrdm_dbg_show_counter()
113 struct seq_file *s = (struct seq_file *)user; in pwrdm_dbg_show_timer()
134 static int pm_dbg_counters_show(struct seq_file *s, void *unused) in pm_dbg_counters_show()
143 static int pm_dbg_timers_show(struct seq_file *s, void *unused) in pm_dbg_timers_show()

12345678910>>...41