Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at nocache-cleanup 12 lines 364 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#define PATH_TO_CPU "/sys/devices/system/cpu/" 3 4#ifndef MAX_LINE_LEN 5#define MAX_LINE_LEN 4096 6#endif 7 8#define SYSFS_PATH_MAX 255 9 10int is_valid_path(const char *path); 11unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen); 12unsigned int cpupower_write_sysfs(const char *path, char *buf, size_t buflen);