Searched refs:nd_pmu (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ ! |
D | nd_perf.c | 122 struct nvdimm_pmu *nd_pmu; in nvdimm_pmu_cpumask_show() local 124 nd_pmu = container_of(pmu, struct nvdimm_pmu, pmu); in nvdimm_pmu_cpumask_show() 126 return cpumap_print_to_pagebuf(true, buf, cpumask_of(nd_pmu->cpu)); in nvdimm_pmu_cpumask_show() 131 struct nvdimm_pmu *nd_pmu; in nvdimm_pmu_cpu_offline() local 136 nd_pmu = hlist_entry_safe(node, struct nvdimm_pmu, node); in nvdimm_pmu_cpu_offline() 139 cpumask_test_and_clear_cpu(cpu, &nd_pmu->arch_cpumask); in nvdimm_pmu_cpu_offline() 145 if (cpu != nd_pmu->cpu) in nvdimm_pmu_cpu_offline() 149 target = cpumask_any(&nd_pmu->arch_cpumask); in nvdimm_pmu_cpu_offline() 160 nd_pmu->cpu = target; in nvdimm_pmu_cpu_offline() 164 perf_pmu_migrate_context(&nd_pmu->pmu, cpu, target); in nvdimm_pmu_cpu_offline() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ ! |
D | papr_scm.c | 410 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu); in papr_scm_pmu_event_init() local 413 if (!nd_pmu) in papr_scm_pmu_event_init() 428 p = (struct papr_scm_priv *)nd_pmu->dev->driver_data; in papr_scm_pmu_event_init() 443 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu); in papr_scm_pmu_add() local 445 if (!nd_pmu) in papr_scm_pmu_add() 449 rc = papr_scm_pmu_get_value(event, nd_pmu->dev, &count); in papr_scm_pmu_add() 463 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu); in papr_scm_pmu_read() local 465 if (!nd_pmu) in papr_scm_pmu_read() 468 rc = papr_scm_pmu_get_value(event, nd_pmu->dev, &now); in papr_scm_pmu_read() 483 struct nvdimm_pmu *nd_pmu; in papr_scm_pmu_register() local [all …]
|
/linux-6.1.9/include/linux/ ! |
D | nd.h | 67 void unregister_nvdimm_pmu(struct nvdimm_pmu *nd_pmu); 75 static inline void unregister_nvdimm_pmu(struct nvdimm_pmu *nd_pmu) { } in unregister_nvdimm_pmu() argument
|