]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/default_pager_info.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / default_pager_info.html
CommitLineData
13fec989
A
1<h2>default_pager_info</h2>
2<hr>
3<p>
4<strong>Server Interface</strong> - Furnish caller with information about the pager's paging partition.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t default_pager_info</strong>
8 <strong>(mach_port_t</strong> <var>pager</var>,
9 <strong>default_pager_info_t</strong> <var>info</var><strong>);</strong>
10
11
12<strong>kern_return_t seqnos_default_pager_info</strong>
13 <strong>(mach_port_t</strong> <var>pager</var>,
14 <strong>mach_port_seqno_t</strong> <var>seqno</var>,
15 <strong>default_pager_info_t</strong> <var>*info</var><strong>);</strong>
16
17</pre>
18<h3>PARAMETERS</h3>
19<dl>
20<p>
21<dt> <var>pager</var>
22<dd>
23[in default-pager (receive) right]
24The default memory manager service
25port.
26<p>
27<dt> <var>seqno</var>
28<dd>
29[in scalar]
30The sequence number of this message relative to the pager
31port.
32<p>
33<dt> <var>info</var>
34<dd>
35[out structure]
36Total and free space consumption.
37</dl>
38<h3>DESCRIPTION</h3>
39<p>
40A <strong>default_pager_info</strong> function is called as the result
41of a message requesting
42that the default memory manager return information concerning the default
43pager's paging partitions. The kernel does not make this call
44itself (which is why it
45can be a synchronous call); this request is only issued by (privileged) tasks
46holding the default memory manager port.
47<h3>RETURN VALUES</h3>
48<p>
49Only generic errors apply.
50<h3>RELATED INFORMATION</h3>
51<p>
52Functions:
53<a href="HD_memory_manager.html"><strong>vm_set_default_memory_manager</strong></a>,
54<a href="MO_default_server.html"><strong>memory_object_default_server</strong></a>,
55<a href="SMO_default_server.html"><strong>seqnos_memory_object_default_server</strong></a>.
56<p>
57Data Structures:
58<a href="default_pager_info.html"><strong>default_pager_info</strong></a>.