Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/aio.h
Show All 38 Lines | |||||
/* | /* | ||||
* LIO opcodes | * LIO opcodes | ||||
*/ | */ | ||||
#define LIO_NOP 0x0 | #define LIO_NOP 0x0 | ||||
#define LIO_WRITE 0x1 | #define LIO_WRITE 0x1 | ||||
#define LIO_READ 0x2 | #define LIO_READ 0x2 | ||||
#if defined(_KERNEL) || defined(_WANT_ALL_LIO_OPCODES) | #if defined(_KERNEL) || defined(_WANT_ALL_LIO_OPCODES) | ||||
#define LIO_SYNC 0x3 | #define LIO_VECTORED 0x4 | ||||
#define LIO_MLOCK 0x4 | #define LIO_WRITEV (LIO_WRITE | LIO_VECTORED) | ||||
#define LIO_WRITEV 0x5 | #define LIO_READV (LIO_READ | LIO_VECTORED) | ||||
#define LIO_READV 0x6 | #define LIO_SYNC 0x8 | ||||
#define LIO_DSYNC 0x7 | #define LIO_DSYNC (0x10 | LIO_SYNC) | ||||
#define LIO_MLOCK 0x20 | |||||
#endif | #endif | ||||
/* | /* | ||||
* LIO modes | * LIO modes | ||||
*/ | */ | ||||
#define LIO_NOWAIT 0x0 | #define LIO_NOWAIT 0x0 | ||||
#define LIO_WAIT 0x1 | #define LIO_WAIT 0x1 | ||||
▲ Show 20 Lines • Show All 221 Lines • Show Last 20 Lines |