]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/MO_change_completed.html
xnu-792.21.3.tar.gz
[apple/xnu.git] / osfmk / man / MO_change_completed.html
index 51ec47a8a1e20e978992d1da3df7302604779e08..cfdecc24870a393c827a967a9cb276fe8a1bbeb9 100755 (executable)
@@ -1 +1,67 @@
-<h2>memory_object_change_completed</h2>\r<hr>\r<p>\r<strong>Server Interface</strong> - Notify memory manager that kernel has updated memory object attributes as requested.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t   memory_object_change_completed</strong>\r                <strong>(memory_object_t</strong>                     <var>reply_port</var>,\r                 <strong>memory_object_control_t</strong>         <var>memory_control</var>,\r                 <strong>memory_object_flavor_t</strong>                  <var>flavor</var><strong>);</strong>\r\r\r<strong>kern_return_t   seqnos_memory_object_change_completed</strong>\r                <strong>(memory_object_t</strong>                     <var>reply_port</var>,\r                 <strong>mach_port_seqno_t</strong>                        <var>seqno</var>,\r                 <strong>memory_object_control_t</strong>         <var>memory_control</var>,\r                 <strong>memory_object_flavor_t</strong>                  <var>flavor</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>reply_port</var> \r<dd>\r[in reply (receive) right]\rThe port supplied in the corresponding\r<strong>memory_object_change_attributes</strong> call.\r<p>\r<dt> <var>seqno</var> \r<dd>\r[in scalar]\rThe sequence number of this message relative to the port \rnamed in the <strong>memory_object_change_attributes</strong> call.\r<p>\r<dt> <var>memory_control</var> \r<dd>\r[in memory-cache-control send right]\rThe memory cache control port \rto be used for a response by the memory manager.  If the memory\robject has been supplied to more than one kernel, this parameter\ridentifies the kernel that is making the call.\r<p>\r<dt> <var>flavor</var> \r<dd>\r[in scalar]\rThe flavor of attributes changed by the corresponding\r<strong>memory_object_change_attributes</strong> call.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rA <strong>memory_object_change_completed</strong> function is called\ras the result of a\rkernel message confirming the kernel's action in response to a\r<strong>memory_object_change_attributes</strong> call from the memory manager.\r<p>\rWhen the kernel completes the requested changes, it calls\r<strong>memory_object_change_completed</strong> (asynchronously) using\rthe port explicitly provided in \rthe <strong>memory_object_change_attributes</strong> call.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="MO_change_attributes.html"><strong>memory_object_change_attributes</strong></a>,\r<a href="memory_object_server.html"><strong>memory_object_server</strong></a>,\r<a href="SMO_server.html"><strong>seqnos_memory_object_server</strong></a>.\r
\ No newline at end of file
+<h2>memory_object_change_completed</h2>
+<hr>
+<p>
+<strong>Server Interface</strong> - Notify memory manager that kernel has updated memory object attributes as requested.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>kern_return_t   memory_object_change_completed</strong>
+                <strong>(memory_object_t</strong>                     <var>reply_port</var>,
+                 <strong>memory_object_control_t</strong>         <var>memory_control</var>,
+                 <strong>memory_object_flavor_t</strong>                  <var>flavor</var><strong>);</strong>
+
+
+<strong>kern_return_t   seqnos_memory_object_change_completed</strong>
+                <strong>(memory_object_t</strong>                     <var>reply_port</var>,
+                 <strong>mach_port_seqno_t</strong>                        <var>seqno</var>,
+                 <strong>memory_object_control_t</strong>         <var>memory_control</var>,
+                 <strong>memory_object_flavor_t</strong>                  <var>flavor</var><strong>);</strong>
+</pre>
+<h3>PARAMETERS</h3>
+<dl>
+<p>
+<dt> <var>reply_port</var> 
+<dd>
+[in reply (receive) right]
+The port supplied in the corresponding
+<strong>memory_object_change_attributes</strong> call.
+<p>
+<dt> <var>seqno</var> 
+<dd>
+[in scalar]
+The sequence number of this message relative to the port 
+named in the <strong>memory_object_change_attributes</strong> call.
+<p>
+<dt> <var>memory_control</var> 
+<dd>
+[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.
+<p>
+<dt> <var>flavor</var> 
+<dd>
+[in scalar]
+The flavor of attributes changed by the corresponding
+<strong>memory_object_change_attributes</strong> call.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+A <strong>memory_object_change_completed</strong> function is called
+as the result of a
+kernel message confirming the kernel's action in response to a
+<strong>memory_object_change_attributes</strong> call from the memory manager.
+<p>
+When the kernel completes the requested changes, it calls
+<strong>memory_object_change_completed</strong> (asynchronously) using
+the port explicitly provided in 
+the <strong>memory_object_change_attributes</strong> call.
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="MO_change_attributes.html"><strong>memory_object_change_attributes</strong></a>,
+<a href="memory_object_server.html"><strong>memory_object_server</strong></a>,
+<a href="SMO_server.html"><strong>seqnos_memory_object_server</strong></a>.