Searched refs:sl_refcnt (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.61.12/bsd/kern/ |
| H A D | uipc_mbuf_mcache.c | 431 int8_t sl_refcnt; /* outstanding allocations */ member 1283 sp->sl_refcnt++; in slab_alloc() 1285 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc() 1308 VERIFY(sp->sl_refcnt >= 1 && sp->sl_refcnt <= NCLPG && in slab_alloc() 1310 VERIFY(sp->sl_refcnt < NCLPG || sp->sl_head == NULL); in slab_alloc() 1317 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc() 1319 (sp->sl_refcnt < NBCLPG || sp->sl_head == NULL)); in slab_alloc() 1325 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc() 1336 nsp->sl_refcnt++; in slab_alloc() 1340 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc() [all …]
|
| /xnu-12377.61.12/bsd/skywalk/mem/ |
| H A D | skmem_slab.c | 166 ASSERT(sl->sl_refcnt == 0); in skmem_slab_destroy() 318 new_slab = (sl->sl_refcnt == 0); in skmem_slab_alloc_locked() 321 sl->sl_refcnt++; in skmem_slab_alloc_locked() 322 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked() 403 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked() 662 ASSERT(sl->sl_refcnt >= 1); in skmem_slab_free_locked() 663 if (--sl->sl_refcnt == 0) { in skmem_slab_free_locked() 696 ASSERT(sl->sl_refcnt == (sl->sl_chunks - 1)); in skmem_slab_free_locked()
|
| H A D | skmem_cache_var.h | 101 uint32_t sl_refcnt; /* outstanding allocations */ member 106 ((sl)->sl_refcnt > 0 && (sl)->sl_refcnt < (sl)->sl_chunks)
|
| /xnu-12377.61.12/tools/lldbmacros/ |
| H A D | skywalk.py | 192 print(format_string.format(slab, slab.sl_refcnt, slab.sl_base, slab.sl_basem)) 204 print(format_string.format(slab, slab.sl_refcnt, slab.sl_base, slab.sl_basem))
|
| H A D | mbufs.py | 377 …at((x + 1), sl, sl.sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chun…
|