Implement support for getvfsstat(2)

Change-Id: I99b697919d411c57105de561105beefc7d1d309a
This commit is contained in:
David van Moolenbroek
2013-08-20 01:39:47 +02:00
committed by Lionel Sambuc
parent 7113bcb896
commit 266239fe64
26 changed files with 267 additions and 88 deletions

View File

@@ -74,6 +74,7 @@
#define SYSUNAME 78
#define GETDENTS_321 80 /* to VFS */
#define LLSEEK 81 /* to VFS */
#define GETVFSSTAT 82 /* to VFS */
#define STATVFS 83 /* to VFS */
#define FSTATVFS 84 /* to VFS */
#define SELECT 85 /* to VFS */

View File

@@ -902,6 +902,11 @@
#define SEL_ERRORFDS m8_p3
#define SEL_TIMEOUT m8_p4
/* Field names for the getvfsstat(2) call. */
#define VFS_GETVFSSTAT_BUF m1_p1
#define VFS_GETVFSSTAT_SIZE m1_i1
#define VFS_GETVFSSTAT_FLAGS m1_i2
/* Field names for the fstatvfs call */
#define FSTATVFS_FD m1_i1
#define FSTATVFS_BUF m1_p1

View File

@@ -13,7 +13,6 @@ int getsysinfo(endpoint_t who, int what, void *where, size_t size);
#define SI_DATA_STORE 5 /* get copy of data store mappings */
#define SI_CALL_STATS 9 /* system call statistics */
#define SI_PROCPUB_TAB 11 /* copy of public entries of process table */
#define SI_VMNT_TAB 12 /* get vmnt table */
#endif