Home
last modified time | relevance | path

Searched refs:ctx_cache (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/events/
H A Dcore.c5386 alloc_perf_ctx_data(struct kmem_cache *ctx_cache, bool global, gfp_t gfp_flags) in alloc_perf_ctx_data() argument
5394 cd->data = kmem_cache_zalloc(ctx_cache, gfp_flags); in alloc_perf_ctx_data()
5401 cd->ctx_cache = ctx_cache; in alloc_perf_ctx_data()
5409 kmem_cache_free(cd->ctx_cache, cd->data); in free_perf_ctx_data()
5427 attach_task_ctx_data(struct task_struct *task, struct kmem_cache *ctx_cache, in attach_task_ctx_data() argument
5432 cd = alloc_perf_ctx_data(ctx_cache, global, gfp_flags); in attach_task_ctx_data()
5482 attach_global_ctx_data(struct kmem_cache *ctx_cache) in attach_global_ctx_data() argument
5511 if (!attach_task_ctx_data(p, ctx_cache, true, GFP_NOWAIT)) in attach_global_ctx_data()
5523 ret = attach_task_ctx_data(p, ctx_cache, true, GFP_KERNEL); in attach_global_ctx_data()
5536 struct kmem_cache *ctx_cache = event->pmu->task_ctx_cache; in attach_perf_ctx_data() local
[all …]
/linux/include/linux/
H A Dperf_event.h1110 struct kmem_cache *ctx_cache; member