/titanic_50/usr/src/uts/i86pc/os/ |
H A D | ppage.c | 59 va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ppmapin() 68 vmem_free(heap_arena, va, PAGESIZE); in ppmapout()
|
H A D | graphics.c | 161 videomem = vmem_alloc(heap_arena, videomem_size, VM_SLEEP); in progressbar_start() 192 vmem_free(heap_arena, videomem, videomem_size); in progressbar_stop()
|
H A D | ddi_impl.c | 1128 heap_arena, 0, VM_SLEEP); in kmem_io_init() 1332 addr = vmem_alloc(heap_arena, asize, in contig_alloc() 1335 addr = vmem_xalloc(heap_arena, asize, align, 0, 0, NULL, NULL, in contig_alloc() 1341 vmem_free(heap_arena, addr, asize); in contig_alloc() 1357 vmem_free(heap_arena, addr, asize); in contig_alloc() 1402 vmem_free(heap_arena, addr, asize); in contig_free()
|
H A D | pci_cfgacc_x86.c | 77 pci_cfgacc_virt_base = vmem_alloc(heap_arena, in pci_cfgacc_map()
|
/titanic_50/usr/src/uts/i86xpv/os/ |
H A D | xen_mmu.c | 158 addr = (uintptr_t)vmem_alloc(heap_arena, sz, VM_SLEEP); in xen_relocate_start_info() 174 addr = (uintptr_t)vmem_xalloc(heap_arena, sz, MMU_PAGESIZE, 0, 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_50/usr/src/uts/sun4u/starfire/os/ |
H A D | cpu_sgnblk.c | 116 cvaddr = vmem_alloc(heap_arena, ptob(num_pages), VM_SLEEP); in cpu_sgn_mapin() 177 vmem_free(heap_arena, (caddr_t)cvaddr, ptob(num_pages)); in cpu_sgn_mapout()
|
H A D | pda.c | 579 cvaddr = vmem_alloc(heap_arena, ptob(num_pages), VM_SLEEP); in cpu_p2o_mapin() 621 vmem_free(heap_arena, (caddr_t)cvaddr, ptob(num_pages)); in cpu_p2o_mapout()
|
/titanic_50/usr/src/uts/i86pc/vm/ |
H A D | i86_mmu.c | 71 addr1 = addr = vmem_alloc(heap_arena, mmu_ptob(pgcnt), VM_SLEEP); in i86devmap() 216 ptes = vmem_xalloc(heap_arena, window_size, LEVEL_SIZE(1), 0, in hat_kmap_init() 381 mmu.pwin_base = vmem_xalloc(heap_arena, nwindows * MMU_PAGESIZE, in hat_kern_alloc() 384 mmu.pwin_pte_va = vmem_xalloc(heap_arena, MMU_PAGESIZE, in hat_kern_alloc()
|
H A D | hat_kdi.c | 89 hat_kdi_page = (uintptr_t)vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in hat_kdi_init() 97 hat_kdi_pte = vmem_xalloc(heap_arena, MMU_PAGESIZE, MMU_PAGESIZE, 0, in hat_kdi_init()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | seg_kmem.c | 109 vmem_t *heap_arena; /* primary kernel heap arena */ variable 271 heap_arena = vmem_init("heap", kernelheap, heap_size, PAGESIZE, in kernelheap_init() 279 heap_core_arena = heap_arena; in kernelheap_init() 290 (void) vmem_xalloc(heap_arena, heap_lp_size, PAGESIZE, 0, 0, in kernelheap_init() 298 (void) vmem_xalloc(heap_arena, first_avail - kernelheap, PAGESIZE, in kernelheap_init() 338 segkmem_alloc_permanent, segkmem_free, heap_arena, 0, VM_SLEEP); in kernelheap_init() 354 hat_memload_alloc, segkmem_free, heap_arena, 0, in kernelheap_init() 644 vmem_walk(heap_arena, VMEM_ALLOC | VMEM_REENTRANT, in segkmem_dump() 1471 vmem_xfree(heap_arena, heap_lp_base, in segkmem_lpsetup() 1622 segkmem_alloc_ppa, segkmem_free_ppa, heap_arena, ppaquantum, in segkmem_heap_lp_init()
|
H A D | seg_kmem.h | 56 extern vmem_t *heap_arena; /* primary kernel heap arena */
|
/titanic_50/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_add.c | 141 base_va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ac_add_bank() 168 vmem_free(heap_arena, base_va, PAGESIZE); in ac_add_bank()
|
H A D | ac_test.c | 186 test->va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ac_mem_test_start() 210 vmem_free(heap_arena, test->va, PAGESIZE); in ac_mem_test_start() 281 vmem_free(heap_arena, test->va, PAGESIZE); in ac_mem_test_stop() 336 vmem_free(heap_arena, test->va, PAGESIZE); in ac_mem_test_stop_on_close()
|
H A D | ac_del.c | 397 base_va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ac_bank_write_pattern() 444 vmem_free(heap_arena, base_va, PAGESIZE); in ac_bank_write_pattern()
|
/titanic_50/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vm.c | 118 cvaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); in gfxp_map_kernel_space() 152 vmem_free(heap_arena, base, ptob(npages)); in gfxp_unmap_kernel_space()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | bp_map.c | 76 bp_vmem_alloc, vmem_free, heap_arena, in bp_init() 137 kaddr = vmem_xalloc(heap_arena, size, bp_align, color, in bp_mapin_common() 242 vmem_free(heap_arena, (void *)base, size); in bp_mapout()
|
H A D | subr.c | 323 vaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in hot_patch_kernel_text() 350 vmem_free(heap_arena, vaddr, PAGESIZE); in hot_patch_kernel_text()
|
H A D | urw.c | 159 kaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in mapin()
|
/titanic_50/usr/src/uts/sun4v/os/ |
H A D | ppage.c | 179 va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ppmapin() 199 vmem_free(heap_arena, va, PAGESIZE); in ppmapout()
|
/titanic_50/usr/src/lib/libumem/common/ |
H A D | umem.c | 732 static vmem_t *heap_arena; variable 3160 vmem_alloc, vmem_free, heap_arena, in umem_cache_init() 3163 umem_va_arena = heap_arena; in umem_cache_init() 3279 heap_arena = NULL; in umem_startup() 3420 heap_arena = vmem_heap_arena(&heap_alloc, &heap_free); in umem_init() 3422 pagesize = heap_arena->vm_quantum; in umem_init() 3425 heap_alloc, heap_free, heap_arena, 0, VM_NOSLEEP); in umem_init() 3439 heap_alloc, heap_free, heap_arena, 0, VM_NOSLEEP); in umem_init() 3443 umem_firewall_va_alloc, umem_firewall_va_free, heap_arena, in umem_init() 3459 umem_firewall_va_arena : heap_arena, 0, VM_NOSLEEP); in umem_init() [all …]
|
/titanic_50/usr/src/uts/sun4u/os/ |
H A D | ppage.c | 213 va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ppmapin() 233 vmem_free(heap_arena, va, PAGESIZE); in ppmapout()
|
/titanic_50/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | leaky_subr.c | 352 vmem_t *heap_arena; in leaky_handle_anon_mappings() local 368 if (umem_readvar(&heap_arena, "heap_arena") == -1) { in leaky_handle_anon_mappings() 373 if (heap_arena == NULL) { in leaky_handle_anon_mappings() 378 for (vm_next = heap_arena; vm_next != NULL; vm_next = vmem.vm_source) { in leaky_handle_anon_mappings()
|
/titanic_50/usr/src/uts/common/xen/io/ |
H A D | xnb.c | 430 xnbp->xnb_rx_va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in xnb_attach() 517 vmem_free(heap_arena, xnbp->xnb_rx_va, PAGESIZE); in xnb_attach() 550 vmem_free(heap_arena, xnbp->xnb_rx_va, PAGESIZE); in xnb_detach() 1769 xnbp->xnb_tx_ring_addr = vmem_xalloc(heap_arena, PAGESIZE, PAGESIZE, in xnb_connect_rings() 1791 xnbp->xnb_rx_ring_addr = vmem_xalloc(heap_arena, PAGESIZE, PAGESIZE, in xnb_connect_rings() 1890 vmem_free(heap_arena, xnbp->xnb_rx_ring_addr, PAGESIZE); in xnb_disconnect_rings() 1912 vmem_free(heap_arena, xnbp->xnb_tx_ring_addr, PAGESIZE); in xnb_disconnect_rings()
|
/titanic_50/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 872 kva = vmem_alloc(heap_arena, psize, VM_SLEEP); in xsvc_devmap() 933 vmem_free(heap_arena, kva, psize); in xsvc_devmap() 1111 vmem_free(heap_arena, kva, size); in xsvc_devmap_unmap()
|
/titanic_50/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 753 kaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); in cpusram_map() 781 vmem_free(heap_arena, base, ptob(npages)); in cpusram_unmap()
|