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>
                <strong>(memory_object_control_t</strong>         <var>memory_control</var>,
                 <strong>vm_offset_t</strong>                             <var>offset</var>,
                 <strong>vm_offset_t</strong>                             <var>length</var><strong>);</strong>
<dt> <var>memory_control</var> 
[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.
<dt> <var>offset</var> 
[in scalar]
The offset within the memory object, in bytes.
<dt> <var>length</var> 
[in scalar]
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.
<a href="memory_object_data_return.html"><strong>memory_object_data_return</strong></a>,
<a href="memory_object_synchronize.html"><strong>memory_object_synchronize</strong></a>,
<a href="vm_msync.html"><strong>vm_msync</strong></a>.