VM: restore >4k secondary cache functionality
[minix.git] / lib / libsffs / table.c
blob1744fcbfd0b17e373ef253d614addf81809fa0db
1 /* This file contains the file system call table.
3 * Created:
4 * April 2009 (D.C. van Moolenbroek)
5 */
7 #define _TABLE
8 #include "inc.h"
10 int (*call_vec[])(void) = {
11 no_sys, /* 0 */
12 no_sys, /* 1 getnode */
13 do_putnode, /* 2 putnode */
14 no_sys, /* 3 slink */
15 do_ftrunc, /* 4 ftrunc */
16 no_sys, /* 5 chown */
17 do_chmod, /* 6 chmod */
18 do_noop, /* 7 inhibread */
19 do_stat, /* 8 stat */
20 do_utime, /* 9 utime */
21 do_fstatfs, /* 10 fstatfs */
22 no_sys, /* 11 bread */
23 no_sys, /* 12 bwrite */
24 do_unlink, /* 13 unlink */
25 do_rmdir, /* 14 rmdir */
26 do_unmount, /* 15 unmount */
27 do_noop, /* 16 sync */
28 do_noop, /* 17 new_driver */
29 do_noop, /* 18 flush */
30 do_read, /* 19 read */
31 do_write, /* 20 write */
32 no_sys, /* 21 mknod */
33 do_mkdir, /* 22 mkdir */
34 do_create, /* 23 create */
35 no_sys, /* 24 link */
36 do_rename, /* 25 rename */
37 do_lookup, /* 26 lookup */
38 no_sys, /* 27 mountpoint */
39 do_readsuper, /* 28 readsuper */
40 no_sys, /* 29 newnode */
41 no_sys, /* 30 rdlink */
42 do_getdents, /* 31 getdents */
43 do_statvfs, /* 32 statvfs */
46 /* This should not fail with "array size is negative": */
47 extern int dummy[sizeof(call_vec) == NREQS * sizeof(call_vec[0]) ? 1 : -1];