Lines Matching refs:aioid
182 int *aioid; /* list of async I/O structures */ member
2559 status->aioid = malloc((nents + 1) * sizeof(int)); in sy_listio()
2560 if (status->aioid == NULL) { in sy_listio()
2579 status->aioid[i] = aio_id; in sy_listio()
2595 status->aioid[nents] = -1; /* end sentinel */ in sy_listio()
2664 status->aioid = NULL; in sy_pread()
2685 status->aioid = NULL; in sy_pwrite()
2741 status->aioid = NULL; in sy_rwv()
2757 status->aioid = NULL; in sy_rwv()
2843 status->aioid = malloc(2 * sizeof(int)); in sy_arw()
2844 if (status->aioid == NULL) { in sy_arw()
2849 status->aioid[0] = aio_id; in sy_arw()
2850 status->aioid[1] = -1; in sy_arw()
2903 status->aioid = NULL; in sy_mmrw()
3318 if (s->aioid == NULL) in do_rw()
3320 aio_unregister(s->aioid[i]); in do_rw()
3330 aio_wait(s->aioid[i]); in do_rw()
3344 if (s->aioid == NULL) in do_rw()
3346 aiop = aio_slot(s->aioid[i]); in do_rw()
3375 aio_unregister(s->aioid[i]); in do_rw()
3379 for (i = 0; s->aioid[i] != -1; i++) { in do_rw()
3380 if (s->aioid == NULL) { in do_rw()
3385 aiop = aio_slot(s->aioid[i]); in do_rw()
3413 aio_unregister(s->aioid[i]); in do_rw()
3417 aio_unregister(s->aioid[i]); in do_rw()
3483 if (s->aioid != NULL) in do_rw()
3484 free(s->aioid); in do_rw()