osfmk/man/MO_change_completed.html
Server Interface - Notify memory manager that kernel has updated memory object attributes as requested.
**kern\_return\_t memory\_object\_change\_completed**** (memory\_object\_t **reply\_port,** memory\_object\_control\_t **memory\_control,** memory\_object\_flavor\_t **flavor** ); ****kern\_return\_t seqnos\_memory\_object\_change\_completed**** (memory\_object\_t **reply\_port,** mach\_port\_seqno\_t **seqno,** memory\_object\_control\_t **memory\_control,** memory\_object\_flavor\_t **flavor** );**
reply_port[in reply (receive) right] The port supplied in the corresponding memory_object_change_attributes call.
seqno[in scalar] The sequence number of this message relative to the port named in the memory_object_change_attributes call.
memory_control[in memory-cache-control send right] The memory cache control port to be used for a response by the memory manager. If the memory object has been supplied to more than one kernel, this parameter identifies the kernel that is making the call.
flavor[in scalar] The flavor of attributes changed by the corresponding memory_object_change_attributes call.
A memory_object_change_completed function is called as the result of a kernel message confirming the kernel's action in response to a memory_object_change_attributes call from the memory manager.
When the kernel completes the requested changes, it calls memory_object_change_completed (asynchronously) using the port explicitly provided in the memory_object_change_attributes call.
Only generic errors apply.
Functions: memory_object_change_attributes, memory_object_server, seqnos_memory_object_server.