1 <h2>memory_object_data_unavailable
</h2>
4 <strong>Function
</strong> - Instruct kernel to zero-fill pages as requested data does not exist.
7 <strong>kern_return_t memory_object_data_unavailable
</strong>
8 <strong>(memory_object_control_t
</strong> <var>memory_control
</var>,
9 <strong>vm_offset_t
</strong> <var>offset
</var>,
10 <strong>vm_size_t
</strong> <var>size
</var><strong>);
</strong>
15 <dt> <var>memory_control
</var>
17 [in memory-cache-control send right]
18 The memory cache control port
19 to be used by the memory manager for cache management requests.
20 This port is provided by the kernel in a
<strong>memory_object_init
</strong> or a
21 <strong>memory_object_create
</strong> call.
23 <dt> <var>offset
</var>
26 The offset within the memory object, in bytes.
31 The number of bytes of data (starting at
<var>offset
</var>). The number
32 must convert to an integral number of memory object pages.
36 The
<strong>memory_object_data_unavailable
</strong> function indicates
38 manager cannot provide the kernel with the data requested for
40 Instead, the kernel should provide the data for this region.
42 A memory manager can use this call in any of the following situations:
45 When the object was created by the kernel
46 (via
<strong>memory_object_create
</strong>) and
47 the kernel has not yet provided data for the region (via either
48 <strong>memory_object_data_initialize
</strong> or
<strong>memory_object_data_return
</strong>).
50 object is a temporary memory object; the memory manager is the default
51 memory manager; and the kernel should provide zero-filled pages for the
55 When the object is a normal user-created memory object. In this case, the
56 kernel should provide zero-filled pages for the region.
58 <h3>RETURN VALUES
</h3>
60 Only generic errors apply.
61 <h3>RELATED INFORMATION
</h3>
64 <a href=
"memory_object_create.html"><strong>memory_object_create
</strong></a>,
65 <a href=
"memory_object_data_error.html"><strong>memory_object_data_error
</strong></a>,
66 <a href=
"memory_object_data_request.html"><strong>memory_object_data_request
</strong></a>,
67 <a href=
"memory_object_data_supply.html"><strong>memory_object_data_supply
</strong></a>.