Home
last modified time | relevance | path

Searched refs:iocb_free (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c66 struct iocb **iocb_free; /* array of pointers to iocb */ variable
136 if ((iocb_free = malloc(n * sizeof(struct iocb *))) == 0) { in init_iocb()
142 (iocb_free[i] = malloc(sizeof(struct iocb)))) in init_iocb()
156 io_prep_pread(iocb_free[i], -1, buf, iosize, 0); in init_iocb()
166 return iocb_free[--iocb_free_count]; in alloc_iocb()
171 iocb_free[iocb_free_count++] = io; in free_iocb()