Lines Matching refs:pmc_attrs
829 struct device_attribute *attrs, *pmc_attrs; in register_cpu_online() local
847 pmc_attrs = classic_pmc_attrs; in register_cpu_online()
854 pmc_attrs = classic_pmc_attrs; in register_cpu_online()
862 pmc_attrs = NULL; in register_cpu_online()
868 pmc_attrs = NULL; in register_cpu_online()
874 if (pmc_attrs) in register_cpu_online()
876 device_create_file(s, &pmc_attrs[i]); in register_cpu_online()
928 struct device_attribute *attrs, *pmc_attrs; in unregister_cpu_online() local
945 pmc_attrs = classic_pmc_attrs; in unregister_cpu_online()
952 pmc_attrs = classic_pmc_attrs; in unregister_cpu_online()
960 pmc_attrs = NULL; in unregister_cpu_online()
966 pmc_attrs = NULL; in unregister_cpu_online()
972 if (pmc_attrs) in unregister_cpu_online()
974 device_remove_file(s, &pmc_attrs[i]); in unregister_cpu_online()