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

/darwin-on-arm/xnu/bsd/sys/
H A Daio_kern.h58 int aio_refcount; member in struct:aio_workq_entry
/darwin-on-arm/xnu/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)) {
796 if (entryp->aio_refcount == 0) {
923 if (entryp->aio_refcount == 0) {
1871 entryp->aio_refcount = 0;
2059 entryp->aio_refcount = -1; /* A bit of poisoning in case of bad refcounting. */

Completed in 23 milliseconds