Searched refs:sl_chunks (Results 1 – 5 of 5) sorted by relevance
100 sl->sl_chunks = chunks = (uint32_t)(slabsize / objsize); in skmem_slab_create()122 bc->bc_idx = (sl->sl_chunks - chunks); in skmem_slab_create()310 if ((skm->skm_sl_bufinuse += sl->sl_chunks) > in skmem_slab_alloc_locked()321 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked()371 ((sl->sl_seg->sg_index * sl->sl_chunks) + bc->bc_idx); in skmem_slab_alloc_locked()402 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked()404 ASSERT(sl->sl_chunks == 1); in skmem_slab_alloc_locked()406 ASSERT(sl->sl_chunks > 1); in skmem_slab_alloc_locked()668 if (sl->sl_chunks == 1) { in skmem_slab_free_locked()677 ASSERT((int64_t)(skm->skm_sl_bufinuse - sl->sl_chunks) >= 0); in skmem_slab_free_locked()[all …]
102 uint32_t sl_chunks; /* # of buffers in slab */ member106 ((sl)->sl_refcnt > 0 && (sl)->sl_refcnt < (sl)->sl_chunks)
949 (sl->sl_seg->sg_index * sl->sl_chunks) + bc->bc_idx; in skmem_cache_get_obj_info()
378 …sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chunks), int(sl.sl_len)…391 if sl.sl_chunks > 1:393 c = sl.sl_len // sl.sl_chunks395 while z < sl.sl_chunks:520 if sl.sl_chunks > 1:522 c = sl.sl_len // sl.sl_chunks524 while z < sl.sl_chunks:
601 int8_t sl_chunks; /* chunks (bufs) in this slab */ member2589 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()2613 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_alloc()2621 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc()2629 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc()2644 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc()2665 sp->sl_chunks == NMBPG && in slab_alloc()2724 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_free()2731 VERIFY(sp->sl_refcnt >= 0 && sp->sl_chunks == NBCLPG); in slab_free()2742 VERIFY(sp->sl_refcnt == 0 && sp->sl_chunks == 1 && in slab_free()[all …]