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