Home
last modified time | relevance | path

Searched refs:VM_NOSLEEP (Results 1 – 25 of 66) sorted by relevance

123

/illumos-gate/usr/src/common/idspace/
H A Did_space.c76 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 Dvmem_mmap.c56 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 Dvmem_sbrk.c161 ret = vmem_alloc(src, size, VM_NOSLEEP); in vmem_sbrk_alloc()
195 ASSERT((vmflags & VM_NOSLEEP) == VM_NOSLEEP); in vmem_sbrk_alloc()
H A Dumem.c624 #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()
3457 0, VM_NOSLEEP); in umem_init()
[all …]
H A Dvmem.c587 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 Dvmem_stand.c111 if ((ret = vmem_alloc(src, size, VM_NOSLEEP)) != NULL) { in stand_parent_alloc()
H A Dmalloc.c193 0, NULL, NULL, VM_NOSLEEP); in memalign()
/illumos-gate/usr/src/uts/common/os/
H A Drmap.c36 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 Dvmem.c701 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 Dlog_sysevent.c977 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 Dseg_kmem.c300 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 Dptms_conf.c375 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/common/sys/
H A Dvmem.h40 #define VM_NOSLEEP 0x00000001 /* same as KM_NOSLEEP */ macro
/illumos-gate/usr/src/uts/common/inet/
H A Dinet_common.c79 1, VM_NOSLEEP)); in inet_minor_alloc()
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c117 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/sun4v/vm/
H A Dmach_vm_dep.c669 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 Diser_resource.c399 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 Dstartup.c1399 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 Dprom_subr.c492 return (vmem_alloc(promplat_arena, size, VM_NOSLEEP)); in promplat_alloc()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_wqe.c89 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 Dpx_fdvma.c179 dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP)); in px_fdvma_reserve()
H A Dpx_mmu.c142 VM_NOSLEEP | VM_BESTFIT | VM_PANIC); in px_mmu_attach()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_rsrc.c396 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 Dsrpt_ioc.c1446 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 Dmp_implfuncs.c233 cvaddr = device_arena_alloc(ptob(npages), VM_NOSLEEP); in psm_map_phys_new()

123