#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/aio_abi.h>
#include <linux/export.h>
#include <linux/syscalls.h>
#include <linux/backing-dev.h>
#include <linux/uio.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/mmu_context.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/aio.h>
#include <linux/highmem.h>
#include <linux/workqueue.h>
#include <linux/security.h>
#include <linux/eventfd.h>
#include <linux/blkdev.h>
#include <linux/compat.h>
#include <asm/kmap_types.h>
#include <asm/uaccess.h>
Go to the source code of this file.
|
| __initcall (aio_setup) |
|
ssize_t | wait_on_sync_kiocb (struct kiocb *iocb) |
|
| EXPORT_SYMBOL (wait_on_sync_kiocb) |
|
void | exit_aio (struct mm_struct *mm) |
|
int | aio_put_req (struct kiocb *req) |
|
| EXPORT_SYMBOL (aio_put_req) |
|
void | kick_iocb (struct kiocb *iocb) |
|
| EXPORT_SYMBOL (kick_iocb) |
|
int | aio_complete (struct kiocb *iocb, long res, long res2) |
|
| EXPORT_SYMBOL (aio_complete) |
|
| SYSCALL_DEFINE2 (io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) |
|
| SYSCALL_DEFINE1 (io_destroy, aio_context_t, ctx) |
|
long | do_io_submit (aio_context_t ctx_id, long nr, struct iocb __user *__user *iocbpp, bool compat) |
|
| SYSCALL_DEFINE3 (io_submit, aio_context_t, ctx_id, long, nr, struct iocb __user *__user *, iocbpp) |
|
| SYSCALL_DEFINE3 (io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb, struct io_event __user *, result) |
|
| SYSCALL_DEFINE5 (io_getevents, aio_context_t, ctx_id, long, min_nr, long, nr, struct io_event __user *, events, struct timespec __user *, timeout) |
|
#define aio_ring_event |
( |
|
info, |
|
|
|
nr |
|
) |
| |
Value:
Definition at line 176 of file aio.c.
Definition at line 21 of file aio.c.
#define dprintk |
( |
|
x... | ) |
do { ; } while (0) |
Definition at line 45 of file aio.c.
#define KIOCB_BATCH_SIZE 32L |
#define put_aio_ring_event |
( |
|
event | ) |
|
Value:
kunmap_atomic((
void *)((
unsigned long)__event &
PAGE_MASK)); \
} while(0)
Definition at line 185 of file aio.c.
SYSCALL_DEFINE5 |
( |
io_getevents |
, |
|
|
aio_context_t |
, |
|
|
ctx_id |
, |
|
|
long |
, |
|
|
min_nr |
, |
|
|
long |
, |
|
|
nr |
, |
|
|
struct io_event __user * |
, |
|
|
events |
, |
|
|
struct timespec __user * |
, |
|
|
timeout |
|
|
) |
| |
unsigned long aio_max_nr = 0x10000 |
Definition at line 51 of file aio.c.
Definition at line 50 of file aio.c.