Searched refs:aio_refcount (Results 1 - 2 of 2) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Daio_kern.h59 int aio_refcount; member in struct:aio_workq_entry
/xnu-2782.1.97/bsd/kern/
H A Dkern_aio.c392 if (entryp->aio_refcount < 0) {
395 entryp->aio_refcount++;
405 entryp->aio_refcount--;
406 if (entryp->aio_refcount < 0) {
424 if ((entryp->aio_refcount == 0) && ((entryp->flags & AIO_DO_FREE) != 0)) {
795 if (entryp->aio_refcount == 0) {
922 if (entryp->aio_refcount == 0) {
1870 entryp->aio_refcount = 0;
2074 entryp->aio_refcount = -1; /* A bit of poisoning in case of bad refcounting. */

Completed in 24 milliseconds