xref: /minix3/minix/fs/mfs/table.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 
2 /* This file contains the table used to map system call numbers onto the
3  * routines that perform them.
4  */
5 
6 #include <minix/libminixfs.h>
7 
8 #define _TABLE
9 
10 #include "fs.h"
11 #include "inode.h"
12 #include "buf.h"
13 #include "super.h"
14 
15 int (*fs_call_vec[])(void) = {
16         no_sys,             /* 0   not used */
17         no_sys,             /* 1   */		/* Was: fs_getnode */
18         fs_putnode,         /* 2   */
19         fs_slink,           /* 3   */
20         fs_ftrunc,          /* 4   */
21         fs_chown,           /* 5   */
22 	fs_chmod,           /* 6   */
23         fs_inhibread,       /* 7   */
24         fs_stat,            /* 8   */
25         fs_utime,           /* 9   */
26         fs_statvfs,         /* 10  */
27         fs_breadwrite,      /* 11  */
28         fs_breadwrite,      /* 12  */
29         fs_unlink,	    /* 13  */
30         fs_unlink,          /* 14  */
31         fs_unmount,         /* 15  */
32 	fs_sync,            /* 16  */
33         fs_new_driver,      /* 17  */
34         fs_flush,	    /* 18  */
35         fs_readwrite,	    /* 19  */
36         fs_readwrite,	    /* 20  */
37         fs_mknod,           /* 21  */
38         fs_mkdir,           /* 22  */
39         fs_create,          /* 23  */
40         fs_link,            /* 24  */
41         fs_rename,          /* 25  */
42         fs_lookup,          /* 26  */
43         fs_mountpoint,      /* 27  */
44         fs_readsuper,	    /* 28  */
45         no_sys,		    /* 29  */		/* Was: fs_newnode */
46         fs_rdlink,	    /* 30  */
47         fs_getdents,	    /* 31  */
48         fs_readwrite,       /* 32  */
49         fs_bpeek,           /* 33  */
50 };
51 
52