Back to Darwin Xnu

Io Done Queue Create

osfmk/man/io_done_queue_create.html

latest1.2 KB
Original Source

io_done_queue_create


Function - Create an io_done_queue kernel object.

SYNOPSIS

**kern\_return\_t io\_done\_queue\_create**** (mach\_port\_t **host,** mach\_port\_t **queue** );**

PARAMETERS

host[in host-name send right] The name (or control) port for the host on which the io_done_queue should be created.

queue[out io-done-queue send right] The port referencing the created io_done_queue.

DESCRIPTION

The io_done_queue_create function is called to create a new instatiation of the kernel object supporting asynchronous read/write operations on a device.

RETURN VALUES

KERN_INVALID_ARGUMENT Invalid host parameter.

KERN_RESOURCE_SHORTAGE Insufficient kernel resources to allocate kernel object.

Functions: io_done_queue_terminate, io_done_queue_wait, device_read_async, device_read_async_inband, device_read_overwrite_async, device_write_async, device_write_async_inband.