Rev 2763 | Rev 2791 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2763 | Rev 2770 | ||
|---|---|---|---|
| Line 132... | Line 132... | ||
| 132 | * @param fs_handle File system handle of the file system where to perform |
132 | * @param fs_handle File system handle of the file system where to perform |
| 133 | * the lookup. |
133 | * the lookup. |
| 134 | * @param rid Request ID of the VFS_LOOKUP request. |
134 | * @param rid Request ID of the VFS_LOOKUP request. |
| 135 | * @param request VFS_LOOKUP request data itself. |
135 | * @param request VFS_LOOKUP request data itself. |
| 136 | */ |
136 | */ |
| 137 | void libfs_lookup(libfs_ops_t *ops, int fs_handle, ipc_callid_t rid, |
137 | void libfs_lookup(libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, |
| 138 | ipc_call_t *request) |
138 | ipc_call_t *request) |
| 139 | { |
139 | { |
| 140 | unsigned next = IPC_GET_ARG1(*request); |
140 | unsigned next = IPC_GET_ARG1(*request); |
| 141 | unsigned last = IPC_GET_ARG2(*request); |
141 | unsigned last = IPC_GET_ARG2(*request); |
| 142 | int dev_handle = IPC_GET_ARG3(*request); |
142 | dev_handle_t dev_handle = IPC_GET_ARG3(*request); |
| 143 | int lflag = IPC_GET_ARG4(*request); |
143 | int lflag = IPC_GET_ARG4(*request); |
| 144 | int index = IPC_GET_ARG5(*request); /* when L_LINK specified */ |
144 | fs_index_t index = IPC_GET_ARG5(*request); /* when L_LINK specified */ |
| 145 | 145 | ||
| 146 | if (last < next) |
146 | if (last < next) |
| 147 | last += PLB_SIZE; |
147 | last += PLB_SIZE; |
| 148 | 148 | ||
| 149 | void *par = NULL; |
149 | void *par = NULL; |