Searched refs:skmem_obj (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215.1.10/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 **); 208 offsetof(struct skmem_obj, mo_next)); in pp_init() 210 offsetof(struct skmem_obj, mo_next)); in pp_init() 535 bool raw, struct skmem_obj **blist) in pp_metadata_construct() 617 struct skmem_obj *blistn; in pp_metadata_construct() 670 struct skmem_obj *__single blist = NULL; in pp_metadata_ctor_common() 761 struct kern_pbufpool *pp, bool raw, struct skmem_obj **blist_def, in pp_metadata_destruct_common() 762 struct skmem_obj **blist_nocache_def, struct skmem_obj **blist_large, in pp_metadata_destruct_common() [all …]
|
| /xnu-11215.1.10/bsd/skywalk/mem/ |
| H A D | skmem_cache_var.h | 180 struct skmem_obj { struct 187 struct skmem_obj *mo_next; /* next object in the list */ argument 392 extern void skmem_slab_batch_free(struct skmem_cache *, struct skmem_obj *); 393 extern uint32_t skmem_slab_batch_alloc(struct skmem_cache *, struct skmem_obj **, 420 struct skmem_obj **list, size_t objsize, uint32_t, uint32_t); 430 struct skmem_obj *__single buf; in skmem_cache_alloc() 440 extern void skmem_cache_batch_free(struct skmem_cache *, struct skmem_obj *); 441 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 | 392 ((struct skmem_obj *)buf)->mo_next = NULL; in skmem_slab_alloc_locked() 556 skmem_slab_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, 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() 814 skmem_slab_batch_free(struct skmem_cache *skm, struct skmem_obj *list) in skmem_slab_batch_free() 816 struct skmem_obj *listn; in skmem_slab_batch_free()
|