Lines Matching defs:cansleep
1318 contig_alloc(size_t size, ddi_dma_attr_t *attr, uintptr_t align, int cansleep)
1333 (cansleep) ? VM_SLEEP : VM_NOSLEEP);
1336 (cansleep) ? VM_SLEEP : VM_NOSLEEP);
1340 if (page_resv(pgcnt, (cansleep) ? KM_SLEEP : KM_NOSLEEP) == 0) {
1346 if (cansleep)
1410 kalloca(size_t size, size_t align, int cansleep, int physcontig,
1434 if (addr = contig_alloc(size, attr, align, cansleep)) {
1448 (cansleep) ? VM_SLEEP : VM_NOSLEEP);
1452 raddr = kmem_cache_alloc(cp, (cansleep) ? KM_SLEEP :
1459 ASSERT(cansleep == 0);
1610 size_t length, int cansleep, int flags,
1684 a = kalloca(length, iomin, cansleep, physcontig, attr);