MO_SY_completed.html [plain text]
<strong>Function</strong> - Inform the kernel that synchronized data has been processed.
<strong>kern_return_t memory_object_synchronize_completed </strong>
[in memory-cache-control send right]
The memory cache control port
to be used by the memory manager for cache management requests.
This port is provided by the kernel in a <strong>memory_object_init</strong> call.
The offset within the memory object, in bytes.
The amount of data processed. The number must be an
integral number of memory object pages.
The <strong>memory_object_synchronize_completed</strong> function informs the kernel
that previously synchronized data (<strong>memory_object_synchronize</strong>)
has been queued or placed on backing storage. This reply causes the issuing
client to return from its <strong>vm_msync</strong> call. The offset and length
must match that of the corresponding <strong>memory_object_synchronize</strong>
call. There may be multiple synchronize requests
for a given memory object outstanding but they will not overlap.
Only generic errors apply.