X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/MO_supply_completed.html?ds=sidebyside diff --git a/osfmk/man/MO_supply_completed.html b/osfmk/man/MO_supply_completed.html index 087304456..54d4d0827 100755 --- a/osfmk/man/MO_supply_completed.html +++ b/osfmk/man/MO_supply_completed.html @@ -1 +1,104 @@ -
Server Interface - Return results associated with the kernel's handling of a particular memory manager request.
kern_return_t memory_object_supply_completed (memory_object_t reply_port, memory_object_control_t memory_control, vm_offset_t offset, vm_size_t length, kern_return_t result, vm_offset_t error_offset); kern_return_t seqnos_memory_object_supply_completed (memory_object_t reply_port, mach_port_seqno_t seqno, memory_object_control_t memory_control, vm_offset_t offset, vm_size_t length, kern_return_t result, vm_offset_t error_offset);
A memory_object_supply_completed function is called as the result of a kernel message confirming the kernel's action in response to a memory_object_data_supply call from the memory manager.
When the kernel accepts the pages, it calls memory_object_supply_completed (asynchronously) using the port explicitly provided in the memory_object_data_supply call. Because the data supply call can provide multiple pages, not all of which the kernel may necessarily accept and some of which the kernel may have to return to the manager (if precious), the kernel provides this response. If the kernel does not accept all of the pages in the data supply message, it will indicate so in the completion response. If the pages not accepted are precious, they will be returned (in memory_object_data_return messages) before it sends this completion message. The completion call includes the offset and length values from the supply request to distinguish it from other supply requests.
Only generic errors apply.
Functions: memory_object_data_supply, memory_object_server, seqnos_memory_object_server. \ No newline at end of file +
+Server Interface - Return results associated with the kernel's handling of a particular memory manager request. +
+kern_return_t memory_object_supply_completed + (memory_object_t reply_port, + memory_object_control_t memory_control, + vm_offset_t offset, + vm_size_t length, + kern_return_t result, + vm_offset_t error_offset); + + +kern_return_t seqnos_memory_object_supply_completed + (memory_object_t reply_port, + mach_port_seqno_t seqno, + memory_object_control_t memory_control, + vm_offset_t offset, + vm_size_t length, + kern_return_t result, + vm_offset_t error_offset); ++
+
+
+
+
+
+
+
+A memory_object_supply_completed function is called +as the result of a +kernel message confirming the kernel's action in response to a +memory_object_data_supply call from the memory manager. +
+When the kernel accepts the pages, it calls +memory_object_supply_completed +(asynchronously) using the port explicitly provided in the +memory_object_data_supply call. Because the data supply +call can provide multiple pages, not +all of which the kernel may necessarily accept and some of which the kernel +may have to return to the manager (if precious), the kernel provides this +response. If the kernel does not accept all of the pages in +the data supply message, +it will indicate so in the completion response. If the pages not accepted are +precious, they will be returned (in memory_object_data_return +messages) before +it sends this completion message. The completion call includes the offset and +length values from the supply request to distinguish it from other supply +requests. +
+Only generic errors apply. +
+Functions: +memory_object_data_supply, +memory_object_server, +seqnos_memory_object_server.