Rev 4581 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4581 | Rev 4718 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | 77 | ||
78 | switch (IPC_GET_METHOD(call)) { |
78 | switch (IPC_GET_METHOD(call)) { |
79 | case IPC_M_PHONE_HUNGUP: |
79 | case IPC_M_PHONE_HUNGUP: |
80 | keep_on_going = false; |
80 | keep_on_going = false; |
81 | break; |
81 | break; |
82 | case VFS_REGISTER: |
82 | case VFS_IN_REGISTER: |
83 | vfs_register(callid, &call); |
83 | vfs_register(callid, &call); |
84 | keep_on_going = false; |
84 | keep_on_going = false; |
85 | break; |
85 | break; |
86 | case VFS_MOUNT: |
86 | case VFS_IN_MOUNT: |
87 | vfs_mount(callid, &call); |
87 | vfs_mount(callid, &call); |
88 | break; |
88 | break; |
89 | case VFS_OPEN: |
89 | case VFS_IN_OPEN: |
90 | vfs_open(callid, &call); |
90 | vfs_open(callid, &call); |
91 | break; |
91 | break; |
92 | case VFS_OPEN_NODE: |
92 | case VFS_IN_OPEN_NODE: |
93 | vfs_open_node(callid, &call); |
93 | vfs_open_node(callid, &call); |
94 | break; |
94 | break; |
95 | case VFS_CLOSE: |
95 | case VFS_IN_CLOSE: |
96 | vfs_close(callid, &call); |
96 | vfs_close(callid, &call); |
97 | break; |
97 | break; |
98 | case VFS_READ: |
98 | case VFS_IN_READ: |
99 | vfs_read(callid, &call); |
99 | vfs_read(callid, &call); |
100 | break; |
100 | break; |
101 | case VFS_WRITE: |
101 | case VFS_IN_WRITE: |
102 | vfs_write(callid, &call); |
102 | vfs_write(callid, &call); |
103 | break; |
103 | break; |
104 | case VFS_SEEK: |
104 | case VFS_IN_SEEK: |
105 | vfs_seek(callid, &call); |
105 | vfs_seek(callid, &call); |
106 | break; |
106 | break; |
107 | case VFS_TRUNCATE: |
107 | case VFS_IN_TRUNCATE: |
108 | vfs_truncate(callid, &call); |
108 | vfs_truncate(callid, &call); |
109 | break; |
109 | break; |
- | 110 | case VFS_IN_FSTAT: |
|
- | 111 | vfs_fstat(callid, &call); |
|
- | 112 | break; |
|
- | 113 | case VFS_IN_STAT: |
|
- | 114 | vfs_stat(callid, &call); |
|
- | 115 | break; |
|
110 | case VFS_MKDIR: |
116 | case VFS_IN_MKDIR: |
111 | vfs_mkdir(callid, &call); |
117 | vfs_mkdir(callid, &call); |
112 | break; |
118 | break; |
113 | case VFS_UNLINK: |
119 | case VFS_IN_UNLINK: |
114 | vfs_unlink(callid, &call); |
120 | vfs_unlink(callid, &call); |
115 | break; |
121 | break; |
116 | case VFS_RENAME: |
122 | case VFS_IN_RENAME: |
117 | vfs_rename(callid, &call); |
123 | vfs_rename(callid, &call); |
118 | break; |
124 | break; |
119 | case VFS_DEVICE: |
- | |
120 | vfs_device(callid, &call); |
- | |
121 | break; |
- | |
122 | case VFS_SYNC: |
125 | case VFS_IN_SYNC: |
123 | vfs_sync(callid, &call); |
126 | vfs_sync(callid, &call); |
124 | break; |
127 | break; |
125 | case VFS_NODE: |
- | |
126 | vfs_node(callid, &call); |
- | |
127 | break; |
- | |
128 | default: |
128 | default: |
129 | ipc_answer_0(callid, ENOTSUP); |
129 | ipc_answer_0(callid, ENOTSUP); |
130 | break; |
130 | break; |
131 | } |
131 | } |
132 | } |
132 | } |