Searched refs:proc_dir_entry (Results 1 – 25 of 25) sorted by relevance
/fs/proc/ |
D | generic.c | 37 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 …]
|
D | internal.h | 30 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 …]
|
D | inode.c | 35 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 …]
|
D | proc_net.c | 32 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 …]
|
D | proc_tty.c | 23 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()
|
D | root.c | 361 struct proc_dir_entry proc_root = {
|
D | kcore.c | 44 static struct proc_dir_entry *proc_root_kcore;
|
D | vmcore.c | 51 static struct proc_dir_entry *proc_vmcore;
|
D | proc_sysctl.c | 1743 struct proc_dir_entry *proc_sys_root; in proc_sys_init()
|
/fs/nfs/ |
D | netns.h | 38 struct proc_dir_entry *proc_nfsfs;
|
D | client.c | 1297 struct proc_dir_entry *p; in nfs_fs_proc_net_init()
|
/fs/jfs/ |
D | jfs_debug.c | 57 struct proc_dir_entry *base; in jfs_proc_init()
|
/fs/lockd/ |
D | procfs.c | 73 struct proc_dir_entry *entry; in lockd_create_procfs()
|
/fs/reiserfs/ |
D | procfs.c | 399 static struct proc_dir_entry *proc_info_root = NULL; 438 struct proc_dir_entry *de = REISERFS_SB(sb)->procdir; in reiserfs_proc_info_done()
|
D | reiserfs.h | 437 struct proc_dir_entry; 609 struct proc_dir_entry *procdir;
|
/fs/afs/ |
D | main.c | 33 static struct proc_dir_entry *afs_proc_symlink;
|
D | proc.c | 614 struct proc_dir_entry *dir; in afs_proc_cell_setup() 660 struct proc_dir_entry *p; in afs_proc_init()
|
D | internal.h | 301 struct proc_dir_entry *proc_afs; /* /proc/net/afs directory */
|
/fs/ext4/ |
D | sysfs.c | 49 static struct proc_dir_entry *ext4_proc_root;
|
D | ext4.h | 1475 struct proc_dir_entry *s_proc;
|
/fs/cifs/ |
D | cifs_debug.c | 667 static struct proc_dir_entry *proc_fs_cifs;
|
/fs/nfsd/ |
D | nfsctl.c | 1437 struct proc_dir_entry *entry; in create_proc_exports_entry()
|
/fs/f2fs/ |
D | sysfs.c | 22 static struct proc_dir_entry *f2fs_proc_root;
|
D | f2fs.h | 1569 struct proc_dir_entry *s_proc; /* proc entry */
|
/fs/jbd2/ |
D | journal.c | 1275 static struct proc_dir_entry *proc_jbd2_stats;
|