X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/memory_object_synchronize.html diff --git a/osfmk/man/memory_object_synchronize.html b/osfmk/man/memory_object_synchronize.html index d446307a0..75cae0f37 100755 --- a/osfmk/man/memory_object_synchronize.html +++ b/osfmk/man/memory_object_synchronize.html @@ -1 +1,106 @@ -
Server Interface - Forward a client's request to synchronize data with its image in backing store.
kern_return_t memory_object_synchronize (memory_object_t memory_object, memory_object_control_t memory_control, vm_offset_t offset, vm_offset_t length, memory_object sync_flags); kern_return_t seqnos_memory_object_synchronize (memory_object_t memory_object, mach_port_seqno_t seqno, memory_object_control_t memory_control, vm_offset_t offset, vm_offset_t length, memory_object sync_flags);
A memory_object_synchronize function is called as the result of a kernel message indicating that a client wishes to synchronize the contents of a range of a memory object with its backing storage image. This message would have been preceded by memory_object_data_return messages cleaning or flushing the specified range.
Depending on the client's supplied sync_flags, the manager waits for the pages to reach the desired state and then replies with memory_object_synchronize_completed at which time the client returns from its vm_msync call. Multiple synchronize requests may be outstanding at a time but they will not overlap.
Only generic errors apply.
Functions: vm_msync, memory_object_synchronize_completed, memory_object_data_return, memory_object_server, seqnos_memory_object_server. \ No newline at end of file +
+Server Interface - Forward a client's request to synchronize data with its image in backing store. +
+kern_return_t memory_object_synchronize + (memory_object_t memory_object, + memory_object_control_t memory_control, + vm_offset_t offset, + vm_offset_t length, + memory_object sync_flags); + + +kern_return_t seqnos_memory_object_synchronize + (memory_object_t memory_object, + mach_port_seqno_t seqno, + memory_object_control_t memory_control, + vm_offset_t offset, + vm_offset_t length, + memory_object sync_flags); ++
+
+
+
+
+
+
+
+
+
+A memory_object_synchronize function is called as the +result of a kernel +message indicating that a client wishes to synchronize the contents +of a range of a +memory object with its backing storage image. This message would have been +preceded by memory_object_data_return messages cleaning +or flushing the +specified range. +
+Depending on the client's supplied sync_flags, the manager waits +for the pages +to reach the desired state and then replies with +memory_object_synchronize_completed at which time the +client returns from its vm_msync call. Multiple +synchronize requests may be outstanding at a time but they will not overlap. +
+Only generic errors apply. +
+Functions: +vm_msync, +memory_object_synchronize_completed, +memory_object_data_return, +memory_object_server, +seqnos_memory_object_server.