Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/kern/
H A Duipc_mbuf.c424 void *sl_head; /* first free buffer */ member
1879 buf = sp->sl_head; in slab_alloc()
1881 sp->sl_head = buf->obj_next; in slab_alloc()
1885 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()
1887 if (sp->sl_head != NULL && !slab_inrange(sp, sp->sl_head)) { in slab_alloc()
1888 slab_nextptr_panic(sp, sp->sl_head); in slab_alloc()
1890 VERIFY(slab_inrange(sp, sp->sl_head)); in slab_alloc()
1910 VERIFY(sp->sl_refcnt < NCLPG || sp->sl_head == NULL); in slab_alloc()
1919 (sp->sl_refcnt < NBCLPG || sp->sl_head == NULL)); in slab_alloc()
1926 sp->sl_len == m_maxsize(class) && sp->sl_head == NULL); in slab_alloc()
[all …]
/xnu-8020.140.41/bsd/skywalk/mem/
H A Dskmem_cache.c968 SLIST_INSERT_HEAD(&sl->sl_head, bc, bc_link); in skmem_slab_create()
1017 SLIST_FOREACH_SAFE(bc, &sl->sl_head, bc_link, tbc) { in skmem_slab_destroy()
1018 SLIST_REMOVE(&sl->sl_head, bc, skmem_bufctl, bc_link); in skmem_slab_destroy()
1156 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked()
1158 SLIST_REMOVE(&sl->sl_head, bc, skmem_bufctl, bc_link); in skmem_slab_alloc_locked()
1195 if (SLIST_EMPTY(&sl->sl_head)) { in skmem_slab_alloc_locked()
1429 SLIST_INSERT_HEAD(&sl->sl_head, bc, bc_link); in skmem_slab_free_locked()
1456 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-8020.140.41/tools/lldbmacros/
H A Dskywalk.py199 for bc in IterateListEntry(slab.sl_head, 'struct skmem_bufctl *',
212 for bc in IterateListEntry(slab.sl_head, 'struct skmem_bufctl *',