]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>io_done_queue_terminate</h2>\r<hr>\r<p>\r<strong>Function</strong> - Terminate an io_done_queue kernel object.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>#include<device/device.h></strong>\r\r<strong>kern_return_t io_done_queue_terminate</strong>\r <strong>(mach_port_t</strong> <var>queue</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>queue</var>\r<dd>\r[in io-done-queue send right] The port referencing the <strong>io_done_queue</strong> \rto be destroyed.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>io_done_queue_terminate</strong> function is called to destroy a previous\rinstatiation of the kernel object supporting asynchronous read/write\roperations on a device.\r<h3>RETURN VALUES</h3>\r<dl>\r <dt> <strong>KERN_INVALID_ARGUMENT</strong>\r<dd>\r Invalid <var>queue</var> parameter.\r <p>\r</dl>\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="io_done_queue_create.html"><strong>io_done_queue_create</strong></a>,\r<a href="io_done_queue_wait.html"><strong>io_done_queue_wait</strong></a>,\r<a href="device_read_async.html"><strong>device_read_async</strong></a>,\r<a href="device_read_async_inband.html"><strong>device_read_async_inband</strong></a>,\r<a href="DR_overwrite_async.html"><strong>device_read_overwrite_async</strong></a>,\r<a href="device_write_async.html"><strong>device_write_async</strong></a>,\r<a href="device_write_async_inband.html"><strong>device_write_async_inband</strong></a>.\r |