Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/skywalk/mem/
H A Dskmem_slab.c127 SLIST_INSERT_HEAD(&sl->sl_head, bc, bc_link); in skmem_slab_create()
177 SLIST_FOREACH_SAFE(bc, &sl->sl_head, bc_link, tbc) { in skmem_slab_destroy()
178 SLIST_REMOVE(&sl->sl_head, bc, skmem_bufctl, bc_link); in skmem_slab_destroy()
329 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked()
331 SLIST_REMOVE(&sl->sl_head, bc, skmem_bufctl, bc_link); in skmem_slab_alloc_locked()
396 if (SLIST_EMPTY(&sl->sl_head)) { in skmem_slab_alloc_locked()
660 SLIST_INSERT_HEAD(&sl->sl_head, bc, bc_link); in skmem_slab_free_locked()
687 ASSERT(bc == SLIST_FIRST(&sl->sl_head)); in skmem_slab_free_locked()
H A Dskmem_cache_var.h100 SLIST_HEAD(, skmem_bufctl) sl_head; /* bufctl free list */
/xnu-12377.41.6/bsd/kern/
H A Duipc_mbuf_mcache.c436 void *sl_head; /* first free buffer */ member
1279 buf = sp->sl_head; in slab_alloc()
1281 sp->sl_head = buf->obj_next; in slab_alloc()
1285 VERIFY(sp->sl_head != NULL || sp->sl_refcnt == sp->sl_chunks); in slab_alloc()
1287 if (sp->sl_head != NULL && !slab_inrange(sp, sp->sl_head)) { in slab_alloc()
1288 slab_nextptr_panic(sp, sp->sl_head); in slab_alloc()
1290 VERIFY(slab_inrange(sp, sp->sl_head)); in slab_alloc()
1310 VERIFY(sp->sl_refcnt < NCLPG || sp->sl_head == NULL); in slab_alloc()
1319 (sp->sl_refcnt < NBCLPG || sp->sl_head == NULL)); in slab_alloc()
1326 sp->sl_len == m_maxsize(class) && sp->sl_head == NULL); in slab_alloc()
[all …]
/xnu-12377.41.6/tools/lldbmacros/
H A Dskywalk.py196 for bc in IterateListEntry(slab.sl_head, 'bc_link', list_prefix='s') :
208 for bc in IterateListEntry(slab.sl_head, 'bc_link', list_prefix='s') :