Searched refs:filepath (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/tools/testing/selftests/cpufreq/ |
D | special-tests.sh | 88 local filepath="$CPUROOT/$1/cpufreq" 98 local freqs=$(cat $filepath/scaling_available_frequencies) 99 local oldfreq=$(cat $filepath/scaling_min_freq) 105 echo $freq > $filepath/scaling_min_freq 110 echo $oldfreq > $filepath/scaling_min_freq
|
D | governor.sh | 87 local filepath=$CPUFREQROOT/$1/scaling_available_governors 90 local found=$(cat $filepath | grep $2 | wc -l) 126 local filepath=$CPUFREQROOT/$2/scaling_available_governors 129 if [ ! -f $filepath ]; then 135 local governors=$(cat $filepath)
|
D | cpufreq.sh | 137 local filepath="$CPUFREQROOT/$1" 149 local freqs=$(cat $filepath/scaling_available_frequencies)
|
/Linux-v4.19/tools/thermal/tmon/ |
D | sysfs.c | 45 char filepath[256]; in sysfs_set_ulong() local 47 snprintf(filepath, 256, "%s/%s", path, filename); in sysfs_set_ulong() 49 fd = fopen(filepath, "w"); in sysfs_set_ulong() 51 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_set_ulong() 69 char filepath[256]; in sysfs_get_ulong() local 71 snprintf(filepath, 256, "%s/%s", path, filename); in sysfs_get_ulong() 73 fd = fopen(filepath, "r"); in sysfs_get_ulong() 75 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_ulong() 88 char filepath[256]; in sysfs_get_string() local 90 snprintf(filepath, 256, "%s/%s", path, filename); in sysfs_get_string() [all …]
|
/Linux-v4.19/tools/usb/usbip/libsrc/ |
D | usbip_device_driver.c | 78 char filepath[SYSFS_PATH_MAX]; in read_usb_vudc_device() local 88 snprintf(filepath, SYSFS_PATH_MAX, "%s/%s", in read_usb_vudc_device() 90 fd = fopen(filepath, "r"); in read_usb_vudc_device()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 193 static void usage(const char *filepath) in usage() argument 195 error(1, 0, "Usage: %s [-tv] [-p port]", filepath); in usage()
|
D | udpgso_bench_tx.c | 242 static void usage(const char *filepath) in usage() argument 245 filepath); in usage()
|
D | msg_zerocopy.c | 694 static void usage(const char *filepath) in usage() argument 696 error(1, 0, "Usage: %s [options] <test>", filepath); in usage()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | prog.c | 436 char *filepath = NULL; in do_dump() local 472 filepath = *argv; in do_dump() 567 if (filepath) { in do_dump() 568 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600); in do_dump() 570 p_err("can't open file %s: %s", filepath, in do_dump()
|
/Linux-v4.19/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 391 static void __attribute__((noreturn)) usage(const char *filepath) in usage() argument 409 filepath); in usage()
|