Changeset 215e375 in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c


Ignore:
Timestamp:
2007-12-31T17:23:20Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f57f8ea
Parents:
27d293a
Message:

The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r27d293a r215e375  
    308308
    309309        size_t bytes = max(0, min(dentry->size - pos, len));
    310         (void) ipc_data_read_deliver(callid, dentry->data + pos, bytes);
     310        (void) ipc_data_read_finalize(callid, dentry->data + pos, bytes);
    311311
    312312        /*
     
    350350        if (pos + len <= dentry->size) {
    351351                /* The file size is not changing. */
    352                 (void) ipc_data_write_deliver(callid, dentry->data + pos, len);
     352                (void) ipc_data_write_finalize(callid, dentry->data + pos, len);
    353353                ipc_answer_1(rid, EOK, len);
    354354                return;
     
    370370        dentry->size += delta;
    371371        dentry->data = newdata;
    372         (void) ipc_data_write_deliver(callid, dentry->data + pos, len);
     372        (void) ipc_data_write_finalize(callid, dentry->data + pos, len);
    373373        ipc_answer_1(rid, EOK, len);
    374374}
Note: See TracChangeset for help on using the changeset viewer.