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