Searched refs:nd_pmu (Results 1 – 3 of 3) sorted by relevance
160 nd_pmu->cpu = target; in nvdimm_pmu_cpu_offline()176 nd_pmu->cpu = cpu; in nvdimm_pmu_cpu_online()229 nd_pmu->cpu = cpumask_any(&nd_pmu->arch_cpumask); in nvdimm_pmu_cpu_hotplug_init()255 cpuhp_state_remove_instance_nocalls(nd_pmu->cpuhp_state, &nd_pmu->node); in nvdimm_pmu_cpu_hotplug_init()265 cpuhp_state_remove_instance_nocalls(nd_pmu->cpuhp_state, &nd_pmu->node); in nvdimm_pmu_free_hotplug_memory()277 if (!nd_pmu || !pdev) in register_nvdimm_pmu()281 if (WARN_ON_ONCE(!(nd_pmu->pmu.event_init && nd_pmu->pmu.add && in register_nvdimm_pmu()282 nd_pmu->pmu.del && nd_pmu->pmu.read && nd_pmu->pmu.name))) in register_nvdimm_pmu()309 rc = perf_pmu_register(&nd_pmu->pmu, nd_pmu->pmu.name, -1); in register_nvdimm_pmu()317 nd_pmu->pmu.name); in register_nvdimm_pmu()[all …]
413 if (!nd_pmu) in papr_scm_pmu_event_init()445 if (!nd_pmu) in papr_scm_pmu_add()465 if (!nd_pmu) in papr_scm_pmu_read()483 struct nvdimm_pmu *nd_pmu; in papr_scm_pmu_register() local486 nd_pmu = kzalloc(sizeof(*nd_pmu), GFP_KERNEL); in papr_scm_pmu_register()487 if (!nd_pmu) { in papr_scm_pmu_register()500 nd_pmu->pmu.read = papr_scm_pmu_read; in papr_scm_pmu_register()501 nd_pmu->pmu.add = papr_scm_pmu_add; in papr_scm_pmu_register()502 nd_pmu->pmu.del = papr_scm_pmu_del; in papr_scm_pmu_register()519 p->pdev->archdata.priv = nd_pmu; in papr_scm_pmu_register()[all …]
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