Searched refs:cache_slabsize (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kmem_impl.h | 175 ((kmem_slab_t *)P2END((uintptr_t)(buf), (cp)->cache_slabsize) - 1) 212 (KMEM_SLAB_OFFSET(sp, buf) < (sp)->slab_cache->cache_slabsize) 382 size_t cache_slabsize; /* size of a slab */ member 456 (((cp)->cache_chunksize * 2) <= (cp)->cache_slabsize)
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_impl.h | 183 ((umem_slab_t *)P2END((uintptr_t)(buf), (cp)->cache_slabsize) - 1) 194 (sp)->slab_cache->cache_slabsize) 307 size_t cache_slabsize; /* size of a slab */ member
|
H A D | umem.c | 1402 size_t slabsize = cp->cache_slabsize; in umem_slab_create() 1515 vmem_free(vmp, slab, cp->cache_slabsize); in umem_slab_destroy() 2827 cp->cache_slabsize = P2ROUNDUP(chunksize, vmp->vm_quantum); in umem_cache_create() 2828 cp->cache_mincolor = cp->cache_slabsize - chunksize; in umem_cache_create() 2835 cp->cache_slabsize = vmp->vm_quantum; in umem_cache_create() 2838 (cp->cache_slabsize - sizeof (umem_slab_t)) % chunksize; in umem_cache_create() 2840 if (chunksize + sizeof (umem_slab_t) > cp->cache_slabsize) { in umem_cache_create() 2873 cp->cache_slabsize = bestfit; in umem_cache_create()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 1161 cp->cache_slabsize < vm_quantum || in umem_walk_init_common() 1162 P2PHASE(cp->cache_slabsize, vm_quantum) != 0 || in umem_walk_init_common() 1164 cp->cache_chunksize > cp->cache_slabsize) { in umem_walk_init_common() 1245 slabsize = cp->cache_slabsize; in umem_walk_init_common() 1381 slabsize = cp->cache_slabsize; in umem_walk_step() 1552 slabsize = umw->umw_cp->cache_slabsize; in umem_walk_fini() 2198 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 D | libumem.c | 223 cp->cache_slabsize; in umastat_cache()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kmem.c | 1500 size_t slabsize = cp->cache_slabsize; in kmem_slab_create() 1627 vmem_free(vmp, slab, cp->cache_slabsize); in kmem_slab_destroy() 3517 kmcp->kmc_slab_size.value.ui64 = cp->cache_slabsize; in kmem_cache_kstat_update() 3886 cp->cache_slabsize = P2ROUNDUP(chunksize, vmp->vm_quantum); in kmem_cache_create() 3887 cp->cache_mincolor = cp->cache_slabsize - chunksize; in kmem_cache_create() 3894 cp->cache_slabsize = vmp->vm_quantum; in kmem_cache_create() 3897 (cp->cache_slabsize - sizeof (kmem_slab_t)) % chunksize; in kmem_cache_create() 3898 ASSERT(chunksize + sizeof (kmem_slab_t) <= cp->cache_slabsize); in kmem_cache_create() 3917 cp->cache_slabsize = bestfit; in kmem_cache_create() 3923 cp->cache_maxchunks = (cp->cache_slabsize / cp->cache_chunksize); in kmem_cache_create()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 1201 cp->cache_slabsize < vm_quantum || in kmem_walk_init_common() 1202 P2PHASE(cp->cache_slabsize, vm_quantum) != 0 || in kmem_walk_init_common() 1204 cp->cache_chunksize > cp->cache_slabsize) { in kmem_walk_init_common() 1290 slabsize = cp->cache_slabsize; in kmem_walk_init_common() 1433 slabsize = cp->cache_slabsize; in kmem_walk_step() 1604 slabsize = kmw->kmw_cp->cache_slabsize; in kmem_walk_fini() 2377 wi->wi_slab_size = c->cache_slabsize - c->cache_maxcolor; in whatis_walk_cache()
|
H A D | genunix.c | 2221 cp->cache_slabsize; in kmastat_cache()
|