Release 4.7 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 *);
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 | denis v. lunev | 41 | 97.62% | 1 | 50.00% |
al viro | 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 | 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 | 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 |
pre-git | pre-git | 25 | 92.59% | 2 | 50.00% |
roland dreier | roland dreier | 1 | 3.70% | 1 | 25.00% |
linus torvalds | linus torvalds | 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 |
pre-git | pre-git | 21 | 95.45% | 2 | 66.67% |
linus torvalds | linus torvalds | 1 | 4.55% | 1 | 33.33% |
| Total | 22 | 100.00% | 3 | 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 | 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 | randy dunlap | 24 | 96.00% | 1 | 50.00% |
al viro | 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 | 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 | 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 | 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 | david howells | 15 | 75.00% | 1 | 50.00% |
al viro | 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 | david howells | 8 | 72.73% | 1 | 50.00% |
al viro | 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 | david howells | 11 | 55.00% | 1 | 25.00% |
eric w. biederman | eric w. biederman | 8 | 40.00% | 2 | 50.00% |
al viro | al viro | 1 | 5.00% | 1 | 25.00% |
| Total | 20 | 100.00% | 4 | 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 | david howells | 36 | 100.00% | 1 | 100.00% |
| Total | 36 | 100.00% | 1 | 100.00% |
#endif /* _LINUX_PROC_FS_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
david howells | david howells | 297 | 52.75% | 6 | 18.75% |
pre-git | pre-git | 100 | 17.76% | 8 | 25.00% |
denis v. lunev | denis v. lunev | 53 | 9.41% | 1 | 3.12% |
randy dunlap | randy dunlap | 24 | 4.26% | 1 | 3.12% |
al viro | al viro | 23 | 4.09% | 3 | 9.38% |
andrew morton | andrew morton | 23 | 4.09% | 3 | 9.38% |
eric w. biederman | eric w. biederman | 17 | 3.02% | 4 | 12.50% |
alexey dobriyan | alexey dobriyan | 15 | 2.66% | 1 | 3.12% |
linus torvalds | linus torvalds | 5 | 0.89% | 2 | 6.25% |
jeff layton | jeff layton | 3 | 0.53% | 1 | 3.12% |
ben nizette | ben nizette | 2 | 0.36% | 1 | 3.12% |
roland dreier | roland dreier | 1 | 0.18% | 1 | 3.12% |
| Total | 563 | 100.00% | 32 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.