Searched refs:MCR_NOSLEEP (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dmcache.h126 * MCR_NOSLEEP and MCR_FAILOK are mutually exclusive. The latter is used
135 * whether MCR_NOSLEEP is set. It informs the allocator that the request
140 * Regular mcache clients should only use MCR_SLEEP or MCR_NOSLEEP.
143 #define MCR_NOSLEEP 0x0001 /* same as M_NOWAIT */ macro
148 #define MCR_NONBLOCKING (MCR_NOSLEEP | MCR_FAILOK | MCR_TRYHARD)
/darwin-on-arm/xnu/bsd/kern/
H A Dmcache.c271 int malloc_wait = (wait & MCR_NOSLEEP) ? M_NOWAIT : M_WAITOK;
278 if (!(wait & MCR_NOSLEEP))
430 /* MCR_NOSLEEP and MCR_FAILOK are mutually exclusive */
431 VERIFY((wait & (MCR_NOSLEEP|MCR_FAILOK)) != (MCR_NOSLEEP|MCR_FAILOK));
532 } else if ((wait & (MCR_NOSLEEP | MCR_TRYHARD)) &&
772 bkt = mcache_alloc(btp->bt_cache, MCR_NOSLEEP);
891 if (!(wait & MCR_NOSLEEP))
H A Duipc_mbuf.c826 #define MSLEEPF(f) ((!((f) & M_DONTWAIT)) ? MCR_SLEEP : MCR_NOSLEEP)
1954 (wait & MCR_NOSLEEP) ? M_DONTWAIT : M_WAIT);
1967 if (wait & MCR_NOSLEEP) {
2356 if (!(wait & MCR_NOSLEEP))
3195 if (mcflags & MCR_NOSLEEP)
3418 if (mcflags & MCR_NOSLEEP)
3476 if (mcflags & MCR_NOSLEEP)
3510 if (mcflags & MCR_NOSLEEP)
3546 if (mcflags & MCR_NOSLEEP)
3663 if (!wantall || (mcflags & MCR_NOSLEEP))
[all...]

Completed in 79 milliseconds