Searched refs:task_ctx_cache (Results 1 – 3 of 3) sorted by relevance
631 kmem_cache = x86_get_pmu(cpu)->task_ctx_cache; in release_lbr_buffers()650 kmem_cache = x86_get_pmu(cpu)->task_ctx_cache; in reserve_lbr_buffers()1426 x86_get_pmu(smp_processor_id())->task_ctx_cache = create_lbr_kmem_cache(size, 0); in intel_pmu_lbr_init_hsw()1443 x86_get_pmu(smp_processor_id())->task_ctx_cache = create_lbr_kmem_cache(size, 0); in intel_pmu_lbr_init_skl()1625 pmu->task_ctx_cache = create_lbr_kmem_cache(size, in intel_pmu_arch_lbr_init()1629 if (!pmu->task_ctx_cache) { in intel_pmu_arch_lbr_init()1634 pmu->task_ctx_cache = create_lbr_kmem_cache(size, 0); in intel_pmu_arch_lbr_init()
482 struct kmem_cache *task_ctx_cache; member
1205 if (pmu->task_ctx_cache) in alloc_task_ctx_data()1206 return kmem_cache_zalloc(pmu->task_ctx_cache, GFP_KERNEL); in alloc_task_ctx_data()1213 if (pmu->task_ctx_cache && task_ctx_data) in free_task_ctx_data()1214 kmem_cache_free(pmu->task_ctx_cache, task_ctx_data); in free_task_ctx_data()