/trunk/uspace/srv/console/console.c |
---|
537,7 → 537,7 |
sizeof(keyfield_t) * fb_info.cols * fb_info.rows, |
PROTO_READ | PROTO_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); |
if (!interbuffer) { |
if (ipc_share_out_send(fb_info.phone, interbuffer, |
if (ipc_share_out_start(fb_info.phone, interbuffer, |
AS_AREA_READ) != EOK) { |
munmap(interbuffer, |
sizeof(keyfield_t) * fb_info.cols * fb_info.rows); |
/trunk/uspace/srv/console/gcons.c |
---|
325,7 → 325,7 |
rc = async_req_1_0(fbphone, FB_PREPARE_SHM, (ipcarg_t) shm); |
if (rc) |
goto exit; |
rc = ipc_share_out_send(fbphone, shm, PROTO_READ); |
rc = ipc_share_out_start(fbphone, shm, PROTO_READ); |
if (rc) |
goto drop; |
/* Draw logo */ |
386,7 → 386,7 |
rc = async_req_1_0(fbphone, FB_PREPARE_SHM, (ipcarg_t) shm); |
if (rc) |
goto exit; |
rc = ipc_share_out_send(fbphone, shm, PROTO_READ); |
rc = ipc_share_out_start(fbphone, shm, PROTO_READ); |
if (rc) |
goto drop; |
/trunk/uspace/srv/rd/rd.c |
---|
110,7 → 110,7 |
* The client sends an as_area that can absorb the whole |
* block. |
*/ |
(void) ipc_share_out_deliver(callid, fs_va); |
(void) ipc_share_out_finalize(callid, fs_va); |
} else { |
/* |
* The client offered as_area too small. |
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c |
---|
307,7 → 307,7 |
} |
size_t bytes = max(0, min(dentry->size - pos, len)); |
(void) ipc_data_read_deliver(callid, dentry->data + pos, bytes); |
(void) ipc_data_read_finalize(callid, dentry->data + pos, bytes); |
/* |
* Answer the VFS_READ call. |
349,7 → 349,7 |
*/ |
if (pos + len <= dentry->size) { |
/* The file size is not changing. */ |
(void) ipc_data_write_deliver(callid, dentry->data + pos, len); |
(void) ipc_data_write_finalize(callid, dentry->data + pos, len); |
ipc_answer_1(rid, EOK, len); |
return; |
} |
369,7 → 369,7 |
} |
dentry->size += delta; |
dentry->data = newdata; |
(void) ipc_data_write_deliver(callid, dentry->data + pos, len); |
(void) ipc_data_write_finalize(callid, dentry->data + pos, len); |
ipc_answer_1(rid, EOK, len); |
} |
/trunk/uspace/srv/devmap/devmap.c |
---|
233,7 → 233,7 |
/* |
* Send confirmation to sender and get data into buffer. |
*/ |
if (EOK != ipc_data_write_deliver(callid, driver->name, name_size)) { |
if (EOK != ipc_data_write_finalize(callid, driver->name, name_size)) { |
printf("Cannot read driver name.\n"); |
free(driver->name); |
free(driver); |
394,7 → 394,7 |
return; |
} |
ipc_data_write_deliver(callid, device->name, size); |
ipc_data_write_finalize(callid, device->name, size); |
device->name[size] = 0; |
list_initialize(&(device->devices)); |
513,7 → 513,8 |
/* |
* Send confirmation to sender and get data into buffer. |
*/ |
if (EOK != (retval = ipc_data_write_deliver(callid, name, name_size))) { |
if (EOK != (retval = ipc_data_write_finalize(callid, name, |
name_size))) { |
ipc_answer_0(iid, EREFUSED); |
return; |
} |
/trunk/uspace/srv/vfs/vfs_open.c |
---|
82,7 → 82,7 |
} |
int rc; |
if ((rc = ipc_data_write_deliver(callid, path, size))) { |
if ((rc = ipc_data_write_finalize(callid, path, size))) { |
ipc_answer_0(rid, rc); |
free(path); |
return; |
/trunk/uspace/srv/vfs/vfs_mount.c |
---|
106,7 → 106,7 |
* Deliver the file system name. |
*/ |
char fs_name[FS_NAME_MAXLEN + 1]; |
(void) ipc_data_write_deliver(callid, fs_name, size); |
(void) ipc_data_write_finalize(callid, fs_name, size); |
fs_name[size] = '\0'; |
/* |
150,7 → 150,7 |
/* |
* Deliver the mount point. |
*/ |
(void) ipc_data_write_deliver(callid, buf, size); |
(void) ipc_data_write_finalize(callid, buf, size); |
/* |
* Lookup the root node of the filesystem being mounted. |
/trunk/uspace/srv/vfs/vfs_register.c |
---|
205,7 → 205,7 |
link_initialize(&fs_info->fs_link); |
futex_initialize(&fs_info->phone_futex, 1); |
rc = ipc_data_write_deliver(callid, &fs_info->vfs_info, size); |
rc = ipc_data_write_finalize(callid, &fs_info->vfs_info, size); |
if (rc != EOK) { |
dprintf("Failed to deliver the VFS info into our AS, rc=%d.\n", |
rc); |
299,7 → 299,7 |
/* |
* Commit to read-only sharing the PLB with the client. |
*/ |
(void) ipc_share_in_deliver(callid, plb, |
(void) ipc_share_in_finalize(callid, plb, |
AS_AREA_READ | AS_AREA_CACHEABLE); |
dprintf("Sharing PLB.\n"); |