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

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dmcache.h87 * MCR_NOSLEEP and MCR_FAILOK are mutually exclusive. The latter is used
96 * whether MCR_NOSLEEP is set. It informs the allocator that the request
101 * Regular mcache clients should only use MCR_SLEEP or MCR_NOSLEEP.
104 #define MCR_NOSLEEP 0x0001 /* same as M_NOWAIT */ macro
109 #define MCR_NONBLOCKING (MCR_NOSLEEP | MCR_FAILOK | MCR_TRYHARD)
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmcache.c271 int malloc_wait = (wait & MCR_NOSLEEP) ? M_NOWAIT : M_WAITOK;
278 if (!(wait & MCR_NOSLEEP))
429 /* MCR_NOSLEEP and MCR_FAILOK are mutually exclusive */
430 VERIFY((wait & (MCR_NOSLEEP|MCR_FAILOK)) != (MCR_NOSLEEP|MCR_FAILOK));
526 } else if ((wait & (MCR_NOSLEEP | MCR_TRYHARD)) &&
757 bkt = mcache_alloc(btp->bt_cache, MCR_NOSLEEP);
876 if (!(wait & MCR_NOSLEEP))
H A Duipc_mbuf.c688 #define MSLEEPF(f) ((!((f) & M_DONTWAIT)) ? MCR_SLEEP : MCR_NOSLEEP)
1449 (wait & MCR_NOSLEEP) ? M_DONTWAIT : M_WAIT);
1459 if (wait & MCR_NOSLEEP) {
1839 if (!(wait & MCR_NOSLEEP))
2671 if (mcflags & MCR_NOSLEEP)
2902 if (mcflags & MCR_NOSLEEP)
2936 if (mcflags & MCR_NOSLEEP)
2972 if (mcflags & MCR_NOSLEEP)
3080 if (!wantall || (mcflags & MCR_NOSLEEP))
3231 if (!wantall || (mcflags & MCR_NOSLEEP))
[all...]

Completed in 36 milliseconds