Searched refs:cpu_nr_enabled (Results 1 – 1 of 1) sorted by relevance
481 bool cpu_nr_enabled; in sysdata_cpu_nr_enabled_show() local484 cpu_nr_enabled = !!(nt->sysdata_fields & SYSDATA_CPU_NR); in sysdata_cpu_nr_enabled_show()487 return sysfs_emit(buf, "%d\n", cpu_nr_enabled); in sysdata_cpu_nr_enabled_show()1085 bool cpu_nr_enabled, curr; in sysdata_cpu_nr_enabled_store() local1088 ret = kstrtobool(buf, &cpu_nr_enabled); in sysdata_cpu_nr_enabled_store()1095 if (cpu_nr_enabled == curr) in sysdata_cpu_nr_enabled_store()1099 if (cpu_nr_enabled) in sysdata_cpu_nr_enabled_store()1115 CONFIGFS_ATTR(sysdata_, cpu_nr_enabled);