1 <h2>default_pager_backing_store_info
</h2>
4 <strong>Server Interface
</strong> - Return information about a backing storage object.
7 <strong>#include< default_pager/mach/default_pager_types.h>
</strong>
9 <strong>kern_return_t default_pager_backing_store_info
</strong>
10 <strong>(mach_port_t
</strong> <var>backing_store
</var>,
11 <strong>backing_store_flavor_t
</strong> <var>flavor
</var>,
12 <strong>backing_store_info_t
</strong> <var>info
</var>,
13 <strong>mach_msg_type_number_t
</strong> <var>size
</var><strong>);
</strong>
18 <dt> <var>backing_store
</var>
20 [in backing store (receive) right] The backing store port for which
21 information is desired.
23 <dt> <var>flavor
</var>
25 [in scalar] The type of information to be returned. Valid values are:
27 <dt> <var>BACKING_STORE_BASIC_INFO
</var>
29 Statistical and space used/available information. It includes
30 the priority and cluster size that was provided in the
31 default_pager_backing_store_create call.
35 [pointer to in structure] The data structure that will be filled in with the
36 information provided for the requested flavor.
40 [pointer to in/out scalar] On input, the maximum size of the info data
41 structure; on output, the actual size of the returned data.
45 The
<strong>default_pager_backing_store_info
</strong> function is called to obtain
46 information about a backing storage object created by
47 <strong>default_pager_backing_store_create
</strong>. The kernel does not make this call
48 itself (which is why it can be a synchronous call); this request is
49 only issued by tasks holding the backing store port, created with
50 <strong>default_pager_backing_store_create
</strong>, for a default memory manager.
51 <h3>RETURN VALUES
</h3>
54 <dt> <strong>KERN_FAILURE
</strong>
56 The default pager does not support this operation.
58 <dt> <strong>KERN_INVALID_ARGUMENT
</strong>
60 The backing_store port does not represent a valid backing store, flavor
61 is not valid, or size is not the size for the requested flavor.
63 <dt> <strong>KERN_SUCCESS
</strong>
65 The operation was successful.
67 <h3>RELATED INFORMATION
</h3>
70 <a href=
"DP_backing_store_create.html"><strong>default_pager_backing_store_create
</strong></a>,
71 <a href=
"DP_backing_store_delete.html"><strong>default_pager_backing_store_delete
</strong></a>.
74 backing_store_basic_info.