forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio_done_queue_terminate.html
41 lines (40 loc) · 1.39 KB
/
io_done_queue_terminate.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<h2>io_done_queue_terminate</h2>
<hr>
<p>
<strong>Function</strong> - Terminate an io_done_queue kernel object.
<h3>SYNOPSIS</h3>
<pre>
<strong>#include<device/device.h></strong>
<strong>kern_return_t io_done_queue_terminate</strong>
<strong>(mach_port_t</strong> <var>queue</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>queue</var>
<dd>
[in io-done-queue send right] The port referencing the <strong>io_done_queue</strong>
to be destroyed.
</dl>
<h3>DESCRIPTION</h3>
<p>
The <strong>io_done_queue_terminate</strong> function is called to destroy a previous
instatiation of the kernel object supporting asynchronous read/write
operations on a device.
<h3>RETURN VALUES</h3>
<dl>
<dt> <strong>KERN_INVALID_ARGUMENT</strong>
<dd>
Invalid <var>queue</var> parameter.
<p>
</dl>
<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="io_done_queue_create.html"><strong>io_done_queue_create</strong></a>,
<a href="io_done_queue_wait.html"><strong>io_done_queue_wait</strong></a>,
<a href="device_read_async.html"><strong>device_read_async</strong></a>,
<a href="device_read_async_inband.html"><strong>device_read_async_inband</strong></a>,
<a href="DR_overwrite_async.html"><strong>device_read_overwrite_async</strong></a>,
<a href="device_write_async.html"><strong>device_write_async</strong></a>,
<a href="device_write_async_inband.html"><strong>device_write_async_inband</strong></a>.