Lines Matching defs:vmp
1405 vmem_t *vmp = cp->cache_arena;
1412 slab = vmem_alloc(vmp, slabsize, UMEM_VMFLAGS(umflag));
1417 ASSERT(P2PHASE((uintptr_t)slab, vmp->vm_quantum) == 0);
1484 vmem_free(vmp, slab, slabsize);
1500 vmem_t *vmp = cp->cache_arena;
1501 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum);
1511 vmem_free(vmp, slab, cp->cache_slabsize);
2265 umem_firewall_va_alloc(vmem_t *vmp, size_t size, int vmflag)
2267 size_t realsize = size + vmp->vm_quantum;
2281 return (vmem_alloc(vmp, realsize, vmflag | VM_NEXTFIT));
2285 umem_firewall_va_free(vmem_t *vmp, void *addr, size_t size)
2287 vmem_free(vmp, addr, size + vmp->vm_quantum);
2648 vmem_t *vmp, /* vmem source for slab allocation */
2676 if (vmp == NULL)
2677 vmp = umem_default_arena;
2684 if ((align & (align - 1)) != 0 || align > vmp->vm_quantum ||
2764 if (vmp != umem_default_arena || umem_firewall_arena == NULL)
2770 ASSERT(vmp == umem_default_arena);
2771 vmp = umem_firewall_arena;
2784 cp->cache_arena = vmp;
2822 if (vmp == umem_firewall_arena) {
2823 cp->cache_slabsize = P2ROUNDUP(chunksize, vmp->vm_quantum);
2830 chunksize < vmp->vm_quantum / UMEM_VOID_FRACTION)) {
2831 cp->cache_slabsize = vmp->vm_quantum;
2847 vmp->vm_quantum);
2863 bestfit = MAX(1 << highbit(3 * vmp->vm_qcache_max), 64);
2876 if (cp->cache_maxcolor >= vmp->vm_quantum)
2877 cp->cache_maxcolor = vmp->vm_quantum - 1;