1 <h2>memory_object_data_initialize
</h2>
4 <strong>Server Interface
</strong> - Request that the default pager record initialization information for specified memory object.
7 <strong>kern_return_t memory_object_data_initialize
</strong>
8 <strong>(memory_object_t
</strong> <var>memory_object
</var>,
9 <strong>memory_object_control_t
</strong> <var>memory_control
</var>,
10 <strong>vm_offset_t
</strong> <var>offset
</var>,
11 <strong>pointer_t
</strong> <var>data
</var><strong>);
</strong>
14 <strong>kern_return_t seqnos_memory_object_data_initialize
</strong>
15 <strong>(memory_object_t
</strong> <var>memory_object
</var>,
16 <strong>mach_port_seqno_t
</strong> <var>seqno
</var>,
17 <strong>memory_object_control_t
</strong> <var>memory_control
</var>,
18 <strong>vm_offset_t
</strong> <var>offset
</var>,
19 <strong>pointer_t
</strong> <var>data
</var><strong>);
</strong>
24 <dt> <var>memory_object
</var>
26 [in abstract-memory-object (receive) right]
28 object port that represents the memory object data, as supplied by the
29 kernel in a
<strong>memory_object_create
</strong> call.
34 The sequence number of this message relative to the abstract
37 <dt> <var>memory_control
</var>
39 [in memory-cache-control send right]
40 The memory cache control port
41 to be used for a response by the memory manager. If the memory
42 object has been supplied to more than one kernel, this parameter
43 identifies the kernel that is making the call.
45 <dt> <var>offset
</var>
48 The offset within the memory object.
52 [in pointer to dynamic array of bytes]
53 The data that has been modified
54 while cached in physical memory.
58 A
<strong>memory_object_data_initialize
</strong> function is called
59 as the result of a kernel
60 message providing the default memory manager with initial data for a
61 kernel-created memory object. If the memory manager already
62 has supplied data (by a previous
<strong>memory_object_data_initialize
</strong> or
63 <strong>memory_object_data_return
</strong>), it
64 should ignore this call. Otherwise, the call behaves the same as the
65 <strong>memory_object_data_return
</strong> call.
67 The kernel makes this call only to the default memory manager and only on
68 temporary memory objects that it has created with
69 <strong>memory_object_create
</strong>.
70 <h3>RETURN VALUES
</h3>
72 Only generic errors apply.
73 <h3>RELATED INFORMATION
</h3>
76 <a href=
"memory_object_create.html"><strong>memory_object_create
</strong></a>,
77 <a href=
"memory_object_data_return.html"><strong>memory_object_data_return
</strong></a>,
78 <a href=
"MO_default_server.html"><strong>memory_object_default_server
</strong></a>,
79 <a href=
"SMO_default_server.html"><strong>seqnos_memory_object_default_server
</strong></a>.