23 #include "precompiled.h"
29 {
ERR::IO, L
"Error during IO", EIO }
41 #if CONFIG2_FILE_ENABLE_AIO
57 if(bytesTransferred < 0)
69 #if CONFIG2_FILE_ENABLE_AIO
72 aiocb*
const cbs = &cb;
87 if(bytesTransferred == -1)
int aio_error(const struct aiocb *cb)
int aio_suspend(const struct aiocb *const cbs[], int n, const struct timespec *timeout)
int aio_write(struct aiocb *cb)
Status WaitUntilComplete(aiocb &cb, size_t queueDepth)
#define ENSURE(expr)
ensure the expression <expr> evaluates to non-zero.
#define UNUSED2(param)
mark a function local variable or parameter as unused and avoid the corresponding compiler warning...
Status Issue(aiocb &cb, size_t queueDepth)
static const StatusDefinition ioStatusDefinitions[]
ssize_t aio_return(struct aiocb *cb)
int read(int fd, void *buf, size_t nbytes)
i64 Status
Error handling system.
#define STATUS_ADD_DEFINITIONS(definitions)
add a module's array of StatusDefinition to the list.
off_t lseek(int fd, off_t ofs, int whence)
void write(OutputCB &output, const T &data)
Outputs a structure, using sizeof to get the size.
#define WARN_RETURN(status)
int aio_read(struct aiocb *cb)