xref: /xnu-11215.41.3/osfmk/man/host_processor_set_priv.html (revision 33de042d024d46de5ff4e89f2471de6608e37fa4)
1*33de042dSApple OSS Distributions<h2>host_processor_set_priv</h2>
2*33de042dSApple OSS Distributions<hr>
3*33de042dSApple OSS Distributions<p>
4*33de042dSApple OSS Distributions<strong>Function</strong> - Translate a processor set name port
5*33de042dSApple OSS Distributions  into a processor set control port.
6*33de042dSApple OSS Distributions<h3>SYNOPSIS</h3>
7*33de042dSApple OSS Distributions<pre>
8*33de042dSApple OSS Distributions<strong>kern_return_t   host_processor_set_priv</strong>
9*33de042dSApple OSS Distributions                <strong>(host_priv_t</strong>                          <var>host_priv</var>,
10*33de042dSApple OSS Distributions                 <strong>processor_set_name_t</strong>                  <var>set_name</var>,
11*33de042dSApple OSS Distributions                 <strong>processor_set_t</strong>                  <var>processor_set</var><strong>);</strong>
12*33de042dSApple OSS Distributions</pre>
13*33de042dSApple OSS Distributions<h3>PARAMETERS</h3>
14*33de042dSApple OSS Distributions<dl>
15*33de042dSApple OSS Distributions<p>
16*33de042dSApple OSS Distributions<dt> <var>host_priv</var>
17*33de042dSApple OSS Distributions<dd>
18*33de042dSApple OSS Distributions[in host-control send right]
19*33de042dSApple OSS DistributionsThe control port for the host for which the
20*33de042dSApple OSS Distributionsprocessor set is desired.
21*33de042dSApple OSS Distributions<p>
22*33de042dSApple OSS Distributions<dt> <var>set_name</var>
23*33de042dSApple OSS Distributions<dd>
24*33de042dSApple OSS Distributions[in processor-set-name send right]
25*33de042dSApple OSS DistributionsThe name port for the processor set
26*33de042dSApple OSS Distributionsdesired.
27*33de042dSApple OSS Distributions<p>
28*33de042dSApple OSS Distributions<dt> <var>processor_set</var>
29*33de042dSApple OSS Distributions<dd>
30*33de042dSApple OSS Distributions[out processor-set-control send right]
31*33de042dSApple OSS DistributionsThe returned processor set
32*33de042dSApple OSS Distributionscontrol port.
33*33de042dSApple OSS Distributions</dl>
34*33de042dSApple OSS Distributions<h3>DESCRIPTION</h3>
35*33de042dSApple OSS Distributions<p>
36*33de042dSApple OSS DistributionsThe <strong>host_processor_set_priv</strong> function returns send rights
37*33de042dSApple OSS Distributionsfor the control port
38*33de042dSApple OSS Distributionsfor a specified processor set currently existing on <var>host_priv</var>.
39*33de042dSApple OSS Distributions<h3>RETURN VALUES</h3>
40*33de042dSApple OSS Distributions<p>
41*33de042dSApple OSS DistributionsOnly generic errors apply.
42*33de042dSApple OSS Distributions<h3>RELATED INFORMATION</h3>
43*33de042dSApple OSS Distributions<p>
44*33de042dSApple OSS DistributionsFunctions:
45*33de042dSApple OSS Distributions<a href="host_processor_sets.html"><strong>host_processor_sets</strong></a>,
46*33de042dSApple OSS Distributions<a href="processor_set_create.html"><strong>processor_set_create</strong></a>,
47*33de042dSApple OSS Distributions<a href="processor_set_tasks.html"><strong>processor_set_tasks</strong></a>,
48*33de042dSApple OSS Distributions<a href="processor_set_threads.html"><strong>processor_set_threads</strong></a>.
49