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