Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/aio.h
Show All 37 Lines | |||||
#define AIO_ALLDONE 0x3 | #define AIO_ALLDONE 0x3 | ||||
/* | /* | ||||
* 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 __BSD_VISIBLE | ||||
#define LIO_VECTORED 0x4 | #define LIO_VECTORED 0x4 | ||||
#define LIO_WRITEV (LIO_WRITE | LIO_VECTORED) | #define LIO_WRITEV (LIO_WRITE | LIO_VECTORED) | ||||
#define LIO_READV (LIO_READ | LIO_VECTORED) | #define LIO_READV (LIO_READ | LIO_VECTORED) | ||||
#endif | |||||
#if defined(_KERNEL) || defined(_WANT_ALL_LIO_OPCODES) | |||||
#define LIO_SYNC 0x8 | #define LIO_SYNC 0x8 | ||||
#define LIO_DSYNC (0x10 | LIO_SYNC) | #define LIO_DSYNC (0x10 | LIO_SYNC) | ||||
#define LIO_MLOCK 0x20 | #define LIO_MLOCK 0x20 | ||||
#endif | #endif | ||||
/* | /* | ||||
* LIO modes | * LIO modes | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |