Home
last modified time | relevance | path

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

/xnu-10063.141.1/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
376 extern struct skmem_cache *skmem_cache_create(const char *, size_t, size_t,
379 extern void skmem_cache_destroy(struct skmem_cache *);
380 extern void *skmem_cache_alloc(struct skmem_cache *, uint32_t);
[all …]
H A Dskmem_cache.c157 static struct skmem_cache *skmem_slab_cache; /* cache for skmem_slab */
158 static struct skmem_cache *skmem_bufctl_cache; /* cache for skmem_bufctl */
226 static TAILQ_HEAD(, skmem_cache) skmem_cache_head;
229 static int skmem_slab_alloc_locked(struct skmem_cache *,
231 static void skmem_slab_free_locked(struct skmem_cache *, void *);
232 static int skmem_slab_alloc_pseudo_locked(struct skmem_cache *,
234 static void skmem_slab_free_pseudo_locked(struct skmem_cache *, void *);
235 static struct skmem_slab *skmem_slab_create(struct skmem_cache *, uint32_t);
236 static void skmem_slab_destroy(struct skmem_cache *, struct skmem_slab *);
239 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 */
341 struct skmem_cache *, bool);
H A Dskmem.c617 struct skmem_cache *skm; in skmem_dump()
H A Dskmem_region.c208 static struct skmem_cache *skmem_sg_cache; /* cache for sksegment */
1015 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.c1936 struct skmem_cache *skm; in skmem_tests()
/xnu-10063.141.1/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.h891 extern struct skmem_cache *sk_fo_cache;
894 extern struct skmem_cache *sk_fe_cache;
897 extern struct skmem_cache *sk_fab_cache;
901 extern struct skmem_cache *flow_route_cache;
902 extern struct skmem_cache *flow_stats_cache;
H A Dflow_route.c99 struct skmem_cache *flow_route_cache; /* cache for flow_route */
/xnu-10063.141.1/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];
H A Dpbufpool.c92 static struct skmem_cache *pp_opt_cache; /* cache for __packet_opt */
93 static struct skmem_cache *pp_flow_cache; /* cache for __flow */
94 static struct skmem_cache *pp_compl_cache; /* cache for __packet_compl */
2373 struct skmem_cache *skm = large ? PP_BUF_CACHE_LARGE(pp): in pp_alloc_buffer_common()
/xnu-10063.141.1/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-10063.141.1/bsd/skywalk/channel/ !
H A Dchannel_var.h402 struct skmem_cache *ckr_ksds_cache; /* owning skmem_cache for ksd */
/xnu-10063.141.1/bsd/conf/ !
H A Dfiles555 bsd/skywalk/mem/skmem_cache.c optional skywalk
/xnu-10063.141.1/bsd/net/ !
H A Dnecp_client.c9672 struct skmem_cache *kstats_cp = NULL; in necp_arena_stats_obj_alloc()