Searched refs:sl_chunks (Results 1 – 4 of 4) sorted by relevance
947 sl->sl_chunks = chunks = (uint32_t)(slabsize / objsize); in skmem_slab_create()969 bc->bc_idx = (sl->sl_chunks - chunks); in skmem_slab_create()1147 if ((skm->skm_sl_bufinuse += sl->sl_chunks) > in skmem_slab_alloc_locked()1158 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked()1205 ((sl->sl_seg->sg_index * sl->sl_chunks) + bc->bc_idx); in skmem_slab_alloc_locked()1235 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked()1237 ASSERT(sl->sl_chunks == 1); in skmem_slab_alloc_locked()1239 ASSERT(sl->sl_chunks > 1); in skmem_slab_alloc_locked()1529 if (sl->sl_chunks == 1) { in skmem_slab_free_locked()1538 ASSERT((int64_t)(skm->skm_sl_bufinuse - sl->sl_chunks) >= 0); in skmem_slab_free_locked()[all …]
93 uint32_t sl_chunks; /* # of buffers in slab */ member97 ((sl)->sl_refcnt > 0 && (sl)->sl_refcnt < (sl)->sl_chunks)
374 …sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chunks), int(sl.sl_len)…387 if sl.sl_chunks > 1:389 c = sl.sl_len // sl.sl_chunks391 while z < sl.sl_chunks:516 if sl.sl_chunks > 1:518 c = sl.sl_len // sl.sl_chunks520 while z < sl.sl_chunks:
594 int8_t sl_chunks; /* chunks (bufs) in this slab */ member2595 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()2619 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_alloc()2627 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc()2635 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc()2650 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc()2671 sp->sl_chunks == NMBPG && in slab_alloc()2730 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_free()2737 VERIFY(sp->sl_refcnt >= 0 && sp->sl_chunks == NBCLPG); in slab_free()2748 VERIFY(sp->sl_refcnt == 0 && sp->sl_chunks == 1 && in slab_free()[all …]