1 #ifndef _LINUX_PROC_FS_H
2 #define _LINUX_PROC_FS_H
3
4
5
6
7
8 #define PROC_ROOT_INO 1
9
10 #define PROC_SUPER_MAGIC 0x9fa0
11
12 struct proc_dir_entry {
13 unsigned short low_ino;
14 unsigned short namelen;
15 char * name;
16 };
17
18 extern struct super_block *proc_read_super(struct super_block *,void *);
19 extern void proc_put_inode(struct inode *);
20 extern void proc_put_super(struct super_block *);
21 extern void proc_statfs(struct super_block *, struct statfs *);
22 extern void proc_read_inode(struct inode *);
23 extern void proc_write_inode(struct inode *);
24 extern int proc_match(int, const char *, struct proc_dir_entry *);
25
26 extern struct inode_operations proc_root_inode_operations;
27 extern struct inode_operations proc_base_inode_operations;
28 extern struct inode_operations proc_mem_inode_operations;
29 extern struct inode_operations proc_array_inode_operations;
30 extern struct inode_operations proc_kmsg_inode_operations;
31 extern struct inode_operations proc_link_inode_operations;
32 extern struct inode_operations proc_fd_inode_operations;
33
34 #endif