… | |
… | |
83 | struct eio_req |
83 | struct eio_req |
84 | { |
84 | { |
85 | eio_req volatile *next; /* private ETP */ |
85 | eio_req volatile *next; /* private ETP */ |
86 | |
86 | |
87 | ssize_t result; /* result of syscall, e.g. result = read (... */ |
87 | ssize_t result; /* result of syscall, e.g. result = read (... */ |
88 | off_t offs; /* read, write, truncate, readahead: file offset; mknod: dev_t */ |
88 | off_t offs; /* read, write, truncate, readahead: file offset */ |
89 | size_t size; /* read, write, readahead, sendfile: length */ |
89 | size_t size; /* read, write, readahead, sendfile: length */ |
90 | void *ptr1; /* all applicable requests: pathname, old name */ |
90 | void *ptr1; /* all applicable requests: pathname, old name */ |
91 | void *ptr2; /* all applicable requests: new name or memory buffer */ |
91 | void *ptr2; /* all applicable requests: new name or memory buffer */ |
92 | eio_tstamp nv1; /* utime, futime: atime; busy: sleep time */ |
92 | eio_tstamp nv1; /* utime, futime: atime; busy: sleep time */ |
93 | eio_tstamp nv2; /* utime, futime: mtime */ |
93 | eio_tstamp nv2; /* utime, futime: mtime */ |
94 | |
94 | |
95 | int type; /* EIO_xxx constant ETP */ |
95 | int type; /* EIO_xxx constant ETP */ |
96 | int int1; /* all applicable requests: file descriptor; sendfile: output fd; open: flags */ |
96 | int int1; /* all applicable requests: file descriptor; sendfile: output fd; open: flags */ |
97 | long int2; /* chown, fchown: uid; sendfile: input fd; open, chmod, mkdir, mknod: file mode */ |
97 | long int2; /* chown, fchown: uid; sendfile: input fd; open, chmod, mkdir, mknod: file mode */ |
98 | long int3; /* chown, fchown: gid */ |
98 | long int3; /* chown, fchown: gid; mknod: dev_t */ |
99 | int errorno; /* errno value on syscall return */ |
99 | int errorno; /* errno value on syscall return */ |
100 | |
100 | |
101 | unsigned char flags; /* private */ |
101 | unsigned char flags; /* private */ |
102 | signed char pri; /* the priority */ |
102 | signed char pri; /* the priority */ |
103 | |
103 | |