1*5c2921b0SApple OSS Distributions<h2>memory_object_data_initialize</h2> 2*5c2921b0SApple OSS Distributions<hr> 3*5c2921b0SApple OSS Distributions<p> 4*5c2921b0SApple OSS Distributions<strong>Server Interface</strong> - Request that the default pager record initialization information for specified memory object. 5*5c2921b0SApple OSS Distributions<h3>SYNOPSIS</h3> 6*5c2921b0SApple OSS Distributions<pre> 7*5c2921b0SApple OSS Distributions<strong>kern_return_t memory_object_data_initialize</strong> 8*5c2921b0SApple OSS Distributions <strong>(memory_object_t</strong> <var>memory_object</var>, 9*5c2921b0SApple OSS Distributions <strong>memory_object_control_t</strong> <var>memory_control</var>, 10*5c2921b0SApple OSS Distributions <strong>vm_offset_t</strong> <var>offset</var>, 11*5c2921b0SApple OSS Distributions <strong>pointer_t</strong> <var>data</var><strong>);</strong> 12*5c2921b0SApple OSS Distributions 13*5c2921b0SApple OSS Distributions 14*5c2921b0SApple OSS Distributions<strong>kern_return_t seqnos_memory_object_data_initialize</strong> 15*5c2921b0SApple OSS Distributions <strong>(memory_object_t</strong> <var>memory_object</var>, 16*5c2921b0SApple OSS Distributions <strong>mach_port_seqno_t</strong> <var>seqno</var>, 17*5c2921b0SApple OSS Distributions <strong>memory_object_control_t</strong> <var>memory_control</var>, 18*5c2921b0SApple OSS Distributions <strong>vm_offset_t</strong> <var>offset</var>, 19*5c2921b0SApple OSS Distributions <strong>pointer_t</strong> <var>data</var><strong>);</strong> 20*5c2921b0SApple OSS Distributions</pre> 21*5c2921b0SApple OSS Distributions<h3>PARAMETERS</h3> 22*5c2921b0SApple OSS Distributions<dl> 23*5c2921b0SApple OSS Distributions<p> 24*5c2921b0SApple OSS Distributions<dt> <var>memory_object</var> 25*5c2921b0SApple OSS Distributions<dd> 26*5c2921b0SApple OSS Distributions[in abstract-memory-object (receive) right] 27*5c2921b0SApple OSS DistributionsThe abstract memory 28*5c2921b0SApple OSS Distributionsobject port that represents the memory object data, as supplied by the 29*5c2921b0SApple OSS Distributionskernel in a <strong>memory_object_create</strong> call. 30*5c2921b0SApple OSS Distributions<p> 31*5c2921b0SApple OSS Distributions<dt> <var>seqno</var> 32*5c2921b0SApple OSS Distributions<dd> 33*5c2921b0SApple OSS Distributions[in scalar] 34*5c2921b0SApple OSS DistributionsThe sequence number of this message relative to the abstract 35*5c2921b0SApple OSS Distributionsmemory object port. 36*5c2921b0SApple OSS Distributions<p> 37*5c2921b0SApple OSS Distributions<dt> <var>memory_control</var> 38*5c2921b0SApple OSS Distributions<dd> 39*5c2921b0SApple OSS Distributions[in memory-cache-control send right] 40*5c2921b0SApple OSS DistributionsThe memory cache control port 41*5c2921b0SApple OSS Distributionsto be used for a response by the memory manager. If the memory 42*5c2921b0SApple OSS Distributionsobject has been supplied to more than one kernel, this parameter 43*5c2921b0SApple OSS Distributionsidentifies the kernel that is making the call. 44*5c2921b0SApple OSS Distributions<p> 45*5c2921b0SApple OSS Distributions<dt> <var>offset</var> 46*5c2921b0SApple OSS Distributions<dd> 47*5c2921b0SApple OSS Distributions[in scalar] 48*5c2921b0SApple OSS DistributionsThe offset within the memory object. 49*5c2921b0SApple OSS Distributions<p> 50*5c2921b0SApple OSS Distributions<dt> <var>data</var> 51*5c2921b0SApple OSS Distributions<dd> 52*5c2921b0SApple OSS Distributions[in pointer to dynamic array of bytes] 53*5c2921b0SApple OSS DistributionsThe data that has been modified 54*5c2921b0SApple OSS Distributionswhile cached in physical memory. 55*5c2921b0SApple OSS Distributions</dl> 56*5c2921b0SApple OSS Distributions<h3>DESCRIPTION</h3> 57*5c2921b0SApple OSS Distributions<p> 58*5c2921b0SApple OSS DistributionsA <strong>memory_object_data_initialize</strong> function is called 59*5c2921b0SApple OSS Distributionsas the result of a kernel 60*5c2921b0SApple OSS Distributionsmessage providing the default memory manager with initial data for a 61*5c2921b0SApple OSS Distributionskernel-created memory object. If the memory manager already 62*5c2921b0SApple OSS Distributionshas supplied data (by a previous <strong>memory_object_data_initialize</strong> or 63*5c2921b0SApple OSS Distributions<strong>memory_object_data_return</strong>), it 64*5c2921b0SApple OSS Distributionsshould ignore this call. Otherwise, the call behaves the same as the 65*5c2921b0SApple OSS Distributions<strong>memory_object_data_return</strong> call. 66*5c2921b0SApple OSS Distributions<p> 67*5c2921b0SApple OSS DistributionsThe kernel makes this call only to the default memory manager and only on 68*5c2921b0SApple OSS Distributionstemporary memory objects that it has created with 69*5c2921b0SApple OSS Distributions<strong>memory_object_create</strong>. 70*5c2921b0SApple OSS Distributions<h3>RETURN VALUES</h3> 71*5c2921b0SApple OSS Distributions<p> 72*5c2921b0SApple OSS DistributionsOnly generic errors apply. 73*5c2921b0SApple OSS Distributions<h3>RELATED INFORMATION</h3> 74*5c2921b0SApple OSS Distributions<p> 75*5c2921b0SApple OSS DistributionsFunctions: 76*5c2921b0SApple OSS Distributions<a href="memory_object_create.html"><strong>memory_object_create</strong></a>, 77*5c2921b0SApple OSS Distributions<a href="memory_object_data_return.html"><strong>memory_object_data_return</strong></a>, 78*5c2921b0SApple OSS Distributions<a href="MO_default_server.html"><strong>memory_object_default_server</strong></a>, 79*5c2921b0SApple OSS Distributions<a href="SMO_default_server.html"><strong>seqnos_memory_object_default_server</strong></a>. 80