projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tracepoints: use modules notifiers
[deliverable/linux.git]
/
include
/
linux
/
aio_abi.h
diff --git
a/include/linux/aio_abi.h
b/include/linux/aio_abi.h
index 3466b1d0ffd29ca6bbd8cbed53bac00e861cc94f..9e017293131542df17e57917e11d9809e6f4e49a 100644
(file)
--- a/
include/linux/aio_abi.h
+++ b/
include/linux/aio_abi.h
@@
-1,4
+1,4
@@
-/* linux/aio_abi.h
+/*
include/
linux/aio_abi.h
*
* Copyright 2000,2001,2002 Red Hat.
*
*
* Copyright 2000,2001,2002 Red Hat.
*
@@
-45,6
+45,14
@@
enum {
IOCB_CMD_PWRITEV = 8,
};
IOCB_CMD_PWRITEV = 8,
};
+/*
+ * Valid flags for the "aio_flags" member of the "struct iocb".
+ *
+ * IOCB_FLAG_RESFD - Set if the "aio_resfd" member of the "struct iocb"
+ * is valid.
+ */
+#define IOCB_FLAG_RESFD (1 << 0)
+
/* read() from /dev/aio returns these structures. */
struct io_event {
__u64 data; /* the data field from the iocb */
/* read() from /dev/aio returns these structures. */
struct io_event {
__u64 data; /* the data field from the iocb */
@@
-84,7
+92,15
@@
struct iocb {
/* extra parameters */
__u64 aio_reserved2; /* TODO: use this for a (struct sigevent *) */
/* extra parameters */
__u64 aio_reserved2; /* TODO: use this for a (struct sigevent *) */
- __u64 aio_reserved3;
+
+ /* flags for the "struct iocb" */
+ __u32 aio_flags;
+
+ /*
+ * if the IOCB_FLAG_RESFD flag of "aio_flags" is set, this is an
+ * eventfd to signal AIO readiness to
+ */
+ __u32 aio_resfd;
}; /* 64 bytes */
#undef IFBIG
}; /* 64 bytes */
#undef IFBIG
This page took
0.042773 seconds
and
5
git commands to generate.