Home
last modified time | relevance | path

Searched refs:skmem_cache (Results 1 – 18 of 18) sorted by relevance

/xnu-8796.141.3/bsd/skywalk/mem/
H A Dskmem_cache_var.h86 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 Dskmem_cache.c156 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 Dskmem_arena_var.h149 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 Dskmem_region_var.h224 struct skmem_cache *skr_cache[SKR_MAX_CACHES]; /* client slab/cache layer */
339 struct skmem_cache *, bool);
H A Dskmem.c611 struct skmem_cache *skm; in skmem_dump()
H A Dskmem_region.c208 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 Dskmem_arena.c162 struct skmem_cache **cachep; in skmem_arena_sd_setup()
237 struct skmem_cache **cachep; in skmem_arena_sd_teardown()
H A Dskmem_test.c2077 struct skmem_cache *skm; in skmem_tests()
/xnu-8796.141.3/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow.c38 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 Dflow_stats.c36 struct skmem_cache *flow_stats_cache; /* cache for flow_stats */
H A Dflow_var.h882 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 Dflow_route.c99 struct skmem_cache *flow_route_cache; /* cache for flow_route */
/xnu-8796.141.3/bsd/skywalk/packet/
H A Dpbufpool_var.h67 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 Dpbufpool.c93 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 Dnetns.c227 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 Dchannel_var.h401 struct skmem_cache *ckr_ksds_cache; /* owning skmem_cache for ksd */
/xnu-8796.141.3/bsd/conf/
H A Dfiles540 bsd/skywalk/mem/skmem_cache.c optional skywalk
/xnu-8796.141.3/bsd/net/
H A Dnecp_client.c9365 struct skmem_cache *kstats_cp = NULL; in necp_arena_stats_obj_alloc()