This source file includes following definitions.
- init_proc_fs
1 #include <linux/module.h>
2 #include <linux/fs.h>
3 #include <linux/proc_fs.h>
4
5
6
7
8
9
10 extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start,
11 off_t offset, int length, int inout);
12 extern struct inode_operations proc_scsi_inode_operations;
13
14 static struct symbol_table procfs_syms = {
15
16 #include <linux/symtab_begin.h>
17 X(proc_register),
18 X(proc_unregister),
19 X(in_group_p),
20 X(generate_cluster),
21 X(proc_net_inode_operations),
22 X(proc_net),
23
24
25
26
27
28 X(proc_scsi),
29 X(proc_scsi_inode_operations),
30 X(dispatch_scsi_info_ptr),
31 #include <linux/symtab_end.h>
32 };
33
34 static struct file_system_type proc_fs_type = {
35 proc_read_super, "proc", 0, NULL
36 };
37
38 int init_proc_fs(void)
39 {
40 int status;
41
42 if ((status = register_filesystem(&proc_fs_type)) == 0)
43 status = register_symtab(&procfs_syms);
44 return status;
45 }
46