Searched refs:sl_refcnt (Results 1 – 5 of 5) sorted by relevance
| /xnu-11417.121.6/bsd/skywalk/mem/ |
| H A D | skmem_slab.c | 165 ASSERT(sl->sl_refcnt == 0); in skmem_slab_destroy() 317 new_slab = (sl->sl_refcnt == 0); in skmem_slab_alloc_locked() 320 sl->sl_refcnt++; in skmem_slab_alloc_locked() 321 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked() 402 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked() 661 ASSERT(sl->sl_refcnt >= 1); in skmem_slab_free_locked() 662 if (--sl->sl_refcnt == 0) { in skmem_slab_free_locked() 695 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-11417.121.6/bsd/kern/ |
| H A D | uipc_mbuf.c | 600 int8_t sl_refcnt; /* outstanding allocations */ member 2587 sp->sl_refcnt++; in slab_alloc() 2589 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc() 2612 VERIFY(sp->sl_refcnt >= 1 && sp->sl_refcnt <= NCLPG && in slab_alloc() 2614 VERIFY(sp->sl_refcnt < NCLPG || sp->sl_head == NULL); in slab_alloc() 2621 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc() 2623 (sp->sl_refcnt < NBCLPG || sp->sl_head == NULL)); in slab_alloc() 2629 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc() 2640 nsp->sl_refcnt++; in slab_alloc() 2644 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc() [all …]
|
| /xnu-11417.121.6/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 | 378 …at((x + 1), sl, sl.sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chun…
|