1 <h2>io_done_queue_create
</h2>
4 <strong>Function
</strong> - Create an
<strong>io_done_queue
</strong> kernel object.
7 <strong>kern_return_t io_done_queue_create
</strong>
8 <strong>(mach_port_t
</strong> <var>host
</var>,
9 <strong>mach_port_t
</strong> <var>queue
</var><strong>);
</strong>
16 [in host-name send right] The name (or control) port for the host on
17 which the io_done_queue should be created.
21 [out io-done-queue send right] The port referencing the created
26 The io_done_queue_create function is called to create a new
27 instatiation of the kernel object supporting asynchronous read/write
28 operations on a device.
29 <h3>RETURN VALUES
</h3>
31 <dt> <strong>KERN_INVALID_ARGUMENT
</strong>
33 Invalid
<var>host
</var> parameter.
35 <dt> <strong>KERN_RESOURCE_SHORTAGE
</strong>
37 Insufficient kernel resources to allocate kernel object.
39 <h3>RELATED INFORMATION
</h3>
42 <a href=
"io_done_queue_terminate.html"><strong>io_done_queue_terminate
</strong></a>,
43 <a href=
"io_done_queue_wait.html"><strong>io_done_queue_wait
</strong></a>,
44 <a href=
"device_read_async.html"><strong>device_read_async
</strong></a>,
45 <a href=
"device_read_async_inband.html"><strong>device_read_async_inband
</strong></a>,
46 <a href=
"DR_overwrite_async.html"><strong>device_read_overwrite_async
</strong></a>,
47 <a href=
"device_write_async.html"><strong>device_write_async
</strong></a>,
48 <a href=
"device_write_async_inband.html"><strong>device_write_async_inband
</strong></a>.