Lines Matching refs:iosw
155 struct iosw iosw; member
321 int signo, char *pattern, void *iosw);
1282 char *pattern, void *iosw) in format_rw() argument
1328 (unsigned long)iosw, signo); in format_rw()
1347 (unsigned long)iosw, signo); in format_rw()
1548 if (reada(fd, addr, nbytes, &aiop->iosw, signo) == -1) { in do_read()
1552 &aiop->iosw)); in do_read()
1567 if (aiop->iosw.sw_count != nbytes) { in do_read()
1571 aiop->iosw.sw_flag, in do_read()
1572 aiop->iosw.sw_error, in do_read()
1573 aiop->iosw.sw_count, in do_read()
1575 NULL, &aiop->iosw)); in do_read()
1860 if (writea(fd, addr, nbytes, &aiop->iosw, signo) == -1) { in do_write()
1881 if (aiop->iosw.sw_count != nbytes) { in do_write()
1885 aiop->iosw.sw_flag, in do_write()
1886 aiop->iosw.sw_error, in do_write()
1887 aiop->iosw.sw_count, in do_write()
1889 Pattern, &aiop->iosw)); in do_write()
1916 &aiop->iosw) in do_write()
2208 lio_req.li_status = &aiop->iosw; in do_listio()
2247 if (aiop->iosw.sw_count != lio->r_nbytes * nstrides) { in do_listio()
2251 aiop->iosw.sw_flag, in do_listio()
2252 aiop->iosw.sw_error, aiop->iosw.sw_count, in do_listio()
2586 l->li_status = &aiop->iosw; in sy_listio()
3069 struct iosw *iosw; in do_rw() local
3347 iosw = &aiop->iosw; in do_rw()
3348 if (iosw->sw_error != 0) { in do_rw()
3352 strerror(iosw->sw_error), in do_rw()
3359 } else if (iosw->sw_count != nbytes * nstrides) { in do_rw()
3364 iosw->sw_flag, in do_rw()
3365 iosw->sw_error, in do_rw()
3366 iosw->sw_count, in do_rw()
4706 memset((char *)&aiop->iosw, 0x00, sizeof(aiop->iosw)); in aio_register()
4749 struct iosw *ioswlist[1]; in aio_wait()
4776 ioswlist[0] = &aiop->iosw; in aio_wait()
4800 ioswlist[0] = &aiop->iosw; in aio_wait()
4883 return ainfo->iosw.sw_flag; in aio_done()