Home
last modified time | relevance | path

Searched refs:numwrite (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/tools/power/cpupower/lib/
Dcpuidle.c93 ssize_t numwrite; in cpuidle_state_write_file() local
102 numwrite = write(fd, value, len); in cpuidle_state_write_file()
103 if (numwrite < 1) { in cpuidle_state_write_file()
110 return (unsigned int) numwrite; in cpuidle_state_write_file()
Dcpufreq.c41 ssize_t numwrite; in sysfs_cpufreq_write_file() local
50 numwrite = write(fd, value, len); in sysfs_cpufreq_write_file()
51 if (numwrite < 1) { in sysfs_cpufreq_write_file()
58 return (unsigned int) numwrite; in sysfs_cpufreq_write_file()
/linux-5.19.10/tools/power/cpupower/utils/helpers/
Dsysfs.c164 ssize_t numwrite; in sysfs_idlestate_write_file() local
173 numwrite = write(fd, value, len); in sysfs_idlestate_write_file()
174 if (numwrite < 1) { in sysfs_idlestate_write_file()
181 return (unsigned int) numwrite; in sysfs_idlestate_write_file()