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