Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/lib/
H A 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()
H A 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()
/openbmc/linux/tools/power/cpupower/utils/helpers/
H A 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()