/illumos-gate/usr/src/common/idspace/ |
H A D | id_space.c | 76 int flag = VM_NOSLEEP; in id_space_create() 101 int flag = VM_NOSLEEP; in id_space_extend() 116 int flag = VM_NOSLEEP; in id_alloc() 129 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_NEXTFIT))); in id_alloc_nosleep() 142 int flag = VM_NOSLEEP; in id_allocff() 155 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_FIRSTFIT))); in id_allocff_nosleep() 173 minaddr, maxaddr, VM_NOSLEEP))); in id_alloc_specific_nosleep()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_mmap.c | 56 ASSERT((vmflags & VM_NOSLEEP) == VM_NOSLEEP); in vmem_mmap_alloc() 81 ret = vmem_alloc(src, size, VM_NOSLEEP); in vmem_mmap_top_alloc() 107 ASSERT((vmflags & VM_NOSLEEP) == VM_NOSLEEP); in vmem_mmap_top_alloc()
|
H A D | vmem_sbrk.c | 161 ret = vmem_alloc(src, size, VM_NOSLEEP); in vmem_sbrk_alloc() 195 ASSERT((vmflags & VM_NOSLEEP) == VM_NOSLEEP); in vmem_sbrk_alloc()
|
H A D | umem.c | 624 #define UMEM_VMFLAGS(umflag) (VM_NOSLEEP) 1287 NULL, NULL, VM_NOSLEEP); in umem_log_init() 1300 lhp->lh_chunksize * nchunks, VM_NOSLEEP); in umem_log_init() 1305 nchunks * sizeof (int), VM_NOSLEEP); in umem_log_init() 2429 VM_NOSLEEP); in umem_hash_rescale() 2716 0, NULL, NULL, VM_NOSLEEP); in umem_cache_create() 2903 UMEM_HASH_INITIAL * sizeof (void *), VM_NOSLEEP); in umem_cache_create() 3170 8 * pagesize, VM_NOSLEEP); in umem_cache_init() 3180 0, VM_NOSLEEP); in umem_cache_init() 3438 heap_alloc, heap_free, heap_arena, 0, VM_NOSLEEP); in umem_init() [all …]
|
H A D | vmem.c | 587 ASSERT(vmflag & VM_NOSLEEP); /* we do not allow sleep allocations */ in vmem_populate() 780 (vmflag & VM_NOSLEEP)) { in vmem_nextfit_alloc() 852 (vmflag & (VM_NOSLEEP | VM_PANIC)) == VM_NOSLEEP) in vmem_xalloc() 943 if (vmflag & VM_NOSLEEP) in vmem_xalloc() 975 if (vmflag & VM_NOSLEEP) in vmem_xalloc() 1081 ASSERT(vmflag & VM_NOSLEEP); in vmem_alloc() 1087 (vmflag & (VM_NOSLEEP | VM_PANIC)) == VM_NOSLEEP) in vmem_alloc() 1606 VM_NOSLEEP); in vmem_hash_rescale() 1753 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in vmem_init()
|
H A D | vmem_stand.c | 111 if ((ret = vmem_alloc(src, size, VM_NOSLEEP)) != NULL) { in stand_parent_alloc()
|
H A D | malloc.c | 193 0, NULL, NULL, VM_NOSLEEP); in memalign()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | rmap.c | 36 VM_NOSLEEP)); in rmallocmap() 55 return ((ulong_t)vmem_alloc(mp, size, VM_NOSLEEP)); in rmalloc() 69 else if (vmem_add(mp, (void *)addr, size, VM_NOSLEEP) == NULL) in rmfree()
|
H A D | vmem.c | 701 else if (vmflag & VM_NOSLEEP) in vmem_populate() 884 (vmflag & VM_NOSLEEP)) { in vmem_nextfit_alloc() 972 (vmflag & (VM_NOSLEEP | VM_PANIC)) == VM_NOSLEEP) in vmem_xalloc() 1079 if ((vmflag & VM_NOSLEEP) && in vmem_xalloc() 1174 if (vmflag & VM_NOSLEEP) in vmem_xalloc() 1285 (vmflag & (VM_NOSLEEP | VM_PANIC)) == VM_NOSLEEP) in vmem_alloc() 1538 ASSERT(!(vmflag & VM_NOSLEEP)); in vmem_create_common() 1686 VM_NOSLEEP); in vmem_hash_rescale() 1803 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in vmem_init()
|
H A D | log_sysevent.c | 977 VM_NOSLEEP | VMC_IDENTIFIER)) == NULL) { in open_channel() 983 VM_NOSLEEP | VMC_IDENTIFIER)) == NULL) { in open_channel() 1049 VM_NOSLEEP | VM_NEXTFIT); in bind_common() 1055 VM_NOSLEEP | VM_NEXTFIT); in bind_common()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kmem.c | 300 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in kernelheap_init() 307 0, 0, kernelheap, first_avail, VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in kernelheap_init() 320 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in kernelheap_init() 324 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in kernelheap_init() 850 if ((vmflag & VM_NOSLEEP) == 0) in segkmem_page_create() 857 ASSERT(vmflag & VM_NOSLEEP); in segkmem_page_create() 1118 if (!(vmflag & VM_NOSLEEP)) in segkmem_page_create_large() 1148 vmflag |= VM_NOSLEEP; in segkmem_xalloc_lp() 1308 if (!(vmflag & VM_NOSLEEP) && in segkmem_alloc_lp() 1371 if (vmflag & VM_NOSLEEP) in segkmem_alloc_lp()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ptms_conf.c | 375 vmem_alloc(ptms_minor_arena, 1, VM_NOSLEEP); in pt_ttys_alloc() 588 new_size - old_size, VM_NOSLEEP); in ptms_grow() 603 vmem_alloc(ptms_minor_arena, 1, VM_NOSLEEP)); in ptms_grow()
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vm.c | 117 cvaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); in gfxp_map_kernel_space() 274 cvaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); in gfxp_alloc_kernel_space()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vmem.h | 40 #define VM_NOSLEEP 0x00000001 /* same as KM_NOSLEEP */ macro
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | inet_common.c | 79 1, VM_NOSLEEP)); in inet_minor_alloc()
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 669 NULL, NULL, VM_NOSLEEP | VM_NORELOC); in contig_mem_alloc_align() 674 NULL, NULL, VM_NOSLEEP)); in contig_mem_alloc_align() 679 NULL, NULL, VM_NOSLEEP); in contig_mem_alloc_align()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_resource.c | 399 VM_NOSLEEP | VM_FIRSTFIT); in iser_vmem_alloc() 424 next_chunk->is_mrlen, VM_NOSLEEP) == NULL) { in iser_vmem_alloc() 435 VM_NOSLEEP | VM_FIRSTFIT); in iser_vmem_alloc()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | startup.c | 1399 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in startup_memlist() 1488 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in startup_memlist() 3125 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in kobj_vmem_init() 3134 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in kobj_vmem_init() 3162 VM_NOSLEEP | VM_BESTFIT); in kobj_text_alloc() 3228 VM_BESTFIT | VM_NOSLEEP)); in kobj_texthole_alloc()
|
H A D | prom_subr.c | 492 return (vmem_alloc(promplat_arena, size, VM_NOSLEEP)); in promplat_alloc()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_wqe.c | 89 IBMF_MEM_PER_WQE, kmflags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP); in ibmf_send_wqe_cache_constructor() 201 IBMF_MEM_PER_WQE, kmflags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP); in ibmf_recv_wqe_cache_constructor() 314 kmflags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP); in ibmf_altqp_send_wqe_cache_constructor() 427 kmflags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP); in ibmf_altqp_recv_wqe_cache_constructor() 1203 (block == B_TRUE ? VM_SLEEP : VM_NOSLEEP)) == NULL) { in ibmf_i_extend_wqe_mem()
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fdvma.c | 179 dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP)); in px_fdvma_reserve()
|
H A D | px_mmu.c | 142 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in px_mmu_attach()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 396 flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP; in hermon_rsrc_fexch_alloc() 493 flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP; in hermon_rsrc_rfci_alloc() 1913 flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP; in hermon_rsrc_hw_entry_alloc() 1975 flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP; in hermon_rsrc_hw_entry_reserve() 2365 flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP; in hermon_rsrc_pdhdl_alloc()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 1446 VM_NOSLEEP | VM_FIRSTFIT); in srpt_vmem_alloc() 1475 next->mr_len, VM_NOSLEEP) == NULL) { in srpt_vmem_alloc() 1486 result = vmem_alloc(vm_pool->svp_vmem, size, VM_NOSLEEP | VM_FIRSTFIT); in srpt_vmem_alloc()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_implfuncs.c | 233 cvaddr = device_arena_alloc(ptob(npages), VM_NOSLEEP); in psm_map_phys_new()
|