include, vfs: statvfs, fstatvfs calls, contributed by Buccapatnam Tirumala, Gautam.
This commit is contained in:
@@ -73,6 +73,8 @@
|
||||
#define GETDENTS 80 /* to FS */
|
||||
#define LLSEEK 81 /* to VFS */
|
||||
#define FSTATFS 82 /* to VFS */
|
||||
#define STATVFS 83 /* to VFS */
|
||||
#define FSTATVFS 84 /* to VFS */
|
||||
#define SELECT 85 /* to VFS */
|
||||
#define FCHDIR 86 /* to VFS */
|
||||
#define FSYNC 87 /* to VFS */
|
||||
|
||||
@@ -245,6 +245,14 @@
|
||||
#define TAPE_STAT0 m2_l1
|
||||
#define TAPE_STAT1 m2_l2
|
||||
|
||||
/* Field names for the fstatvfs call */
|
||||
#define FSTATVFS_FD m1_i1
|
||||
#define FSTATVFS_BUF m1_p1
|
||||
|
||||
/* Field names for the statvfs call */
|
||||
#define STATVFS_LEN m1_i1
|
||||
#define STATVFS_NAME m1_p1
|
||||
#define STATVFS_BUF m1_p2
|
||||
/*===========================================================================*
|
||||
* Messages for networking layer *
|
||||
*===========================================================================*/
|
||||
|
||||
@@ -113,8 +113,9 @@ typedef struct {
|
||||
#define REQ_NEWNODE (VFS_BASE + 29)
|
||||
#define REQ_RDLINK (VFS_BASE + 30)
|
||||
#define REQ_GETDENTS (VFS_BASE + 31)
|
||||
#define REQ_STATVFS (VFS_BASE + 32)
|
||||
|
||||
#define NREQS 32
|
||||
#define NREQS 33
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user