Home
last modified time | relevance | path

Searched refs:vmem_alloc (Results 1 – 25 of 95) sorted by relevance

1234

/titanic_41/usr/src/uts/common/os/
H A Did_space.c98 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_SLEEP | VM_NEXTFIT))); in id_alloc()
109 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_NEXTFIT))); in id_alloc_nosleep()
119 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_SLEEP | VM_FIRSTFIT))); in id_allocff()
130 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_FIRSTFIT))); in id_allocff_nosleep()
H A Drmap.c57 return ((ulong_t)vmem_alloc(mp, size, VM_NOSLEEP)); in rmalloc()
63 return ((ulong_t)vmem_alloc(mp, size, VM_SLEEP)); in rmalloc_wait()
H A Dvmem.c717 p = vmem_alloc(vmem_seg_arena, size, vmflag & VM_KMFLAGS); in vmem_populate()
1263 vmem_alloc(vmem_t *vmp, size_t size, int vmflag) in vmem_alloc() function
1458 vmp = vmem_alloc(vmem_vmem_arena, sizeof (vmem_t), in vmem_create_common()
1667 new_table = vmem_alloc(vmem_hash_arena, new_size * sizeof (void *), in vmem_hash_rescale()
1764 vmem_alloc, vmem_free, heap, 8 * heap_quantum, in vmem_init()
H A Dmodsysfile.c514 sysp = vmem_alloc(mod_sysfile_arena, sizeof (struct sysparam), in do_sysfile_cmd()
553 sysp->sys_ptr = vmem_alloc(mod_sysfile_arena, strlen(tok1) + 1, in do_sysfile_cmd()
580 sysp->sys_modnam = vmem_alloc(mod_sysfile_arena, in do_sysfile_cmd()
596 sysp->sys_ptr = vmem_alloc(mod_sysfile_arena, strlen(var) + 1, in do_sysfile_cmd()
708 sysp->sys_ptr = vmem_alloc(mod_sysfile_arena, strlen(tok1) + 1, in do_sysfile_cmd()
735 sysp->sys_ptr = vmem_alloc(mod_sysfile_arena, strlen(tok1) + 1, in do_sysfile_cmd()
1343 cp = vmem_alloc(mod_sysfile_arena, len + 1, VM_SLEEP); in kobj_get_string()
H A Dsubr.c323 vaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in hot_patch_kernel_text()
H A Durw.c159 kaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in mapin()
/titanic_41/usr/src/lib/libumem/common/
H A Dvmem_stand.c113 if ((ret = vmem_alloc(src, size, VM_NOSLEEP)) != NULL) { in stand_parent_alloc()
156 "stand_heap", NULL, 0, pagesize, vmem_alloc, vmem_free); in vmem_stand_arena()
159 *a_out = vmem_alloc; in vmem_stand_arena()
H A Dvmem_sbrk.c163 ret = vmem_alloc(src, size, VM_NOSLEEP); in vmem_sbrk_alloc()
259 vmem_alloc, vmem_free); in vmem_sbrk_arena()
263 *a_out = vmem_alloc; in vmem_sbrk_arena()
H A Dvmem_mmap.c51 ret = vmem_alloc(src, size, vmflags); in vmem_mmap_alloc()
83 ret = vmem_alloc(src, size, VM_NOSLEEP); in vmem_mmap_top_alloc()
H A Dumem.c1296 lhp->lh_base = vmem_alloc(umem_log_arena, in umem_log_init()
1301 lhp->lh_free = vmem_alloc(umem_log_arena, in umem_log_init()
1412 slab = vmem_alloc(vmp, slabsize, UMEM_VMFLAGS(umflag)); in umem_slab_create()
2178 buf = vmem_alloc(umem_oversize_arena, size, UMEM_VMFLAGS(umflag)); in _umem_alloc()
2281 return (vmem_alloc(vmp, realsize, vmflag | VM_NEXTFIT)); in umem_firewall_va_alloc()
2424 new_table = vmem_alloc(umem_hash_arena, new_size * sizeof (void *), in umem_hash_rescale()
2893 cp->cache_hash_table = vmem_alloc(umem_hash_arena, in umem_cache_create()
3160 vmem_alloc, vmem_free, heap_arena, in umem_cache_init()
3433 vmem_alloc, vmem_free, umem_internal_arena, 0, VM_NOSLEEP); in umem_init()
3436 vmem_alloc, vmem_free, umem_internal_arena, 0, VM_NOSLEEP); in umem_init()
[all …]
H A Dvmem.c610 p = vmem_alloc(vmem_seg_arena, size, vmflag & VM_UMFLAGS); in vmem_populate()
1066 vmem_alloc(vmem_t *vmp, size_t size, int vmflag) in vmem_alloc() function
1442 vmp = vmem_alloc(vmem_vmem_arena, sizeof (vmem_t), in vmem_create()
1600 new_table = vmem_alloc(vmem_hash_arena, new_size * sizeof (void *), in vmem_hash_rescale()
1732 vmem_alloc, vmem_free, vmem_internal_arena, 0, in vmem_init()
1737 vmem_alloc, vmem_free, vmem_internal_arena, 0, in vmem_init()
1742 vmem_alloc, vmem_free, vmem_internal_arena, 0, in vmem_init()
H A Dmapfile-vers77 vmem_alloc;
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c158 addr = (uintptr_t)vmem_alloc(heap_arena, sz, VM_SLEEP); in xen_relocate_start_info()
215 addr = (uintptr_t)vmem_alloc(heap_arena, sz, VM_SLEEP); in xen_relocate_start_info()
227 addr = (uintptr_t)vmem_alloc(heap_arena, sz, VM_SLEEP); in xen_relocate_start_info()
242 xb_addr = vmem_alloc(heap_arena, MMU_PAGESIZE, VM_SLEEP); in xen_relocate_start_info()
/titanic_41/usr/src/uts/i86pc/os/
H A Dppage.c59 va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ppmapin()
H A Dgraphics.c161 videomem = vmem_alloc(heap_arena, videomem_size, VM_SLEEP); in progressbar_start()
/titanic_41/usr/src/uts/common/sys/
H A Dvmem.h137 extern void *vmem_alloc(vmem_t *, size_t, int);
/titanic_41/usr/src/uts/common/inet/
H A Dinet_common.c80 return ((dev_t)vmem_alloc(((inet_arena_t *)arena)->ineta_arena, in inet_minor_alloc()
/titanic_41/usr/src/uts/sun4u/starfire/os/
H A Dcpu_sgnblk.c116 cvaddr = vmem_alloc(heap_arena, ptob(num_pages), VM_SLEEP); in cpu_sgn_mapin()
/titanic_41/usr/src/uts/common/io/
H A Dptms_conf.c368 vmem_alloc(ptms_minor_arena, 1, VM_NOSLEEP); in pt_ttys_alloc()
599 vmem_alloc(ptms_minor_arena, 1, VM_NOSLEEP)); in ptms_grow()
/titanic_41/usr/src/uts/common/vm/
H A Dseg_kmem.c340 sizeof (uint64_t), vmem_alloc, vmem_free, static_arena, in kernelheap_init()
868 if (inaddr == NULL && (addr = vmem_alloc(vmp, size, vmflag)) == NULL) in segkmem_xalloc()
956 addr = vmem_alloc(vmp, size, vmflag | VM_PANIC); in segkmem_alloc_vn()
1154 if ((ppa = vmem_alloc(segkmem_ppa_arena, ppasize, vmflag)) == NULL) { in segkmem_xalloc_lp()
1158 if (inaddr == NULL && (addr = vmem_alloc(vmp, size, vmflag)) == NULL) in segkmem_xalloc_lp()
1347 addr = vmem_alloc(kmem_lp_arena, asize, in segkmem_alloc_lp()
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dac_add.c141 base_va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ac_add_bank()
/titanic_41/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c118 cvaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); in gfxp_map_kernel_space()
/titanic_41/usr/src/uts/sun4v/os/
H A Dppage.c179 va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ppmapin()
/titanic_41/usr/src/uts/common/io/ib/clients/iser/
H A Diser_resource.c398 result = vmem_alloc(vmr_pool->ivmp_vmem, size, in iser_vmem_alloc()
434 result = vmem_alloc(vmr_pool->ivmp_vmem, size, in iser_vmem_alloc()
/titanic_41/usr/src/uts/common/fs/namefs/
H A Dnamevfs.c92 vmem_alloc(nm_inoarena, 1, VM_NOSLEEP + VM_FIRSTFIT); in namenodeno_alloc()
97 vmem_alloc(nm_inoarena, 1, VM_SLEEP + VM_FIRSTFIT); in namenodeno_alloc()

1234