Home
last modified time | relevance | path

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

/xnu-11417.121.6/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.c388 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_alloc_locked()
572 ASSERT((*list)->mo_next == NULL); in skmem_slab_batch_alloc()
576 list = &(*list)->mo_next; in skmem_slab_batch_alloc()
606 ((struct skmem_obj *)buf)->mo_next == NULL); in skmem_slab_free_locked()
751 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_free()
771 listn = list->mo_next; in skmem_slab_batch_free()
772 list->mo_next = NULL; in skmem_slab_batch_free()
H A Dskmem_cache_var.h195 struct skmem_obj *mo_next; /* next object in the list */ member
/xnu-11417.121.6/bsd/skywalk/packet/
H A Dpbufpool.c211 offsetof(struct skmem_obj, mo_next)); in pp_init()
213 offsetof(struct skmem_obj, mo_next)); in pp_init()
639 blistn = (*blist)->mo_next; in pp_metadata_construct()
640 (*blist)->mo_next = NULL; in pp_metadata_construct()
852 &((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()
862 &((struct skmem_obj *)(void *)nbuf)->mo_next; in pp_metadata_destruct_common()
866 &((struct skmem_obj *)(void *)nbuf)->mo_next; in pp_metadata_destruct_common()
2087 plistn = plist->mo_next; in pp_alloc_packet_common()
2088 plist->mo_next = NULL; in pp_alloc_packet_common()
[all …]