Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/skywalk/mem/
H A Dskmem_cache.c681 _CASSERT(offsetof(struct skmem_obj, mo_next) == 0); in skmem_cache_create()
1005 next = ((struct skmem_obj *)buf)->mo_next; in skmem_magazine_destroy()
1006 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_magazine_destroy()
1022 ((struct skmem_obj *)buf)->mo_next = next; in skmem_magazine_destroy()
1324 list = &tail->mo_next; in skmem_cache_batch_alloc()
1424 struct skmem_obj *rlistn = rlist->mo_next; in skmem_cache_batch_alloc()
1435 VERIFY(rlist->mo_next == rlistn); in skmem_cache_batch_alloc()
1439 rlistp->mo_next = NULL; in skmem_cache_batch_alloc()
1450 VERIFY(rlist->mo_next == rlistn); in skmem_cache_batch_alloc()
1454 if ((rlist = rlist->mo_next) == NULL) { in skmem_cache_batch_alloc()
[all …]
H A Dskmem_slab.c392 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_alloc_locked()
576 ASSERT((*list)->mo_next == NULL); in skmem_slab_batch_alloc()
580 list = &(*list)->mo_next; in skmem_slab_batch_alloc()
616 ((struct skmem_obj *)buf)->mo_next == NULL); in skmem_slab_free_locked()
802 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_free()
822 listn = list->mo_next; in skmem_slab_batch_free()
823 list->mo_next = NULL; in skmem_slab_batch_free()
H A Dskmem_cache_var.h187 struct skmem_obj *mo_next; /* next object in the list */ member
/xnu-11215.1.10/bsd/skywalk/packet/
H A Dpbufpool.c208 offsetof(struct skmem_obj, mo_next)); in pp_init()
210 offsetof(struct skmem_obj, mo_next)); in pp_init()
633 blistn = (*blist)->mo_next; in pp_metadata_construct()
634 (*blist)->mo_next = NULL; in pp_metadata_construct()
846 &((struct skmem_obj *)(void *)nbuf)->mo_next; in pp_metadata_destruct_common()
850 &((struct skmem_obj *)(void *)nbuf)->mo_next; in pp_metadata_destruct_common()
856 &((struct skmem_obj *)(void *)nbuf)->mo_next; in pp_metadata_destruct_common()
860 &((struct skmem_obj *)(void *)nbuf)->mo_next; in pp_metadata_destruct_common()
2081 plistn = plist->mo_next; in pp_alloc_packet_common()
2082 plist->mo_next = NULL; in pp_alloc_packet_common()
[all …]