Lines Matching refs:wait
231 u_int32_t flags, int wait)
235 wait));
247 u_int32_t flags, int wait)
250 freefn, auditfn, logfn, notifyfn, arg, flags, 0, wait));
260 u_int32_t flags, int need_zone, int wait)
271 int malloc_wait = (wait & MCR_NOSLEEP) ? M_NOWAIT : M_WAITOK;
278 if (!(wait & MCR_NOSLEEP))
422 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait)
431 VERIFY((wait & (MCR_NOSLEEP|MCR_FAILOK)) != (MCR_NOSLEEP|MCR_FAILOK));
522 need -= (*cp->mc_slab_alloc)(cp->mc_private, &list, need, wait);
529 if (!(wait & MCR_NONBLOCKING)) {
532 } else if ((wait & (MCR_NOSLEEP | MCR_TRYHARD)) &&
583 mcache_alloc(mcache_t *cp, int wait)
587 (void) mcache_alloc_ext(cp, &buf, 1, wait);
870 mcache_slab_alloc(void *arg, mcache_obj_t ***plist, unsigned int num, int wait)
891 if (!(wait & MCR_NOSLEEP))