Rev 4537 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4537 | Rev 4668 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | /** Unique identifier of the fs. */ |
55 | /** Unique identifier of the fs. */ |
56 | char name[FS_NAME_MAXLEN + 1]; |
56 | char name[FS_NAME_MAXLEN + 1]; |
57 | } vfs_info_t; |
57 | } vfs_info_t; |
58 | 58 | ||
59 | typedef enum { |
59 | typedef enum { |
60 | VFS_OPEN_NODE = IPC_FIRST_USER_METHOD, |
60 | VFS_IN_OPEN = IPC_FIRST_USER_METHOD, |
- | 61 | VFS_IN_OPEN_NODE, |
|
61 | VFS_READ, |
62 | VFS_IN_READ, |
62 | VFS_WRITE, |
63 | VFS_IN_WRITE, |
- | 64 | VFS_IN_SEEK, |
|
63 | VFS_TRUNCATE, |
65 | VFS_IN_TRUNCATE, |
- | 66 | VFS_IN_FSTAT, |
|
- | 67 | VFS_IN_CLOSE, |
|
64 | VFS_MOUNT, |
68 | VFS_IN_MOUNT, |
65 | VFS_UNMOUNT, |
69 | VFS_IN_UNMOUNT, |
66 | VFS_DEVICE, |
70 | VFS_IN_SYNC, |
- | 71 | VFS_IN_REGISTER, |
|
67 | VFS_SYNC, |
72 | VFS_IN_MKDIR, |
68 | VFS_CLOSE, |
73 | VFS_IN_UNLINK, |
69 | VFS_LAST_CMN /* keep this the last member of this enum */ |
74 | VFS_IN_RENAME, |
- | 75 | VFS_IN_STAT |
|
70 | } vfs_request_cmn_t; |
76 | } vfs_in_request_t; |
71 | 77 | ||
72 | typedef enum { |
78 | typedef enum { |
73 | VFS_LOOKUP = VFS_LAST_CMN, |
79 | VFS_OUT_OPEN_NODE = IPC_FIRST_USER_METHOD, |
74 | VFS_MOUNTED, |
80 | VFS_OUT_READ, |
75 | VFS_DESTROY, |
81 | VFS_OUT_WRITE, |
76 | VFS_LAST_CLNT /* keep this the last member of this enum */ |
82 | VFS_OUT_TRUNCATE, |
77 | } vfs_request_clnt_t; |
83 | VFS_OUT_CLOSE, |
78 | - | ||
79 | typedef enum { |
84 | VFS_OUT_MOUNT, |
80 | VFS_REGISTER = VFS_LAST_CMN, |
85 | VFS_OUT_MOUNTED, |
81 | VFS_OPEN, |
86 | VFS_OUT_UNMOUNT, |
82 | VFS_SEEK, |
87 | VFS_OUT_SYNC, |
83 | VFS_MKDIR, |
88 | VFS_OUT_STAT, |
84 | VFS_UNLINK, |
89 | VFS_OUT_LOOKUP, |
85 | VFS_RENAME, |
90 | VFS_OUT_DESTROY, |
86 | VFS_NODE, |
91 | VFS_OUT_LAST |
87 | VFS_LAST_SRV /* keep this the last member of this enum */ |
- | |
88 | } vfs_request_srv_t; |
92 | } vfs_out_request_t; |
89 | 93 | ||
90 | /* |
94 | /* |
91 | * Lookup flags. |
95 | * Lookup flags. |
92 | */ |
96 | */ |
93 | 97 |