## memory_object_synchronize_completed

Function - Inform the kernel that synchronized data has been processed.

### SYNOPSIS

    kern_return_t   memory_object_synchronize_completed
                    (memory_object_control_t         memory_control,
                     vm_offset_t                             offset,
                     vm_offset_t                             length);

### PARAMETERS

memory_control
  [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 memory_object_init call.

offset
  [in scalar] The offset within the memory object, in bytes.

length
  [in scalar] The amount of data processed. The number must be an integral number of memory object pages.

### DESCRIPTION

The memory_object_synchronize_completed function informs the kernel that previously synchronized data (memory_object_synchronize) has been queued or placed on backing storage. This reply causes the issuing client to return from its vm_msync call. The offset and length must match that of the corresponding memory_object_synchronize call. There may be multiple synchronize requests for a given memory object outstanding but they will not overlap.

### RETURN VALUES

Only generic errors apply.

### RELATED INFORMATION

Functions: memory_object_data_return, memory_object_synchronize, vm_msync.