Subversion Repositories HelenOS

Rev

Rev 4581 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4581 Rev 4718
Line 157... Line 157...
157
    memcpy(&plb[first], path, cnt1);
157
    memcpy(&plb[first], path, cnt1);
158
    memcpy(plb, &path[cnt1], cnt2);
158
    memcpy(plb, &path[cnt1], cnt2);
159
 
159
 
160
    ipc_call_t answer;
160
    ipc_call_t answer;
161
    int phone = vfs_grab_phone(root->fs_handle);
161
    int phone = vfs_grab_phone(root->fs_handle);
162
    aid_t req = async_send_5(phone, VFS_LOOKUP, (ipcarg_t) first,
162
    aid_t req = async_send_5(phone, VFS_OUT_LOOKUP, (ipcarg_t) first,
163
        (ipcarg_t) (first + len - 1) % PLB_SIZE,
163
        (ipcarg_t) (first + len - 1) % PLB_SIZE,
164
        (ipcarg_t) root->dev_handle, (ipcarg_t) lflag, (ipcarg_t) index,
164
        (ipcarg_t) root->dev_handle, (ipcarg_t) lflag, (ipcarg_t) index,
165
        &answer);
165
        &answer);
166
   
166
   
167
    ipcarg_t rc;
167
    ipcarg_t rc;
Line 202... Line 202...
202
int vfs_open_node_internal(vfs_lookup_res_t *result)
202
int vfs_open_node_internal(vfs_lookup_res_t *result)
203
{
203
{
204
    int phone = vfs_grab_phone(result->triplet.fs_handle);
204
    int phone = vfs_grab_phone(result->triplet.fs_handle);
205
   
205
   
206
    ipc_call_t answer;
206
    ipc_call_t answer;
207
    aid_t req = async_send_2(phone, VFS_OPEN_NODE,
207
    aid_t req = async_send_2(phone, VFS_OUT_OPEN_NODE,
208
        (ipcarg_t) result->triplet.dev_handle,
208
        (ipcarg_t) result->triplet.dev_handle,
209
        (ipcarg_t) result->triplet.index, &answer);
209
        (ipcarg_t) result->triplet.index, &answer);
210
   
210
   
211
   
211
   
212
    ipcarg_t rc;
212
    ipcarg_t rc;