Home
last modified time | relevance | path

Searched refs:heap_arena (Results 1 – 25 of 73) sorted by relevance

123

/titanic_50/usr/src/uts/i86pc/os/
H A Dppage.c59 va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ppmapin()
68 vmem_free(heap_arena, va, PAGESIZE); in ppmapout()
H A Dgraphics.c161 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 Dddi_impl.c1128 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 Dpci_cfgacc_x86.c77 pci_cfgacc_virt_base = vmem_alloc(heap_arena, in pci_cfgacc_map()
/titanic_50/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()
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 Dcpu_sgnblk.c116 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 Dpda.c579 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 Di86_mmu.c71 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 Dhat_kdi.c89 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 Dseg_kmem.c109 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 Dseg_kmem.h56 extern vmem_t *heap_arena; /* primary kernel heap arena */
/titanic_50/usr/src/uts/sun4u/sunfire/io/
H A Dac_add.c141 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 Dac_test.c186 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 Dac_del.c397 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 Dgfxp_vm.c118 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 Dbp_map.c76 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 Dsubr.c323 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 Durw.c159 kaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in mapin()
/titanic_50/usr/src/uts/sun4v/os/
H A Dppage.c179 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 Dumem.c732 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 Dppage.c213 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 Dleaky_subr.c352 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 Dxnb.c430 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 Dxsvc.c872 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 Dsbdp_cpu.c753 kaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); in cpusram_map()
781 vmem_free(heap_arena, base, ptob(npages)); in cpusram_unmap()

123