xref: /xnu-10002.61.3/osfmk/man/host_processor_slots.html (revision 0f4c859e951fba394238ab619495c4e1d54d0f34)
1*0f4c859eSApple OSS Distributions<h2>host_processor_slots</h2>
2*0f4c859eSApple OSS Distributions<hr>
3*0f4c859eSApple OSS Distributions<p>
4*0f4c859eSApple OSS Distributions<strong>Function</strong> - Return a list of numbers that map processor slots to active processors.
5*0f4c859eSApple OSS Distributions<h3>SYNOPSIS</h3>
6*0f4c859eSApple OSS Distributions<pre>
7*0f4c859eSApple OSS Distributions<strong>kern_return_t   host_processor_slots</strong>
8*0f4c859eSApple OSS Distributions                <strong>(host_t</strong>                                    <var>host</var>,
9*0f4c859eSApple OSS Distributions                 <strong>processor_slot_t</strong>                         <var>slots</var>,
10*0f4c859eSApple OSS Distributions                 <strong>host</strong>                                     <var>count</var><strong>);</strong>
11*0f4c859eSApple OSS Distributions</pre>
12*0f4c859eSApple OSS Distributions<h3>PARAMETERS</h3>
13*0f4c859eSApple OSS Distributions<dl>
14*0f4c859eSApple OSS Distributions<p>
15*0f4c859eSApple OSS Distributions<dt> <var>host</var>
16*0f4c859eSApple OSS Distributions<dd>
17*0f4c859eSApple OSS Distributions[in host-name send right]
18*0f4c859eSApple OSS DistributionsThe name (or control) port for the host for
19*0f4c859eSApple OSS Distributionswhich information is to be obtained.
20*0f4c859eSApple OSS Distributions<p>
21*0f4c859eSApple OSS Distributions<dt> <var>slots</var>
22*0f4c859eSApple OSS Distributions<dd>
23*0f4c859eSApple OSS Distributions[out array of <var>processor_slot_t</var>]
24*0f4c859eSApple OSS DistributionsAn array of the processor slot numbers
25*0f4c859eSApple OSS Distributionsfor active processors.
26*0f4c859eSApple OSS Distributions<p>
27*0f4c859eSApple OSS Distributions<dt> <var>count</var>
28*0f4c859eSApple OSS Distributions<dd>
29*0f4c859eSApple OSS Distributions[pointer to in/out scalar]
30*0f4c859eSApple OSS DistributionsOn input, the maximum size of the slots
31*0f4c859eSApple OSS Distributionsbuffer; on output, the number of returned slot numbers.
32*0f4c859eSApple OSS Distributions</dl>
33*0f4c859eSApple OSS Distributions<h3>DESCRIPTION</h3>
34*0f4c859eSApple OSS Distributions<p>
35*0f4c859eSApple OSS DistributionsThe <strong>host_processor_slots</strong> function returns an array
36*0f4c859eSApple OSS Distributionsof the processor slots
37*0f4c859eSApple OSS Distributionsdefined for the host.
38*0f4c859eSApple OSS Distributions<h3>RETURN VALUES</h3>
39*0f4c859eSApple OSS Distributions<p>
40*0f4c859eSApple OSS DistributionsOnly generic errors apply.
41*0f4c859eSApple OSS Distributions<h3>RELATED INFORMATION</h3>
42*0f4c859eSApple OSS Distributions<p>
43*0f4c859eSApple OSS DistributionsFunctions:
44*0f4c859eSApple OSS Distributions<a href="host_info.html"><strong>host_info</strong></a>,
45*0f4c859eSApple OSS Distributions<a href="host_processors.html"><strong>host_processors</strong></a>,
46*0f4c859eSApple OSS Distributions<a href="processor_info.html"><strong>processor_info</strong></a>.
47