Home | History | Annotate | Download | only in linux

Lines Matching defs:proc_dir_entry

41  * from unloading while proc_dir_entry is in use
50 struct proc_dir_entry {
63 struct proc_dir_entry *next, *parent, *subdir;
87 extern struct proc_dir_entry proc_root;
88 extern struct proc_dir_entry *proc_root_fs;
89 extern struct proc_dir_entry *proc_net;
90 extern struct proc_dir_entry *proc_net_stat;
91 extern struct proc_dir_entry *proc_bus;
92 extern struct proc_dir_entry *proc_root_driver;
93 extern struct proc_dir_entry *proc_root_kcore;
109 extern struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode,
110 struct proc_dir_entry *parent);
111 extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent);
115 extern struct inode *proc_get_inode(struct super_block *, unsigned int, struct proc_dir_entry *);
117 extern int proc_match(int, const char *,struct proc_dir_entry *);
121 * "struct proc_dir_entry" tree to traverse the filesystem.
148 extern void proc_device_tree_add_node(struct device_node *, struct proc_dir_entry *);
149 extern void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop);
150 extern void proc_device_tree_remove_prop(struct proc_dir_entry *pde,
152 extern void proc_device_tree_update_prop(struct proc_dir_entry *pde,
157 extern struct proc_dir_entry *proc_symlink(const char *,
158 struct proc_dir_entry *, const char *);
159 extern struct proc_dir_entry *proc_mkdir(const char *,struct proc_dir_entry *);
160 extern struct proc_dir_entry *proc_mkdir_mode(const char *name, mode_t mode,
161 struct proc_dir_entry *parent);
163 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
164 mode_t mode, struct proc_dir_entry *base,
167 struct proc_dir_entry *res=create_proc_entry(name,mode,base);
175 static inline struct proc_dir_entry *create_proc_info_entry(const char *name,
176 mode_t mode, struct proc_dir_entry *base, get_info_t *get_info)
178 struct proc_dir_entry *res=create_proc_entry(name,mode,base);
183 static inline struct proc_dir_entry *proc_net_create(const char *name,
189 static inline struct proc_dir_entry *proc_net_fops_create(const char *name,
192 struct proc_dir_entry *res = create_proc_entry(name, mode, proc_net);
215 static inline struct proc_dir_entry *create_proc_entry(const char *name,
216 mode_t mode, struct proc_dir_entry *parent) { return NULL; }
220 static inline struct proc_dir_entry *proc_symlink(const char *name,
221 struct proc_dir_entry *parent,const char *dest) {return NULL;}
222 static inline struct proc_dir_entry *proc_mkdir(const char *name,
223 struct proc_dir_entry *parent) {return NULL;}
225 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
226 mode_t mode, struct proc_dir_entry *base,
228 static inline struct proc_dir_entry *create_proc_info_entry(const char *name,
229 mode_t mode, struct proc_dir_entry *base, get_info_t *get_info)
236 extern struct proc_dir_entry proc_root;
255 struct proc_dir_entry *pde;
264 static inline struct proc_dir_entry *PDE(const struct inode *inode)