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