Release 4.12 include/linux/proc_fs.h
/*
* The proc filesystem constants/structures
*/
#ifndef _LINUX_PROC_FS_H
#define _LINUX_PROC_FS_H
#include <linux/types.h>
#include <linux/fs.h>
struct proc_dir_entry;
#ifdef CONFIG_PROC_FS
extern void proc_root_init(void);
extern void proc_flush_task(struct task_struct *);
extern struct proc_dir_entry *proc_symlink(const char *,
struct proc_dir_entry *, const char *);
extern struct proc_dir_entry *proc_mkdir(const char *, struct proc_dir_entry *);
extern struct proc_dir_entry *proc_mkdir_data(const char *, umode_t,
struct proc_dir_entry *, void *);
extern struct proc_dir_entry *proc_mkdir_mode(const char *, umode_t,
struct proc_dir_entry *);
struct proc_dir_entry *proc_create_mount_point(const char *name);
extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
struct proc_dir_entry *,
const struct file_operations *,
void *);
static inline struct proc_dir_entry *proc_create(
const char *name, umode_t mode, struct proc_dir_entry *parent,
const struct file_operations *proc_fops)
{
return proc_create_data(name, mode, parent, proc_fops, NULL);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Denis V. Lunev | 41 | 97.62% | 1 | 50.00% |
Al Viro | 1 | 2.38% | 1 | 50.00% |
Total | 42 | 100.00% | 2 | 100.00% |
extern void proc_set_size(struct proc_dir_entry *, loff_t);
extern void proc_set_user(struct proc_dir_entry *, kuid_t, kgid_t);
extern void *PDE_DATA(const struct inode *);
extern void *proc_get_parent_data(const struct inode *);
extern void proc_remove(struct proc_dir_entry *);
extern void remove_proc_entry(const char *, struct proc_dir_entry *);
extern int remove_proc_subtree(const char *, struct proc_dir_entry *);
#else /* CONFIG_PROC_FS */
static inline void proc_root_init(void)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
static inline void proc_flush_task(struct task_struct *task)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 11 | 100.00% | 2 | 100.00% |
Total | 11 | 100.00% | 2 | 100.00% |
static inline struct proc_dir_entry *proc_symlink(const char *name,
struct proc_dir_entry *parent,const char *dest) { return NULL;}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 25 | 92.59% | 2 | 50.00% |
Linus Torvalds | 1 | 3.70% | 1 | 25.00% |
Roland Dreier | 1 | 3.70% | 1 | 25.00% |
Total | 27 | 100.00% | 4 | 100.00% |
static inline struct proc_dir_entry *proc_mkdir(const char *name,
struct proc_dir_entry *parent) {return NULL;}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 21 | 95.45% | 2 | 66.67% |
Linus Torvalds | 1 | 4.55% | 1 | 33.33% |
Total | 22 | 100.00% | 3 | 100.00% |
static inline struct proc_dir_entry *proc_create_mount_point(const char *name) { return NULL; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Seth Forshee | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
static inline struct proc_dir_entry *proc_mkdir_data(const char *name,
umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 29 | 100.00% | 1 | 100.00% |
Total | 29 | 100.00% | 1 | 100.00% |
static inline struct proc_dir_entry *proc_mkdir_mode(const char *name,
umode_t mode, struct proc_dir_entry *parent) { return NULL; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Randy Dunlap | 24 | 96.00% | 1 | 50.00% |
Al Viro | 1 | 4.00% | 1 | 50.00% |
Total | 25 | 100.00% | 2 | 100.00% |
#define proc_create(name, mode, parent, proc_fops) ({NULL;})
#define proc_create_data(name, mode, parent, proc_fops, data) ({NULL;})
static inline void proc_set_size(struct proc_dir_entry *de, loff_t size) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
static inline void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
static inline void *PDE_DATA(const struct inode *inode) {BUG(); return NULL;}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
static inline void *proc_get_parent_data(const struct inode *inode) { BUG(); return NULL; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 15 | 75.00% | 1 | 50.00% |
Al Viro | 5 | 25.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
static inline void proc_remove(struct proc_dir_entry *de) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 8 | 72.73% | 1 | 50.00% |
Al Viro | 3 | 27.27% | 1 | 50.00% |
Total | 11 | 100.00% | 2 | 100.00% |
#define remove_proc_entry(name, parent) do {} while (0)
static inline int remove_proc_subtree(const char *name, struct proc_dir_entry *parent) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 12 | 60.00% | 1 | 33.33% |
Eric W. Biedermann | 7 | 35.00% | 1 | 33.33% |
Al Viro | 1 | 5.00% | 1 | 33.33% |
Total | 20 | 100.00% | 3 | 100.00% |
#endif /* CONFIG_PROC_FS */
struct net;
static inline struct proc_dir_entry *proc_net_mkdir(
struct net *net, const char *name, struct proc_dir_entry *parent)
{
return proc_mkdir_data(name, 0, parent, net);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 36 | 100.00% | 1 | 100.00% |
Total | 36 | 100.00% | 1 | 100.00% |
struct ns_common;
int open_related_ns(struct ns_common *ns,
struct ns_common *(*get_ns)(struct ns_common *ns));
#endif /* _LINUX_PROC_FS_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 298 | 48.30% | 6 | 17.65% |
Linus Torvalds (pre-git) | 100 | 16.21% | 8 | 23.53% |
Denis V. Lunev | 53 | 8.59% | 1 | 2.94% |
Seth Forshee | 28 | 4.54% | 1 | 2.94% |
Andrey Vagin | 26 | 4.21% | 1 | 2.94% |
Randy Dunlap | 24 | 3.89% | 1 | 2.94% |
Al Viro | 23 | 3.73% | 3 | 8.82% |
Andrew Morton | 23 | 3.73% | 3 | 8.82% |
Eric W. Biedermann | 16 | 2.59% | 3 | 8.82% |
Alexey Dobriyan | 16 | 2.59% | 2 | 5.88% |
Linus Torvalds | 5 | 0.81% | 2 | 5.88% |
Jeff Layton | 3 | 0.49% | 1 | 2.94% |
Ben Nizette | 1 | 0.16% | 1 | 2.94% |
Roland Dreier | 1 | 0.16% | 1 | 2.94% |
Total | 617 | 100.00% | 34 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.