Searched refs:skmem_cache (Results 1 – 18 of 18) sorted by relevance
| /xnu-8796.141.3/bsd/skywalk/mem/ |
| H A D | skmem_cache_var.h | 86 struct skmem_cache *sl_cache; /* controlling cache */ 110 struct skmem_cache *mt_cache; /* magazine cache */ 211 typedef int (*skmem_slab_alloc_fn_t)(struct skmem_cache *, 213 typedef void (*skmem_slab_free_fn_t)(struct skmem_cache *, void *); 218 struct skmem_cache { struct 280 TAILQ_ENTRY(skmem_cache) skm_link; /* cache linkage */ argument 299 offsetof(struct skmem_cache, skm_cpu_cache[n]) argument 374 extern struct skmem_cache *skmem_cache_create(const char *, size_t, size_t, 377 extern void skmem_cache_destroy(struct skmem_cache *); 378 extern void *skmem_cache_alloc(struct skmem_cache *, uint32_t); [all …]
|
| H A D | skmem_cache.c | 156 static struct skmem_cache *skmem_slab_cache; /* cache for skmem_slab */ 157 static struct skmem_cache *skmem_bufctl_cache; /* cache for skmem_bufctl */ 225 static TAILQ_HEAD(, skmem_cache) skmem_cache_head; 228 static int skmem_slab_alloc_locked(struct skmem_cache *, 230 static void skmem_slab_free_locked(struct skmem_cache *, void *); 231 static int skmem_slab_alloc_pseudo_locked(struct skmem_cache *, 233 static void skmem_slab_free_pseudo_locked(struct skmem_cache *, void *); 234 static struct skmem_slab *skmem_slab_create(struct skmem_cache *, uint32_t); 235 static void skmem_slab_destroy(struct skmem_cache *, struct skmem_slab *); 238 static void skmem_magazine_destroy(struct skmem_cache *, struct skmem_mag *, [all …]
|
| H A D | skmem_arena_var.h | 149 struct skmem_cache *arn_schema_cache; /* schema object cache */ 150 struct skmem_cache *arn_ring_cache; /* ring object cache */ 151 struct skmem_cache *arn_txaksd_cache; /* tx/alloc slots cache */ 152 struct skmem_cache *arn_rxfksd_cache; /* rx/free slots cache */ 212 struct skmem_cache *arc_kstats_cache;
|
| H A D | skmem_region_var.h | 224 struct skmem_cache *skr_cache[SKR_MAX_CACHES]; /* client slab/cache layer */ 339 struct skmem_cache *, bool);
|
| H A D | skmem.c | 611 struct skmem_cache *skm; in skmem_dump()
|
| H A D | skmem_region.c | 208 static struct skmem_cache *skmem_sg_cache; /* cache for sksegment */ 1012 skmem_region_slab_config(struct skmem_region *skr, struct skmem_cache *skm, in skmem_region_slab_config()
|
| H A D | skmem_arena.c | 162 struct skmem_cache **cachep; in skmem_arena_sd_setup() 237 struct skmem_cache **cachep; in skmem_arena_sd_teardown()
|
| H A D | skmem_test.c | 2077 struct skmem_cache *skm; in skmem_tests()
|
| /xnu-8796.141.3/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow.c | 38 struct skmem_cache *sk_fo_cache; /* cache for flow_owner */ 43 struct skmem_cache *sk_fe_cache; /* cache for flow_entry */ 48 struct skmem_cache *sk_fab_cache; /* cache for flow advisory bitmap */
|
| H A D | flow_stats.c | 36 struct skmem_cache *flow_stats_cache; /* cache for flow_stats */
|
| H A D | flow_var.h | 882 extern struct skmem_cache *sk_fo_cache; 885 extern struct skmem_cache *sk_fe_cache; 888 extern struct skmem_cache *sk_fab_cache; 892 extern struct skmem_cache *flow_route_cache; 893 extern struct skmem_cache *flow_stats_cache;
|
| H A D | flow_route.c | 99 struct skmem_cache *flow_route_cache; /* cache for flow_route */
|
| /xnu-8796.141.3/bsd/skywalk/packet/ |
| H A D | pbufpool_var.h | 67 struct skmem_cache *pp_buf_cache[PBUFPOOL_MAX_BUF_REGIONS]; 68 struct skmem_cache *pp_kmd_cache; 69 struct skmem_cache *pp_kbft_cache[PBUFPOOL_MAX_BUF_REGIONS]; 70 struct skmem_cache *pp_raw_kbft_cache;
|
| H A D | pbufpool.c | 93 static struct skmem_cache *pp_opt_cache; /* cache for __packet_opt */ 94 static struct skmem_cache *pp_flow_cache; /* cache for __flow */ 95 static struct skmem_cache *pp_compl_cache; /* cache for __packet_compl */ 2447 struct skmem_cache *skm = large ? PP_BUF_CACHE_LARGE(pp): in pp_alloc_buffer_common() 2522 struct skmem_cache *skm = NULL; in pp_alloc_buflet_common()
|
| /xnu-8796.141.3/bsd/skywalk/namespace/ |
| H A D | netns.c | 227 static struct skmem_cache *netns_ns_token_cache; /* for ns_token */ 231 static struct skmem_cache *netns_ns_flow_info_cache; /* for ns_flow_info */ 235 static struct skmem_cache *netns_ns_reservation_cache; /* for ns_reservation */
|
| /xnu-8796.141.3/bsd/skywalk/channel/ |
| H A D | channel_var.h | 401 struct skmem_cache *ckr_ksds_cache; /* owning skmem_cache for ksd */
|
| /xnu-8796.141.3/bsd/conf/ |
| H A D | files | 540 bsd/skywalk/mem/skmem_cache.c optional skywalk
|
| /xnu-8796.141.3/bsd/net/ |
| H A D | necp_client.c | 9365 struct skmem_cache *kstats_cp = NULL; in necp_arena_stats_obj_alloc()
|