Lines Matching refs:ioreq

320 char *format_rw(struct io_req *ioreq, int fd, void *buffer,
323 char *format_sds(struct io_req *ioreq, void *buffer, int sds char *pattern);
331 char *format_listio(struct io_req *ioreq, int lcmd,
341 char *fmt_ioreq(struct io_req *ioreq, struct syscall_info *sy, int fd);
758 struct io_req ioreq; in doio() local
918 while ((nbytes = read(infd, (char *)&ioreq, sizeof(ioreq)))) { in doio()
938 sizeof(ioreq), SYSERR, errno); in doio()
943 if (nbytes != sizeof(ioreq)) { in doio()
946 sizeof(ioreq), nbytes); in doio()
951 if (ioreq.r_magic != DOIO_MAGIC) { in doio()
954 DOIO_MAGIC, ioreq.r_magic); in doio()
983 switch (ioreq.r_type) { in doio()
986 rval = do_read(&ioreq); in doio()
991 rval = do_write(&ioreq); in doio()
1014 rval = do_rw(&ioreq); in doio()
1020 rval = do_ssdio(&ioreq); in doio()
1024 rval = do_listio(&ioreq); in doio()
1034 rval = do_fcntl(&ioreq); in doio()
1041 rval = do_sync(&ioreq); in doio()
1047 ioreq.r_type); in doio()
1058 ioreq.r_type); in doio()
1281 char *format_rw(struct io_req *ioreq, int fd, void *buffer, int signo, in format_rw() argument
1286 struct read_req *readp = &ioreq->r_data.read; in format_rw()
1287 struct write_req *writep = &ioreq->r_data.write; in format_rw()
1288 struct read_req *readap = &ioreq->r_data.read; in format_rw()
1289 struct write_req *writeap = &ioreq->r_data.write; in format_rw()
1297 switch (ioreq->r_type) { in format_rw()
1368 char *format_sds(struct io_req *ioreq, void *buffer, int sds, char *pattern) in format_sds() argument
1374 struct ssread_req *ssreadp = &ioreq->r_data.ssread; in format_sds()
1375 struct sswrite_req *sswritep = &ioreq->r_data.sswrite; in format_sds()
1383 switch (ioreq->r_type) { in format_sds()
1985 char *format_listio(struct io_req *ioreq, int lcmd, struct listreq *list, in format_listio() argument
1989 struct listio_req *liop = &ioreq->r_data.listio; in format_listio()
2421 char *fmt_ioreq(struct io_req *ioreq, struct syscall_info *sy, int fd) in fmt_ioreq() argument
2437 io = &ioreq->r_data.io; in fmt_ioreq()