Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/skywalk/mem/
H A Dskmem_cache_var.h95 struct skmem_cache *sl_cache; /* controlling cache */
120 struct skmem_cache *mt_cache; /* magazine cache */
222 typedef int (*skmem_slab_alloc_fn_t)(struct skmem_cache *,
224 typedef void (*skmem_slab_free_fn_t)(struct skmem_cache *, void *);
229 struct skmem_cache { struct
296 TAILQ_ENTRY(skmem_cache) skm_link; /* cache linkage */ argument
316 offsetof(struct skmem_cache, skm_cpu_cache[n]) argument
390 extern struct skmem_cache *skmem_slab_cache; /* cache for skmem_slab */
391 extern struct skmem_cache *skmem_bufctl_cache; /* cache for skmem_bufctl */
393 extern int skmem_slab_alloc_locked(struct skmem_cache *,
[all …]
H A Dskmem_cache.c154 struct skmem_cache *skmem_slab_cache; /* cache for skmem_slab */
155 struct skmem_cache *skmem_bufctl_cache; /* cache for skmem_bufctl */
230 static TAILQ_HEAD(, skmem_cache) skmem_cache_head;
234 static void skmem_magazine_destroy(struct skmem_cache *, struct skmem_mag *,
236 static uint32_t skmem_depot_batch_alloc(struct skmem_cache *,
238 static void skmem_depot_batch_free(struct skmem_cache *, struct skmem_maglist *,
240 static void skmem_depot_ws_update(struct skmem_cache *);
241 static void skmem_depot_ws_zero(struct skmem_cache *);
242 static void skmem_depot_ws_reap(struct skmem_cache *);
244 static void skmem_cache_batch_free_common(struct skmem_cache *, struct skmem_obj *, uint32_t);
[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 */
214 struct skmem_cache *arc_kstats_cache;
H A Dskmem_slab.c37 static struct skmem_slab *skmem_slab_create(struct skmem_cache *, uint32_t);
38 static void skmem_slab_destroy(struct skmem_cache *, struct skmem_slab *);
64 skmem_slab_create(struct skmem_cache *skm, uint32_t skmflag) in skmem_slab_create()
160 skmem_slab_destroy(struct skmem_cache *skm, struct skmem_slab *sl) in skmem_slab_destroy()
199 skmem_slab_alloc_locked(struct skmem_cache *skm, struct skmem_obj_info *oi, in skmem_slab_alloc_locked()
442 skmem_slab_alloc_pseudo_locked(struct skmem_cache *skm, in skmem_slab_alloc_pseudo_locked()
537 skmem_slab_alloc(struct skmem_cache *skm, struct skmem_obj_info *oi, in skmem_slab_alloc()
553 skmem_slab_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, in skmem_slab_batch_alloc()
593 skmem_slab_free_locked(struct skmem_cache *skm, void *buf) in skmem_slab_free_locked()
711 skmem_slab_free_pseudo_locked(struct skmem_cache *skm, void *buf) in skmem_slab_free_pseudo_locked()
[all …]
H A Dskmem_region_var.h224 struct skmem_cache *skr_cache[SKR_MAX_CACHES]; /* client slab/cache layer */
343 struct skmem_cache *, bool);
H A Dskmem.c609 struct skmem_cache *skm; in skmem_dump()
H A Dskmem_region.c215 static struct skmem_cache *skmem_sg_cache; /* cache for sksegment */
1045 skmem_region_slab_config(struct skmem_region *skr, struct skmem_cache *skm, in skmem_region_slab_config()
H A Dskmem_arena.c164 struct skmem_cache **cachep; in skmem_arena_sd_setup()
241 struct skmem_cache **cachep; in skmem_arena_sd_teardown()
H A Dskmem_test.c1737 struct skmem_cache *skm; in skmem_tests()
/xnu-12377.61.12/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.h915 extern struct skmem_cache *sk_fo_cache;
918 extern struct skmem_cache *sk_fe_cache;
921 extern struct skmem_cache *sk_fab_cache;
925 extern struct skmem_cache *flow_route_cache;
926 extern struct skmem_cache *flow_stats_cache;
H A Dflow_route.c101 struct skmem_cache *flow_route_cache; /* cache for flow_route */
/xnu-12377.61.12/bsd/skywalk/packet/
H A Dpbufpool_var.h68 struct skmem_cache *pp_buf_cache[PBUFPOOL_MAX_BUF_REGIONS];
69 struct skmem_cache *pp_kmd_cache;
70 struct skmem_cache *pp_kbft_cache[PBUFPOOL_MAX_BUF_REGIONS];
H A Dpbufpool.c110 static struct skmem_cache *pp_opt_cache; /* cache for __packet_opt */
111 static struct skmem_cache *pp_flow_cache; /* cache for __flow */
112 static struct skmem_cache *pp_compl_cache; /* cache for __packet_compl */
2486 struct skmem_cache *skm = large ? PP_BUF_CACHE_LARGE(pp): in pp_alloc_buffer_common()
/xnu-12377.61.12/bsd/skywalk/namespace/
H A Dnetns.c232 static struct skmem_cache *netns_ns_token_cache; /* for ns_token */
236 static struct skmem_cache *netns_ns_flow_info_cache; /* for ns_flow_info */
240 static struct skmem_cache *netns_ns_reservation_cache; /* for ns_reservation */
/xnu-12377.61.12/bsd/skywalk/channel/
H A Dchannel_var.h383 struct skmem_cache *ckr_ksds_cache; /* owning skmem_cache for ksd */
/xnu-12377.61.12/bsd/conf/
H A Dfiles567 bsd/skywalk/mem/skmem_cache.c optional skywalk bound-checks
/xnu-12377.61.12/bsd/net/
H A Dnecp_client.c10644 struct skmem_cache *kstats_cp = NULL; in necp_arena_stats_obj_alloc()