Searched refs:skmem_obj (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.41.6/bsd/skywalk/packet/ |
| H A D | pbufpool.c | 49 uint16_t, bool, struct skmem_obj **); 53 struct kern_pbufpool *, uint16_t, uint32_t, struct skmem_obj **); 56 struct skmem_obj **, struct skmem_obj **, struct skmem_obj **, struct skmem_obj **); 206 …static_assert(offsetof(struct __metadata_preamble, _mdp_next) == offsetof(struct skmem_obj, mo_nex… in pp_init() 207 static_assert(offsetof(struct __buflet, __buflet_next) == offsetof(struct skmem_obj, mo_next)); in pp_init() 528 bool raw, struct skmem_obj **blist) in pp_metadata_construct() 597 struct skmem_obj *blistn; in pp_metadata_construct() 652 struct skmem_obj *__single blist = NULL; in pp_metadata_ctor_common() 743 struct kern_pbufpool *pp, bool raw, struct skmem_obj **blist_def, in pp_metadata_destruct_common() 744 struct skmem_obj **blist_nocache_def, struct skmem_obj **blist_large, in pp_metadata_destruct_common() [all …]
|
| /xnu-12377.41.6/bsd/skywalk/mem/ |
| H A D | skmem_cache_var.h | 188 struct skmem_obj { struct 195 struct skmem_obj *mo_next; /* next object in the list */ argument 400 extern void skmem_slab_batch_free(struct skmem_cache *, struct skmem_obj *); 401 extern uint32_t skmem_slab_batch_alloc(struct skmem_cache *, struct skmem_obj **, 428 struct skmem_obj **list, size_t objsize, uint32_t, uint32_t); 438 struct skmem_obj *__single buf; in skmem_cache_alloc() 448 extern void skmem_cache_batch_free(struct skmem_cache *, struct skmem_obj *); 449 extern void skmem_cache_batch_free_nocache(struct skmem_cache *, struct skmem_obj *);
|
| H A D | skmem_cache.c | 244 static void skmem_cache_batch_free_common(struct skmem_cache *, struct skmem_obj *, uint32_t); 261 static void skmem_audit_buf(struct skmem_cache *, struct skmem_obj *); 682 static_assert(offsetof(struct skmem_obj, mo_next) == 0); in skmem_cache_create() 689 VERIFY(region->skr_c_obj_size >= sizeof(struct skmem_obj)); in skmem_cache_create() 1003 struct skmem_obj *next; in skmem_magazine_destroy() 1006 next = ((struct skmem_obj *)buf)->mo_next; in skmem_magazine_destroy() 1007 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_magazine_destroy() 1023 ((struct skmem_obj *)buf)->mo_next = next; in skmem_magazine_destroy() 1288 skmem_cache_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, in skmem_cache_batch_alloc() 1292 struct skmem_obj **top = list; in skmem_cache_batch_alloc() [all …]
|
| H A D | skmem_slab.c | 389 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_alloc_locked() 553 skmem_slab_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, in skmem_slab_batch_alloc() 607 ((struct skmem_obj *)buf)->mo_next == NULL); in skmem_slab_free_locked() 752 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_free() 764 skmem_slab_batch_free(struct skmem_cache *skm, struct skmem_obj *list) in skmem_slab_batch_free() 766 struct skmem_obj *listn; in skmem_slab_batch_free()
|