Home
last modified time | relevance | path

Searched refs:sl_head (Results 1 – 4 of 4) sorted by relevance

/xnu-10002.1.13/bsd/kern/
H A Duipc_mbuf.c598 void *sl_head; /* first free buffer */ member
2575 buf = sp->sl_head; in slab_alloc()
2577 sp->sl_head = buf->obj_next; in slab_alloc()
2581 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()
2583 if (sp->sl_head != NULL && !slab_inrange(sp, sp->sl_head)) { in slab_alloc()
2584 slab_nextptr_panic(sp, sp->sl_head); in slab_alloc()
2586 VERIFY(slab_inrange(sp, sp->sl_head)); in slab_alloc()
2606 VERIFY(sp->sl_refcnt < NCLPG || sp->sl_head == NULL); in slab_alloc()
2615 (sp->sl_refcnt < NBCLPG || sp->sl_head == NULL)); in slab_alloc()
2622 sp->sl_len == m_maxsize(class) && sp->sl_head == NULL); in slab_alloc()
[all …]
/xnu-10002.1.13/bsd/skywalk/mem/
H A Dskmem_cache.c973 SLIST_INSERT_HEAD(&sl->sl_head, bc, bc_link); in skmem_slab_create()
1022 SLIST_FOREACH_SAFE(bc, &sl->sl_head, bc_link, tbc) { in skmem_slab_destroy()
1023 SLIST_REMOVE(&sl->sl_head, bc, skmem_bufctl, bc_link); in skmem_slab_destroy()
1165 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked()
1167 SLIST_REMOVE(&sl->sl_head, bc, skmem_bufctl, bc_link); in skmem_slab_alloc_locked()
1228 if (SLIST_EMPTY(&sl->sl_head)) { in skmem_slab_alloc_locked()
1520 SLIST_INSERT_HEAD(&sl->sl_head, bc, bc_link); in skmem_slab_free_locked()
1547 ASSERT(bc == SLIST_FIRST(&sl->sl_head)); in skmem_slab_free_locked()
H A Dskmem_cache_var.h91 SLIST_HEAD(, skmem_bufctl) sl_head; /* bufctl free list */
/xnu-10002.1.13/tools/lldbmacros/
H A Dskywalk.py199 for bc in IterateListEntry(slab.sl_head, 'bc_link', list_prefix='s') :
211 for bc in IterateListEntry(slab.sl_head, 'bc_link', list_prefix='s') :