Changeset 96b02eb9 in mainline for uspace/srv/vfs/vfs_ops.c
- Timestamp:
- 2010-12-14T12:52:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
r554debd r96b02eb9 79 79 size_t rsize; 80 80 unsigned rlnkcnt; 81 ipcarg_t rc;81 sysarg_t rc; 82 82 int phone; 83 83 aid_t msg; … … 126 126 phone = vfs_grab_phone(fs_handle); 127 127 msg = async_send_1(phone, VFS_OUT_MOUNTED, 128 ( ipcarg_t) devmap_handle, &answer);128 (sysarg_t) devmap_handle, &answer); 129 129 /* send the mount options */ 130 130 rc = async_data_write_start(phone, (void *)opts, … … 188 188 phone = vfs_grab_phone(mp_res.triplet.fs_handle); 189 189 msg = async_send_4(phone, VFS_OUT_MOUNT, 190 ( ipcarg_t) mp_res.triplet.devmap_handle,191 ( ipcarg_t) mp_res.triplet.index,192 ( ipcarg_t) fs_handle,193 ( ipcarg_t) devmap_handle, &answer);190 (sysarg_t) mp_res.triplet.devmap_handle, 191 (sysarg_t) mp_res.triplet.index, 192 (sysarg_t) fs_handle, 193 (sysarg_t) devmap_handle, &answer); 194 194 195 195 /* send connection */ … … 716 716 717 717 /* Wait for reply from the FS server. */ 718 ipcarg_t rc;718 sysarg_t rc; 719 719 async_wait_for(msg, &rc); 720 720 … … 747 747 748 748 /* Wait for reply from the FS server. */ 749 ipcarg_t rc;749 sysarg_t rc; 750 750 async_wait_for(msg, &rc); 751 751 … … 839 839 * don't have to bother. 840 840 */ 841 ipcarg_t rc;841 sysarg_t rc; 842 842 ipc_call_t answer; 843 843 if (read) { … … 973 973 fs_index_t index, aoff64_t size) 974 974 { 975 ipcarg_t rc;975 sysarg_t rc; 976 976 int fs_phone; 977 977 978 978 fs_phone = vfs_grab_phone(fs_handle); 979 rc = async_req_4_0(fs_phone, VFS_OUT_TRUNCATE, ( ipcarg_t) devmap_handle,980 ( ipcarg_t) index, LOWER32(size), UPPER32(size));979 rc = async_req_4_0(fs_phone, VFS_OUT_TRUNCATE, (sysarg_t) devmap_handle, 980 (sysarg_t) index, LOWER32(size), UPPER32(size)); 981 981 vfs_release_phone(fs_handle, fs_phone); 982 982 return (int)rc; … … 1005 1005 1006 1006 fibril_mutex_unlock(&file->lock); 1007 ipc_answer_0(rid, ( ipcarg_t)rc);1007 ipc_answer_0(rid, (sysarg_t)rc); 1008 1008 } 1009 1009 … … 1011 1011 { 1012 1012 int fd = IPC_GET_ARG1(*request); 1013 ipcarg_t rc;1013 sysarg_t rc; 1014 1014 1015 1015 vfs_file_t *file = vfs_file_get(fd); … … 1084 1084 ipc_forward_fast(callid, fs_phone, 0, 0, 0, IPC_FF_ROUTE_FROM_ME); 1085 1085 1086 ipcarg_t rv;1086 sysarg_t rv; 1087 1087 async_wait_for(msg, &rv); 1088 1088 vfs_release_phone(node->fs_handle, fs_phone);
Note:
See TracChangeset
for help on using the changeset viewer.