Searched refs:skmem_obj (Results 1 – 4 of 4) sorted by relevance
| /xnu-11417.101.15/bsd/skywalk/packet/ |
| H A D | pbufpool.c | 48 uint16_t, bool, struct skmem_obj **); 52 struct kern_pbufpool *, uint16_t, uint32_t, struct skmem_obj **); 55 struct skmem_obj **, struct skmem_obj **, struct skmem_obj **, struct skmem_obj **); 211 offsetof(struct skmem_obj, mo_next)); in pp_init() 213 offsetof(struct skmem_obj, mo_next)); in pp_init() 546 bool raw, struct skmem_obj **blist) in pp_metadata_construct() 628 struct skmem_obj *blistn; in pp_metadata_construct() 676 struct skmem_obj *__single blist = NULL; in pp_metadata_ctor_common() 767 struct kern_pbufpool *pp, bool raw, struct skmem_obj **blist_def, in pp_metadata_destruct_common() 768 struct skmem_obj **blist_nocache_def, struct skmem_obj **blist_large, in pp_metadata_destruct_common() [all …]
|
| /xnu-11417.101.15/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 | 243 static void skmem_cache_batch_free_common(struct skmem_cache *, struct skmem_obj *, uint32_t); 260 static void skmem_audit_buf(struct skmem_cache *, struct skmem_obj *); 681 _CASSERT(offsetof(struct skmem_obj, mo_next) == 0); in skmem_cache_create() 688 VERIFY(region->skr_c_obj_size >= sizeof(struct skmem_obj)); in skmem_cache_create() 1002 struct skmem_obj *next; in skmem_magazine_destroy() 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() 1287 skmem_cache_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, in skmem_cache_batch_alloc() 1291 struct skmem_obj **top = list; in skmem_cache_batch_alloc() [all …]
|
| H A D | skmem_slab.c | 388 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_alloc_locked() 552 skmem_slab_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, 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() 763 skmem_slab_batch_free(struct skmem_cache *skm, struct skmem_obj *list) in skmem_slab_batch_free() 765 struct skmem_obj *listn; in skmem_slab_batch_free()
|