Searched refs:sl_chunks (Results 1 – 5 of 5) sorted by relevance
101 sl->sl_chunks = chunks = (uint32_t)(slabsize / objsize); in skmem_slab_create()123 bc->bc_idx = (sl->sl_chunks - chunks); in skmem_slab_create()311 if ((skm->skm_sl_bufinuse += sl->sl_chunks) > in skmem_slab_alloc_locked()322 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked()372 ((sl->sl_seg->sg_index * sl->sl_chunks) + bc->bc_idx); in skmem_slab_alloc_locked()403 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked()405 ASSERT(sl->sl_chunks == 1); in skmem_slab_alloc_locked()407 ASSERT(sl->sl_chunks > 1); in skmem_slab_alloc_locked()669 if (sl->sl_chunks == 1) { in skmem_slab_free_locked()678 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)
950 (sl->sl_seg->sg_index * sl->sl_chunks) + bc->bc_idx; in skmem_cache_get_obj_info()
377 …sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chunks), int(sl.sl_len)…390 if sl.sl_chunks > 1:392 c = sl.sl_len // sl.sl_chunks394 while z < sl.sl_chunks:519 if sl.sl_chunks > 1:521 c = sl.sl_len // sl.sl_chunks523 while z < sl.sl_chunks:
432 int8_t sl_chunks; /* chunks (bufs) in this slab */ member1285 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()1309 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_alloc()1317 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc()1325 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc()1340 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc()1361 sp->sl_chunks == NMBPG && in slab_alloc()1419 sp->sl_chunks == NCLPG && sp->sl_len == PAGE_SIZE); in slab_free()1426 VERIFY(sp->sl_refcnt >= 0 && sp->sl_chunks == NBCLPG); in slab_free()1437 VERIFY(sp->sl_refcnt == 0 && sp->sl_chunks == 1 && in slab_free()[all …]