Go to the documentation of this file.
12 #include <linux/sched.h>
18 #ifdef CONFIG_PROC_SYSCTL
37 #define VMALLOC_TOTAL (VMALLOC_END - VMALLOC_START)
41 #define VMALLOC_TOTAL 0UL
42 #define get_vmalloc_info(vmi) \
45 (vmi)->largest_chunk = 0; \
87 return PROC_I(inode)->pid;
95 static inline int proc_fd(
struct inode *inode)
97 return PROC_I(inode)->fd;
115 static inline int pid_delete_dentry(
const struct dentry *
dentry)
124 static inline unsigned name_to_int(
struct dentry *
dentry)
130 if (len > 1 && *name ==
'0')
133 unsigned c = *name++ -
'0';
147 struct dentry *dentry);
161 struct dentry *
proc_pid_lookup(
struct inode *dir,
struct dentry * dentry,
unsigned int);
165 unsigned long *,
unsigned long *,
unsigned long *,
unsigned long *);
187 struct dentry *
proc_lookup(
struct inode *,
struct dentry *,
unsigned int);
195 const char *name,
int len,