1*4f1223e8SApple OSS Distributions<h2>memory_object_data_unavailable</h2> 2*4f1223e8SApple OSS Distributions<hr> 3*4f1223e8SApple OSS Distributions<p> 4*4f1223e8SApple OSS Distributions<strong>Function</strong> - Instruct kernel to zero-fill pages as requested data does not exist. 5*4f1223e8SApple OSS Distributions<h3>SYNOPSIS</h3> 6*4f1223e8SApple OSS Distributions<pre> 7*4f1223e8SApple OSS Distributions<strong>kern_return_t memory_object_data_unavailable</strong> 8*4f1223e8SApple OSS Distributions <strong>(memory_object_control_t</strong> <var>memory_control</var>, 9*4f1223e8SApple OSS Distributions <strong>vm_offset_t</strong> <var>offset</var>, 10*4f1223e8SApple OSS Distributions <strong>vm_size_t</strong> <var>size</var><strong>);</strong> 11*4f1223e8SApple OSS Distributions</pre> 12*4f1223e8SApple OSS Distributions<h3>PARAMETERS</h3> 13*4f1223e8SApple OSS Distributions<dl> 14*4f1223e8SApple OSS Distributions<p> 15*4f1223e8SApple OSS Distributions<dt> <var>memory_control</var> 16*4f1223e8SApple OSS Distributions<dd> 17*4f1223e8SApple OSS Distributions[in memory-cache-control send right] 18*4f1223e8SApple OSS DistributionsThe memory cache control port 19*4f1223e8SApple OSS Distributionsto be used by the memory manager for cache management requests. 20*4f1223e8SApple OSS DistributionsThis port is provided by the kernel in a <strong>memory_object_init</strong> or a 21*4f1223e8SApple OSS Distributions<strong>memory_object_create</strong> call. 22*4f1223e8SApple OSS Distributions<p> 23*4f1223e8SApple OSS Distributions<dt> <var>offset</var> 24*4f1223e8SApple OSS Distributions<dd> 25*4f1223e8SApple OSS Distributions[in scalar] 26*4f1223e8SApple OSS DistributionsThe offset within the memory object, in bytes. 27*4f1223e8SApple OSS Distributions<p> 28*4f1223e8SApple OSS Distributions<dt> <var>size</var> 29*4f1223e8SApple OSS Distributions<dd> 30*4f1223e8SApple OSS Distributions[in scalar] 31*4f1223e8SApple OSS DistributionsThe number of bytes of data (starting at <var>offset</var>). The number 32*4f1223e8SApple OSS Distributionsmust convert to an integral number of memory object pages. 33*4f1223e8SApple OSS Distributions</dl> 34*4f1223e8SApple OSS Distributions<h3>DESCRIPTION</h3> 35*4f1223e8SApple OSS Distributions<p> 36*4f1223e8SApple OSS DistributionsThe <strong>memory_object_data_unavailable</strong> function indicates 37*4f1223e8SApple OSS Distributionsthat the memory 38*4f1223e8SApple OSS Distributionsmanager cannot provide the kernel with the data requested for 39*4f1223e8SApple OSS Distributionsthe given region. 40*4f1223e8SApple OSS DistributionsInstead, the kernel should provide the data for this region. 41*4f1223e8SApple OSS Distributions<p> 42*4f1223e8SApple OSS DistributionsA memory manager can use this call in any of the following situations: 43*4f1223e8SApple OSS Distributions<ul> 44*4f1223e8SApple OSS Distributions<li> 45*4f1223e8SApple OSS DistributionsWhen the object was created by the kernel 46*4f1223e8SApple OSS Distributions(via <strong>memory_object_create</strong>) and 47*4f1223e8SApple OSS Distributionsthe kernel has not yet provided data for the region (via either 48*4f1223e8SApple OSS Distributions<strong>memory_object_data_initialize</strong> or <strong>memory_object_data_return</strong>). 49*4f1223e8SApple OSS DistributionsIn this case, the 50*4f1223e8SApple OSS Distributionsobject is a temporary memory object; the memory manager is the default 51*4f1223e8SApple OSS Distributionsmemory manager; and the kernel should provide zero-filled pages for the 52*4f1223e8SApple OSS Distributionsobject. 53*4f1223e8SApple OSS Distributions <p> 54*4f1223e8SApple OSS Distributions<li> 55*4f1223e8SApple OSS DistributionsWhen the object is a normal user-created memory object. In this case, the 56*4f1223e8SApple OSS Distributionskernel should provide zero-filled pages for the region. 57*4f1223e8SApple OSS Distributions</ul> 58*4f1223e8SApple OSS Distributions<h3>RETURN VALUES</h3> 59*4f1223e8SApple OSS Distributions<p> 60*4f1223e8SApple OSS DistributionsOnly generic errors apply. 61*4f1223e8SApple OSS Distributions<h3>RELATED INFORMATION</h3> 62*4f1223e8SApple OSS Distributions<p> 63*4f1223e8SApple OSS DistributionsFunctions: 64*4f1223e8SApple OSS Distributions<a href="memory_object_create.html"><strong>memory_object_create</strong></a>, 65*4f1223e8SApple OSS Distributions<a href="memory_object_data_error.html"><strong>memory_object_data_error</strong></a>, 66*4f1223e8SApple OSS Distributions<a href="memory_object_data_request.html"><strong>memory_object_data_request</strong></a>, 67*4f1223e8SApple OSS Distributions<a href="memory_object_data_supply.html"><strong>memory_object_data_supply</strong></a>. 68