Home
last modified time | relevance | path

Searched refs:proc_dir_entry (Results 1 – 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/include/linux/
Dproc_fs.h12 struct proc_dir_entry;
81 extern struct proc_dir_entry *proc_symlink(const char *,
82 struct proc_dir_entry *, const char *);
83 struct proc_dir_entry *_proc_mkdir(const char *, umode_t, struct proc_dir_entry *, void *, bool);
84 extern struct proc_dir_entry *proc_mkdir(const char *, struct proc_dir_entry *);
85 extern struct proc_dir_entry *proc_mkdir_data(const char *, umode_t,
86 struct proc_dir_entry *, void *);
87 extern struct proc_dir_entry *proc_mkdir_mode(const char *, umode_t,
88 struct proc_dir_entry *);
89 struct proc_dir_entry *proc_create_mount_point(const char *name);
[all …]
Dnubus.h17 struct proc_dir_entry;
25 struct proc_dir_entry *procdir;
62 struct proc_dir_entry *procdir;
97 struct proc_dir_entry *nubus_proc_add_board(struct nubus_board *board);
98 struct proc_dir_entry *nubus_proc_add_rsrc_dir(struct proc_dir_entry *procdir,
101 void nubus_proc_add_rsrc_mem(struct proc_dir_entry *procdir,
104 void nubus_proc_add_rsrc(struct proc_dir_entry *procdir,
109 struct proc_dir_entry *nubus_proc_add_board(struct nubus_board *board) in nubus_proc_add_board()
112 struct proc_dir_entry *nubus_proc_add_rsrc_dir(struct proc_dir_entry *procdir, in nubus_proc_add_rsrc_dir()
116 static inline void nubus_proc_add_rsrc_mem(struct proc_dir_entry *procdir, in nubus_proc_add_rsrc_mem()
[all …]
/kernel/linux/linux-5.10/fs/proc/
Dgeneric.c37 void pde_free(struct proc_dir_entry *pde) in pde_free()
46 static int proc_match(const char *name, struct proc_dir_entry *de, unsigned int len) in proc_match()
56 static struct proc_dir_entry *pde_subdir_first(struct proc_dir_entry *dir) in pde_subdir_first()
58 return rb_entry_safe(rb_first(&dir->subdir), struct proc_dir_entry, in pde_subdir_first()
62 static struct proc_dir_entry *pde_subdir_next(struct proc_dir_entry *dir) in pde_subdir_next()
64 return rb_entry_safe(rb_next(&dir->subdir_node), struct proc_dir_entry, in pde_subdir_next()
68 static struct proc_dir_entry *pde_subdir_find(struct proc_dir_entry *dir, in pde_subdir_find()
75 struct proc_dir_entry *de = rb_entry(node, in pde_subdir_find()
76 struct proc_dir_entry, in pde_subdir_find()
90 static bool pde_subdir_insert(struct proc_dir_entry *dir, in pde_subdir_insert()
[all …]
Dinternal.h30 struct proc_dir_entry { struct
59 struct proc_dir_entry *parent; argument
70 sizeof(struct proc_dir_entry) < 128 ? 128 : \ argument
71 sizeof(struct proc_dir_entry) < 192 ? 192 : \
72 sizeof(struct proc_dir_entry) < 256 ? 256 : \
73 sizeof(struct proc_dir_entry) < 512 ? 512 : \
75 #define SIZEOF_PDE_INLINE_NAME (SIZEOF_PDE - sizeof(struct proc_dir_entry))
77 static inline bool pde_is_permanent(const struct proc_dir_entry *pde) in pde_is_permanent()
83 void pde_free(struct proc_dir_entry *pde);
97 struct proc_dir_entry *pde;
[all …]
Dinode.c35 struct proc_dir_entry *de; in proc_evict_inode()
108 offsetof(struct proc_dir_entry, inline_name), in proc_init_kmemcache()
110 BUILD_BUG_ON(sizeof(struct proc_dir_entry) >= SIZEOF_PDE); in proc_init_kmemcache()
206 static inline int use_pde(struct proc_dir_entry *pde) in use_pde()
211 static void unuse_pde(struct proc_dir_entry *pde) in unuse_pde()
218 static void close_pdeo(struct proc_dir_entry *pde, struct pde_opener *pdeo) in close_pdeo()
256 void proc_entry_rundown(struct proc_dir_entry *de) in proc_entry_rundown()
276 static loff_t pde_lseek(struct proc_dir_entry *pde, struct file *file, loff_t offset, int whence) in pde_lseek()
288 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_llseek()
302 struct proc_dir_entry *pde = PDE(file_inode(iocb->ki_filp)); in proc_reg_read_iter()
[all …]
Dproc_net.c32 static inline struct net *PDE_NET(struct proc_dir_entry *pde) in PDE_NET()
104 struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode, in proc_create_net_data()
105 struct proc_dir_entry *parent, const struct seq_operations *ops, in proc_create_net_data()
108 struct proc_dir_entry *p; in proc_create_net_data()
146 struct proc_dir_entry *proc_create_net_data_write(const char *name, umode_t mode, in proc_create_net_data_write()
147 struct proc_dir_entry *parent, in proc_create_net_data_write()
152 struct proc_dir_entry *p; in proc_create_net_data_write()
168 struct proc_dir_entry *de = PDE(inode); in single_open_net()
197 struct proc_dir_entry *proc_create_net_single(const char *name, umode_t mode, in proc_create_net_single()
198 struct proc_dir_entry *parent, in proc_create_net_single()
[all …]
Dproc_tty.c23 static struct proc_dir_entry *proc_tty_driver;
135 struct proc_dir_entry *ent; in proc_tty_register_driver()
151 struct proc_dir_entry *ent; in proc_tty_unregister_driver()
/kernel/linux/linux-5.10/include/net/netns/
Dcan.h17 struct proc_dir_entry *proc_dir;
18 struct proc_dir_entry *pde_stats;
19 struct proc_dir_entry *pde_reset_stats;
20 struct proc_dir_entry *pde_rcvlist_all;
21 struct proc_dir_entry *pde_rcvlist_fil;
22 struct proc_dir_entry *pde_rcvlist_inv;
23 struct proc_dir_entry *pde_rcvlist_sff;
24 struct proc_dir_entry *pde_rcvlist_eff;
25 struct proc_dir_entry *pde_rcvlist_err;
26 struct proc_dir_entry *bcmproc_dir;
Dnetfilter.h7 struct proc_dir_entry;
13 struct proc_dir_entry *proc_netfilter;
Dsctp.h6 struct proc_dir_entry;
14 struct proc_dir_entry *proc_net_sctp;
/kernel/linux/linux-5.10/drivers/nubus/
Dproc.c48 static struct proc_dir_entry *proc_bus_nubus_dir;
54 struct proc_dir_entry *nubus_proc_add_board(struct nubus_board *board) in nubus_proc_add_board()
68 struct proc_dir_entry *nubus_proc_add_rsrc_dir(struct proc_dir_entry *procdir, in nubus_proc_add_rsrc_dir()
140 void nubus_proc_add_rsrc_mem(struct proc_dir_entry *procdir, in nubus_proc_add_rsrc_mem()
159 void nubus_proc_add_rsrc(struct proc_dir_entry *procdir, in nubus_proc_add_rsrc()
Dnubus.c339 struct proc_dir_entry *procdir, in nubus_get_block_rsrc_dir()
359 struct proc_dir_entry *procdir, in nubus_get_display_vidmode()
391 struct proc_dir_entry *procdir, in nubus_get_display_resource()
413 struct proc_dir_entry *procdir, in nubus_get_network_resource()
435 struct proc_dir_entry *procdir, in nubus_get_cpu_resource()
468 struct proc_dir_entry *procdir, in nubus_get_private_resource()
586 struct proc_dir_entry *procdir, in nubus_get_icon()
605 struct proc_dir_entry *procdir, in nubus_get_vendorinfo()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dstats.h62 struct proc_dir_entry * rpc_proc_register(struct net *,struct rpc_stat *);
65 struct proc_dir_entry * svc_proc_register(struct net *, struct svc_stat *,
73 static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { retur… in rpc_proc_register()
77 static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s, in svc_proc_register()
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dviafbdev.h33 struct proc_dir_entry *proc_entry; /*viafb proc entry */
34 struct proc_dir_entry *iga1_proc_entry;
35 struct proc_dir_entry *iga2_proc_entry;
/kernel/linux/linux-5.10/net/sunrpc/
Dnetns.h11 struct proc_dir_entry *proc_net_rpc;
35 struct proc_dir_entry *use_gssp_proc;
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsrm_env.c40 static struct proc_dir_entry *base_dir;
41 static struct proc_dir_entry *named_dir;
42 static struct proc_dir_entry *numbered_dir;
/kernel/linux/linux-5.10/net/ipv6/
Dproc.c244 struct proc_dir_entry *p; in snmp6_register_dev()
259 idev->stats.proc_dir_entry = p; in snmp6_register_dev()
268 if (!idev->stats.proc_dir_entry) in snmp6_unregister_dev()
270 proc_remove(idev->stats.proc_dir_entry); in snmp6_unregister_dev()
271 idev->stats.proc_dir_entry = NULL; in snmp6_unregister_dev()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dproc_powerpc.c51 struct proc_dir_entry *pde; in proc_ppc64_init()
71 struct proc_dir_entry *root; in proc_ppc64_create()
/kernel/linux/linux-5.10/net/8021q/
Dvlan.h189 struct proc_dir_entry;
193 struct proc_dir_entry *proc_vlan_dir;
195 struct proc_dir_entry *proc_vlan_conf;
/kernel/linux/linux-5.10/drivers/pnp/isapnp/
Dproc.c15 static struct proc_dir_entry *isapnp_proc_bus_dir = NULL;
60 struct proc_dir_entry *de, *e; in isapnp_proc_attach_device()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsetup.c44 struct proc_dir_entry * proc_runway_root __read_mostly = NULL;
45 struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
46 struct proc_dir_entry * proc_mckinley_root __read_mostly = NULL;
/kernel/linux/linux-5.10/drivers/ide/
Dide-proc.c33 static struct proc_dir_entry *proc_ide_root;
473 static void ide_add_proc_entries(struct proc_dir_entry *dir, ide_proc_entry_t *p, void *data) in ide_add_proc_entries()
475 struct proc_dir_entry *ent; in ide_add_proc_entries()
486 static void ide_remove_proc_entries(struct proc_dir_entry *dir, ide_proc_entry_t *p) in ide_remove_proc_entries()
534 struct proc_dir_entry *ent; in ide_proc_port_register_devices()
535 struct proc_dir_entry *parent = hwif->proc; in ide_proc_port_register_devices()
/kernel/linux/linux-5.10/drivers/zorro/
Dproc.c98 static struct proc_dir_entry *proc_bus_zorro_dir;
102 struct proc_dir_entry *entry; in zorro_proc_attach_device()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dsimdisk.c32 struct proc_dir_entry *procfile;
151 static struct proc_dir_entry *simdisk_procdir;
266 struct proc_dir_entry *procdir) in simdisk_setup()
347 struct proc_dir_entry *procdir) in simdisk_teardown()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsalinfo.c61 struct proc_dir_entry *entry; /* registered entry (removal) */
84 static struct proc_dir_entry *salinfo_proc_entries[
594 struct proc_dir_entry *salinfo_dir; /* /proc/sal dir entry */ in salinfo_init()
595 struct proc_dir_entry **sdir = salinfo_proc_entries; /* keeps track of every entry */ in salinfo_init()
596 struct proc_dir_entry *dir, *entry; in salinfo_init()

12345678