Home
last modified time | relevance | path

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

/xnu-11215/bsd/skywalk/mem/
H A Dskmem_cache_var.h88 struct skmem_cache *sl_cache; /* controlling cache */
112 struct skmem_cache *mt_cache; /* magazine cache */
214 typedef int (*skmem_slab_alloc_fn_t)(struct skmem_cache *,
221 struct skmem_cache { struct
288 TAILQ_ENTRY(skmem_cache) skm_link; /* cache linkage */ argument
308 offsetof(struct skmem_cache, skm_cpu_cache[n]) argument
385 extern int skmem_slab_alloc_locked(struct skmem_cache *,
391 extern void skmem_slab_free(struct skmem_cache *, void *);
417 extern void skmem_cache_destroy(struct skmem_cache *);
428 skmem_cache_alloc(struct skmem_cache *skm, uint32_t skmflag) in skmem_cache_alloc()
[all …]
H A Dskmem_cache.c229 static TAILQ_HEAD(, skmem_cache) skmem_cache_head;
540 struct skmem_cache *
547 struct skmem_cache *__single skm; in skmem_cache_create()
833 skmem_cache_destroy(struct skmem_cache *skm) in skmem_cache_destroy()
1115 skmem_depot_ws_update(struct skmem_cache *skm) in skmem_depot_ws_update()
1129 skmem_depot_ws_zero(struct skmem_cache *skm) in skmem_depot_ws_zero()
1149 skmem_depot_ws_reap(struct skmem_cache *skm) in skmem_depot_ws_reap()
1959 skmem_cache_resize_exit(struct skmem_cache *skm) in skmem_cache_resize_exit()
2031 skmem_cache_hash_rescale(struct skmem_cache *skm) in skmem_cache_hash_rescale()
2109 struct skmem_cache *skm; in skmem_cache_applyall()
[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.c36 static struct skmem_slab *skmem_slab_create(struct skmem_cache *, uint32_t);
37 static void skmem_slab_destroy(struct skmem_cache *, struct skmem_slab *);
63 skmem_slab_create(struct skmem_cache *skm, uint32_t skmflag) in skmem_slab_create()
159 skmem_slab_destroy(struct skmem_cache *skm, struct skmem_slab *sl) in skmem_slab_destroy()
445 skmem_slab_alloc_pseudo_locked(struct skmem_cache *skm, in skmem_slab_alloc_pseudo_locked()
540 skmem_slab_alloc(struct skmem_cache *skm, struct skmem_obj_info *oi, in skmem_slab_alloc()
556 skmem_slab_batch_alloc(struct skmem_cache *skm, struct skmem_obj **list, in skmem_slab_batch_alloc()
596 skmem_slab_free_locked(struct skmem_cache *skm, void *buf) in skmem_slab_free_locked()
761 skmem_slab_free_pseudo_locked(struct skmem_cache *skm, void *buf) in skmem_slab_free_pseudo_locked()
799 skmem_slab_free(struct skmem_cache *skm, void *buf) in skmem_slab_free()
[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.c627 struct skmem_cache *skm; in skmem_dump()
H A Dskmem_arena.c162 struct skmem_cache **cachep; in skmem_arena_sd_setup()
239 struct skmem_cache **cachep; in skmem_arena_sd_teardown()
H A Dskmem_region.c213 static struct skmem_cache *skmem_sg_cache; /* cache for sksegment */
1043 skmem_region_slab_config(struct skmem_region *skr, struct skmem_cache *skm, in skmem_region_slab_config()
H A Dskmem_test.c1936 struct skmem_cache *skm; in skmem_tests()
/xnu-11215/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.h905 extern struct skmem_cache *sk_fo_cache;
908 extern struct skmem_cache *sk_fe_cache;
911 extern struct skmem_cache *sk_fab_cache;
915 extern struct skmem_cache *flow_route_cache;
916 extern struct skmem_cache *flow_stats_cache;
H A Dflow_route.c99 struct skmem_cache *flow_route_cache; /* cache for flow_route */
/xnu-11215/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.c105 static struct skmem_cache *pp_opt_cache; /* cache for __packet_opt */
106 static struct skmem_cache *pp_flow_cache; /* cache for __flow */
107 static struct skmem_cache *pp_compl_cache; /* cache for __packet_compl */
2562 struct skmem_cache *skm = large ? PP_BUF_CACHE_LARGE(pp): in pp_alloc_buffer_common()
/xnu-11215/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-11215/bsd/skywalk/channel/
H A Dchannel_var.h383 struct skmem_cache *ckr_ksds_cache; /* owning skmem_cache for ksd */
/xnu-11215/bsd/conf/
H A Dfiles553 bsd/skywalk/mem/skmem_cache.c optional skywalk
/xnu-11215/bsd/net/
H A Dnecp_client.c9854 struct skmem_cache *kstats_cp = NULL; in necp_arena_stats_obj_alloc()