]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/mach_port_qos.html
xnu-344.2.tar.gz
[apple/xnu.git] / osfmk / man / mach_port_qos.html
CommitLineData
9bccf70c 1<h2>mach_port_qos</h2>\r<hr>\r<p>\r<strong>Structure</strong> - Specifies a port's attributes with respect to "Quality Of Service."\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>typedef struct mach_port_qos</strong>\r <strong>{</strong>\r <strong>boolean_t</strong> <var>name</var><strong>;</strong>\r <strong>boolean_t</strong> <var>rt</var><strong>;</strong>\r <strong>boolean_t</strong> <var>pad1</var><strong>;</strong>\r <strong>boolean_t</strong> <var>pad2</var><strong>;</strong>\r <strong>} mach_port_qos_t;</strong>\r</pre>\r<h3>FIELDS</h3>\r<dl>\r<dt> <var>name</var>\r<dd>\r If TRUE, the system will bestow the user-specified name on the newly allocated port.\r Otherwise, the system will choose the port's name.\r <p>\r <dt> <var>rt</var>\r<dd>\r If TRUE, this field causes a realtime port to be allocated.\r Otherwise, a regular port will be allocated.\r<p>\r <dt> <var>pad1</var>\r<dd>\r A 30 bit padding field.\r<p>\r <dt> <var>pad2</var>\r<dd>\rA 32 bit padding field; with the <var>pad1</var> field, lengthens the\r structure to 64 bits.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>mach_port_qos</strong> structure is used to specify a port's\r"quality of service" attributes when allocating the port via the\r<strong>mach_port_allocate_qos</strong> interface.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="mach_port_allocate_qos.html"><strong>mach_port_allocate_qos</strong></a>,\r<a href="mach_port_get_attributes.html"><strong>mach_port_get_attributes</strong></a>,\r<a href="mach_port_set_attributes.html"><strong>mach_port_set_attributes</strong></a>.\r