aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r--fs/proc/internal.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 05b3e9006262..1c81c8f1aeed 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -46,21 +46,24 @@ extern int nommu_vma_show(struct seq_file *, struct vm_area_struct *);
46 46
47extern int maps_protect; 47extern int maps_protect;
48 48
49extern void create_seq_entry(char *name, mode_t mode, const struct file_operations *f); 49extern void create_seq_entry(char *name, mode_t mode,
50extern int proc_exe_link(struct inode *, struct dentry **, struct vfsmount **); 50 const struct file_operations *f);
51extern int proc_tid_stat(struct task_struct *, char *); 51extern int proc_exe_link(struct inode *, struct path *);
52extern int proc_tgid_stat(struct task_struct *, char *); 52extern int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns,
53extern int proc_pid_status(struct task_struct *, char *); 53 struct pid *pid, struct task_struct *task);
54extern int proc_pid_statm(struct task_struct *, char *); 54extern int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns,
55 struct pid *pid, struct task_struct *task);
56extern int proc_pid_status(struct seq_file *m, struct pid_namespace *ns,
57 struct pid *pid, struct task_struct *task);
58extern int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
59 struct pid *pid, struct task_struct *task);
60extern loff_t mem_lseek(struct file *file, loff_t offset, int orig);
55 61
56extern const struct file_operations proc_maps_operations; 62extern const struct file_operations proc_maps_operations;
57extern const struct file_operations proc_numa_maps_operations; 63extern const struct file_operations proc_numa_maps_operations;
58extern const struct file_operations proc_smaps_operations; 64extern const struct file_operations proc_smaps_operations;
59 65extern const struct file_operations proc_clear_refs_operations;
60extern const struct file_operations proc_maps_operations; 66extern const struct file_operations proc_pagemap_operations;
61extern const struct file_operations proc_numa_maps_operations;
62extern const struct file_operations proc_smaps_operations;
63
64 67
65void free_proc_entry(struct proc_dir_entry *de); 68void free_proc_entry(struct proc_dir_entry *de);
66 69