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