1 <h2>default_pager_backing_store_create
</h2>
4 <strong>Server Interface
</strong> - Create a backing storage object.
7 <strong>#include< mach/default_pager_object.h>
</strong>
9 <strong>kern_return_t default_pager_backing_store_create
</strong>
10 <strong>(mach_port_t
</strong> <var>pager
</var>,
11 <strong>int
</strong> <var>priority
</var>,
12 <strong>int
</strong> <var>clsize
</var>,
13 <strong>mach_port_t
</strong> <var>backing_store
</var><strong>);
</strong>
20 [in default pager (receive) right] The default pager service port.
22 <dt> <var>priority
</var>
24 [in scalar] The scheduling priority for the backing store service
27 <dt> <var>clsize
</var>
29 [in scalar] The preferred cluster size (in bytes) for the backing
32 <dt> <var>backing_store
</var>
34 [out backing store (receive) right] The port used to manipulate the
35 created backing store.
39 The
<strong>default_pager_backing_store_create
</strong> function is called to create a
40 new backing storage object. The kernel does not make this call itself
41 (which is why it can be a synchronous call); this request is only
42 issued by tasks (privileged) holding the default pager service port.
43 <h3>RETURN VALUES
</h3>
46 <dt> <strong>KERN_FAILURE
</strong>
48 The default pager does not support this operation.
50 <dt> <strong>KERN_INVALID_ARGUMENT
</strong>
52 The pager port does not represent a valid default pager.
54 <dt> <strong>KERN_SUCCESS
</strong>
56 The operation was successful.
58 <h3>RELATED INFORMATION
</h3>
61 <a href=
"DP_backing_store_delete.html"><strong>default_pager_backing_store_delete
</strong></a>,
62 <a href=
"DP_backing_store_info.html"><strong>default_pager_backing_store_info
</strong></a>.