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