Searched refs:sl_refcnt (Results 1 – 5 of 5) sorted by relevance
| /xnu-8020.140.41/bsd/skywalk/mem/ ! |
| H A D | skmem_cache_var.h | 92 uint32_t sl_refcnt; /* outstanding allocations */ member 97 ((sl)->sl_refcnt > 0 && (sl)->sl_refcnt < (sl)->sl_chunks)
|
| H A D | skmem_cache.c | 1006 ASSERT(sl->sl_refcnt == 0); in skmem_slab_destroy() 1145 new_slab = (sl->sl_refcnt == 0); in skmem_slab_alloc_locked() 1148 sl->sl_refcnt++; in skmem_slab_alloc_locked() 1149 ASSERT(sl->sl_refcnt <= sl->sl_chunks); in skmem_slab_alloc_locked() 1202 ASSERT(sl->sl_refcnt == sl->sl_chunks); in skmem_slab_alloc_locked() 1431 ASSERT(sl->sl_refcnt >= 1); in skmem_slab_free_locked() 1432 if (--sl->sl_refcnt == 0) { in skmem_slab_free_locked() 1465 ASSERT(sl->sl_refcnt == (sl->sl_chunks - 1)); in skmem_slab_free_locked()
|
| /xnu-8020.140.41/bsd/kern/ ! |
| H A D | uipc_mbuf.c | 419 int8_t sl_refcnt; /* outstanding allocations */ member 1883 sp->sl_refcnt++; in slab_alloc() 1885 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc() 1908 VERIFY(sp->sl_refcnt >= 1 && sp->sl_refcnt <= NCLPG && in slab_alloc() 1910 VERIFY(sp->sl_refcnt < NCLPG || sp->sl_head == NULL); in slab_alloc() 1917 VERIFY(sp->sl_refcnt >= 1 && sp->sl_chunks == NBCLPG && in slab_alloc() 1919 (sp->sl_refcnt < NBCLPG || sp->sl_head == NULL)); in slab_alloc() 1925 VERIFY(sp->sl_refcnt == 1 && sp->sl_chunks == 1 && in slab_alloc() 1936 nsp->sl_refcnt++; in slab_alloc() 1940 nsp->sl_refcnt == 1 && nsp->sl_chunks == 0 && in slab_alloc() [all …]
|
| /xnu-8020.140.41/tools/lldbmacros/ ! |
| H A D | skywalk.py | 195 print(format_string.format(slab, slab.sl_refcnt, slab.sl_base, slab.sl_basem)) 208 print(format_string.format(slab, slab.sl_refcnt, slab.sl_base, slab.sl_basem))
|
| H A D | mbufs.py | 218 …at((x + 1), sl, sl.sl_next, obj, mca, int(ts), int(sl.sl_class), int(sl.sl_refcnt), int(sl.sl_chun…
|