Searched refs:cpu_nr_enabled (Results 1 – 1 of 1) sorted by relevance
449 bool cpu_nr_enabled; in sysdata_cpu_nr_enabled_show() local452 cpu_nr_enabled = !!(nt->sysdata_fields & SYSDATA_CPU_NR); in sysdata_cpu_nr_enabled_show()455 return sysfs_emit(buf, "%d\n", cpu_nr_enabled); in sysdata_cpu_nr_enabled_show()1065 bool cpu_nr_enabled, curr; in sysdata_cpu_nr_enabled_store() local1068 ret = kstrtobool(buf, &cpu_nr_enabled); in sysdata_cpu_nr_enabled_store()1074 if (cpu_nr_enabled == curr) in sysdata_cpu_nr_enabled_store()1078 if (cpu_nr_enabled && in sysdata_cpu_nr_enabled_store()1087 if (cpu_nr_enabled) in sysdata_cpu_nr_enabled_store()1104 CONFIGFS_ATTR(sysdata_, cpu_nr_enabled);