… | |
… | |
259 | int int1; /* all applicable requests: file descriptor; sendfile: output fd; open, msync, mlockall, readdir: flags */ |
259 | int int1; /* all applicable requests: file descriptor; sendfile: output fd; open, msync, mlockall, readdir: flags */ |
260 | long int2; /* chown, fchown: uid; sendfile: input fd; open, chmod, mkdir, mknod: file mode, seek: whence, sync_file_range, fallocate: flags */ |
260 | long int2; /* chown, fchown: uid; sendfile: input fd; open, chmod, mkdir, mknod: file mode, seek: whence, sync_file_range, fallocate: flags */ |
261 | long int3; /* chown, fchown: gid; rename, link: working directory of new name */ |
261 | long int3; /* chown, fchown: gid; rename, link: working directory of new name */ |
262 | int errorno; /* errno value on syscall return */ |
262 | int errorno; /* errno value on syscall return */ |
263 | |
263 | |
|
|
264 | unsigned char flags; /* private */ |
|
|
265 | |
264 | signed char type;/* EIO_xxx constant ETP */ |
266 | signed char type;/* EIO_xxx constant ETP */ |
265 | |
267 | signed char pri; /* the priority ETP */ |
266 | #if __i386 || __amd64 |
268 | #if __i386 || __amd64 |
267 | unsigned char cancelled; /* ETP */ |
269 | unsigned char cancelled; /* ETP */ |
268 | #else |
270 | #else |
269 | sig_atomic_t cancelled; /* ETP */ |
271 | sig_atomic_t cancelled; /* ETP */ |
270 | #endif |
272 | #endif |
271 | |
|
|
272 | unsigned char flags; /* private */ |
|
|
273 | signed char pri; /* the priority */ |
|
|
274 | |
273 | |
275 | void *data; |
274 | void *data; |
276 | eio_cb finish; |
275 | eio_cb finish; |
277 | void (*destroy)(eio_req *req); /* called when request no longer needed */ |
276 | void (*destroy)(eio_req *req); /* called when request no longer needed */ |
278 | void (*feed)(eio_req *req); /* only used for group requests */ |
277 | void (*feed)(eio_req *req); /* only used for group requests */ |