Lines Matching refs:cbs
10 struct aiocb *cbs[]; member
17 struct aiocb **cbs = st->cbs; in lio_wait() local
21 if (!cbs[i]) continue; in lio_wait()
22 err = aio_error(cbs[i]); in lio_wait()
26 cbs[i] = 0; in lio_wait()
35 if (aio_suspend((void *)cbs, cnt, 0)) in lio_wait()
69 int lio_listio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, struct sigevent *rest… in lio_listio() argument
80 if (!(st = malloc(sizeof *st + cnt*sizeof *cbs))) { in lio_listio()
86 memcpy(st->cbs, (void*) cbs, cnt*sizeof *cbs); in lio_listio()
90 if (!cbs[i]) continue; in lio_listio()
91 switch (cbs[i]->aio_lio_opcode) { in lio_listio()
93 ret = aio_read(cbs[i]); in lio_listio()
96 ret = aio_write(cbs[i]); in lio_listio()