Searched refs:sl_chunks (Results 1 – 4 of 4) sorted by relevance
942 sl->sl_chunks = chunks = (uint32_t)(slabsize / objsize); in skmem_slab_create()964 bc->bc_idx = (sl->sl_chunks - chunks); in skmem_slab_create()1138 if ((skm->skm_sl_bufinuse += sl->sl_chunks) > in skmem_slab_alloc_locked()1149 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked()1172 ((sl->sl_seg->sg_index * sl->sl_chunks) + bc->bc_idx); in skmem_slab_alloc_locked()1202 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked()1204 ASSERT(sl->sl_chunks == 1); in skmem_slab_alloc_locked()1206 ASSERT(sl->sl_chunks > 1); in skmem_slab_alloc_locked()1438 if (sl->sl_chunks == 1) { in skmem_slab_free_locked()1447 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)
218 …sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chunks), int(sl.sl_len)…231 if sl.sl_chunks > 1:233 c = sl.sl_len // sl.sl_chunks235 while z < sl.sl_chunks:
420 int8_t sl_chunks; /* chunks (bufs) in this slab */ member1885 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()1909 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_alloc()1917 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc()1925 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc()1940 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc()1961 sp->sl_chunks == NMBPG && in slab_alloc()2020 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_free()2027 VERIFY(sp->sl_refcnt >= 0 && sp->sl_chunks == NBCLPG); in slab_free()2038 VERIFY(sp->sl_refcnt == 0 && sp->sl_chunks == 1 && in slab_free()[all …]