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