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