Searched refs:slab_refcnt (Results 1 – 8 of 8) sorted by relevance
103 ((sp)->slab_refcnt > 0 && (sp)->slab_refcnt < (sp)->slab_chunks)105 ((sp)->slab_refcnt == (sp)->slab_chunks)229 long slab_refcnt; /* outstanding allocations */ member
1544 sp->slab_refcnt = 0; in kmem_slab_create()1617 ASSERT(sp->slab_refcnt == 0); in kmem_slab_destroy()1635 boolean_t new_slab = (sp->slab_refcnt == 0); in kmem_slab_alloc_impl()1649 sp->slab_refcnt++; in kmem_slab_alloc_impl()1834 ASSERT(sp->slab_refcnt >= 1); in kmem_slab_free()1836 if (--sp->slab_refcnt == 0) { in kmem_slab_free()1890 ASSERT(sp->slab_refcnt == (sp->slab_chunks - 1)); in kmem_slab_free()2747 ASSERT(sp->slab_refcnt == 1); in kmem_slab_prefill()2748 ASSERT(sp->slab_head != NULL && sp->slab_chunks > sp->slab_refcnt); in kmem_slab_prefill()2752 nbufs = (sp->slab_chunks - sp->slab_refcnt); in kmem_slab_prefill()[all …]
1438 sp->slab_refcnt = 0; in umem_slab_create()1552 sp->slab_refcnt++; in umem_slab_alloc()1553 ASSERT(sp->slab_refcnt <= sp->slab_chunks); in umem_slab_alloc()1562 ASSERT(sp->slab_refcnt == sp->slab_chunks); in umem_slab_alloc()1638 ASSERT(sp->slab_refcnt == sp->slab_chunks); in umem_slab_free()1652 ASSERT(sp->slab_refcnt >= 1); in umem_slab_free()1653 if (--sp->slab_refcnt == 0) { in umem_slab_free()2897 cp->cache_nullslab.slab_refcnt = -1; in umem_cache_create()
205 long slab_refcnt; /* outstanding allocations */ member
483 ks->ks_bucket[sp->slab_refcnt]++; in kmem_slablist_stat()485 unused = (sp->slab_chunks - sp->slab_refcnt); in kmem_slablist_stat()510 ksu->ksu_refcnt = sp->slab_refcnt; in kmem_slablist_stat()934 *est -= (sp->slab_chunks - sp->slab_refcnt); in kmem_estimate_slab()1467 dprintf(("refcnt is %d; chunks is %d\n", sp->slab_refcnt, chunks)); in kmem_walk_step()1474 for (i = sp->slab_refcnt; i <= chunks; i++) { in kmem_walk_step()
2196 *avail += sp->slab_chunks - sp->slab_refcnt; in kmastat_slab_avail()
109 *avail += sp->slab_chunks - sp->slab_refcnt; in umastat_slab_avail()
850 *est -= (sp->slab_chunks - sp->slab_refcnt); in umem_estimate_slab()1415 dprintf(("refcnt is %d; chunks is %d\n", sp->slab_refcnt, chunks)); in umem_walk_step()1422 for (i = sp->slab_refcnt; i <= chunks; i++) { in umem_walk_step()