Home
last modified time | relevance | path

Searched refs:cache_slabsize (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/sys/
H A Dkmem_impl.h175 ((kmem_slab_t *)P2END((uintptr_t)(buf), (cp)->cache_slabsize) - 1)
212 (KMEM_SLAB_OFFSET(sp, buf) < (sp)->slab_cache->cache_slabsize)
383 size_t cache_slabsize; /* size of a slab */ member
457 (((cp)->cache_chunksize * 2) <= (cp)->cache_slabsize)
/titanic_44/usr/src/lib/libumem/common/
H A Dumem_impl.h180 ((umem_slab_t *)P2END((uintptr_t)(buf), (cp)->cache_slabsize) - 1)
191 (sp)->slab_cache->cache_slabsize)
304 size_t cache_slabsize; /* size of a slab */ member
H A Dumem.c1398 size_t slabsize = cp->cache_slabsize; in umem_slab_create()
1511 vmem_free(vmp, slab, cp->cache_slabsize); in umem_slab_destroy()
2823 cp->cache_slabsize = P2ROUNDUP(chunksize, vmp->vm_quantum); in umem_cache_create()
2824 cp->cache_mincolor = cp->cache_slabsize - chunksize; in umem_cache_create()
2831 cp->cache_slabsize = vmp->vm_quantum; in umem_cache_create()
2834 (cp->cache_slabsize - sizeof (umem_slab_t)) % chunksize; in umem_cache_create()
2836 if (chunksize + sizeof (umem_slab_t) > cp->cache_slabsize) { in umem_cache_create()
2864 cp->cache_slabsize = bestfit; in umem_cache_create()
/titanic_44/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c1160 cp->cache_slabsize < vm_quantum || in umem_walk_init_common()
1161 P2PHASE(cp->cache_slabsize, vm_quantum) != 0 || in umem_walk_init_common()
1163 cp->cache_chunksize > cp->cache_slabsize) { in umem_walk_init_common()
1244 slabsize = cp->cache_slabsize; in umem_walk_init_common()
1380 slabsize = cp->cache_slabsize; in umem_walk_step()
1551 slabsize = umw->umw_cp->cache_slabsize; in umem_walk_fini()
2197 wi->wi_slab_size = c->cache_slabsize - c->cache_maxcolor; in whatis_walk_cache()
4274 chunks <= c.cache_slabsize / c.cache_chunksize) { in umem_malloc_info()
4276 c.cache_slabsize - in umem_malloc_info()
H A Dlibumem.c223 cp->cache_slabsize; in umastat_cache()
/titanic_44/usr/src/uts/common/os/
H A Dkmem.c1528 size_t slabsize = cp->cache_slabsize; in kmem_slab_create()
1655 vmem_free(vmp, slab, cp->cache_slabsize); in kmem_slab_destroy()
3460 kmcp->kmc_slab_size.value.ui64 = cp->cache_slabsize; in kmem_cache_kstat_update()
3829 cp->cache_slabsize = P2ROUNDUP(chunksize, vmp->vm_quantum); in kmem_cache_create()
3830 cp->cache_mincolor = cp->cache_slabsize - chunksize; in kmem_cache_create()
3837 cp->cache_slabsize = vmp->vm_quantum; in kmem_cache_create()
3840 (cp->cache_slabsize - sizeof (kmem_slab_t)) % chunksize; in kmem_cache_create()
3841 ASSERT(chunksize + sizeof (kmem_slab_t) <= cp->cache_slabsize); in kmem_cache_create()
3859 cp->cache_slabsize = bestfit; in kmem_cache_create()
3865 cp->cache_maxchunks = (cp->cache_slabsize / cp->cache_chunksize); in kmem_cache_create()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c1200 cp->cache_slabsize < vm_quantum || in kmem_walk_init_common()
1201 P2PHASE(cp->cache_slabsize, vm_quantum) != 0 || in kmem_walk_init_common()
1203 cp->cache_chunksize > cp->cache_slabsize) { in kmem_walk_init_common()
1289 slabsize = cp->cache_slabsize; in kmem_walk_init_common()
1432 slabsize = cp->cache_slabsize; in kmem_walk_step()
1603 slabsize = kmw->kmw_cp->cache_slabsize; in kmem_walk_fini()
2376 wi->wi_slab_size = c->cache_slabsize - c->cache_maxcolor; in whatis_walk_cache()
H A Dgenunix.c1991 cp->cache_slabsize; in kmastat_cache()