Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
aio.h File Reference

Go to the source code of this file.

Data Structures

struct  aio_thread_reply
 
struct  aio_context
 

Macros

#define INIT_AIO_CONTEXT
 

Enumerations

enum  aio_type { AIO_READ, AIO_WRITE, AIO_MMAP }
 

Functions

int submit_aio (enum aio_type type, int fd, char *buf, int len, unsigned long long offset, int reply_fd, struct aio_context *aio)
 

Macro Definition Documentation

#define INIT_AIO_CONTEXT
Value:
{ .reply_fd = -1, \
.next = NULL }

Definition at line 21 of file aio.h.

Enumeration Type Documentation

enum aio_type
Enumerator:
AIO_READ 
AIO_WRITE 
AIO_MMAP 

Definition at line 9 of file aio.h.

Function Documentation

int submit_aio ( enum aio_type  type,
int  fd,
char buf,
int  len,
unsigned long long  offset,
int  reply_fd,
struct aio_context aio 
)

Definition at line 382 of file aio.c.