Home
last modified time | relevance | path

Searched refs:task_ctx_cache (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/x86/events/intel/
Dlbr.c630 kmem_cache = x86_get_pmu(cpu)->task_ctx_cache; in release_lbr_buffers()
649 kmem_cache = x86_get_pmu(cpu)->task_ctx_cache; in reserve_lbr_buffers()
1346 x86_get_pmu(smp_processor_id())->task_ctx_cache = create_lbr_kmem_cache(size, 0); in intel_pmu_lbr_init_hsw()
1363 x86_get_pmu(smp_processor_id())->task_ctx_cache = create_lbr_kmem_cache(size, 0); in intel_pmu_lbr_init_skl()
1541 pmu->task_ctx_cache = create_lbr_kmem_cache(size, in intel_pmu_arch_lbr_init()
1545 if (!pmu->task_ctx_cache) { in intel_pmu_arch_lbr_init()
1550 pmu->task_ctx_cache = create_lbr_kmem_cache(size, 0); in intel_pmu_arch_lbr_init()
/linux-6.1.9/include/linux/
Dperf_event.h452 struct kmem_cache *task_ctx_cache; member
/linux-6.1.9/kernel/events/
Dcore.c1185 if (pmu->task_ctx_cache) in alloc_task_ctx_data()
1186 return kmem_cache_zalloc(pmu->task_ctx_cache, GFP_KERNEL); in alloc_task_ctx_data()
1193 if (pmu->task_ctx_cache && task_ctx_data) in free_task_ctx_data()
1194 kmem_cache_free(pmu->task_ctx_cache, task_ctx_data); in free_task_ctx_data()