/linux-master/tools/testing/selftests/cpufreq/ |
H A 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)
|
H A 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
|
H A D | cpufreq.sh | 137 local filepath="$CPUFREQROOT/$1" 149 local freqs=$(cat $filepath/scaling_available_frequencies)
|
/linux-master/tools/thermal/tmon/ |
H A D | sysfs.c | 37 char filepath[PATH_MAX + 2]; /* NUL and '/' */ local 39 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); 41 fd = fopen(filepath, "w"); 43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); 61 char filepath[PATH_MAX + 2]; /* NUL and '/' */ local 63 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); 65 fd = fopen(filepath, "r"); 67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); 80 char filepath[PATH_MAX + 2]; /* NUL and '/' */ local [all...] |
/linux-master/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.c | 66 char filepath[SYSFS_PATH_MAX]; local 76 snprintf(filepath, SYSFS_PATH_MAX, "%s/%s", 78 fd = fopen(filepath, "r");
|
/linux-master/tools/crypto/tcrypt/ |
H A D | tcrypt_speed_compare.py | 92 def parse(filepath): 95 with open(filepath, 'r') as file:
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | core.c | 292 char *filename, filepath[100]; local 309 filepath, sizeof(filepath)); 315 filepath, len); 330 filepath, len); 382 boardname, filepath); 412 char *filename, filepath[100]; local 450 filepath, sizeof(filepath)); 452 boardname, filepath); [all...] |
/linux-master/tools/testing/selftests/amd-pstate/ |
H A D | run.sh | 107 filepath=$CPUFREQROOT/$policy/scaling_available_governors 110 if [ ! -f $filepath ]; then
|
/linux-master/scripts/ |
H A D | get_abi.pl | 108 $data{$nametag}->{filepath} = $file; 189 $data{$what}->{filepath} = $file; 194 $data{$what}->{filepath} .= " " . $file; 328 my @filepath = split / /, $data{$what}->{filepath}; 374 for (my $i = 0; $i < scalar(@filepath); $i++) { 375 my $path = $filepath[$i]; 518 my $file = $data{$what}->{filepath};
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | core.c | 1293 char *filename, filepath[100]; local 1310 filepath, sizeof(filepath)); 1316 filepath, len); 1331 filepath, len); 1383 boardname, filepath); 1414 char *filename, filepath[100]; local 1484 filepath, sizeof(filepath)); 1486 boardname, filepath); [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 581 static void __attribute__((noreturn)) usage(const char *filepath) argument 587 filepath); 612 static int parse_protocol_family(const char *filepath, const char *optarg) argument 619 usage(filepath);
|
/linux-master/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 221 static void usage(const char *filepath) argument 224 "[-t<time s>] [-n<batch>] [-p<port>] [-m<mode>]", filepath);
|
H A D | udpgso_bench_rx.c | 285 static void usage(const char *filepath) argument 289 filepath);
|
H A D | msg_zerocopy.c | 694 static void usage(const char *filepath) argument 696 error(1, 0, "Usage: %s [options] <test>", filepath);
|
H A D | udpgso_bench_tx.c | 430 static void usage(const char *filepath) argument 434 filepath);
|
H A D | txtimestamp.c | 666 static void __attribute__((noreturn)) usage(const char *filepath) argument 694 filepath);
|
/linux-master/tools/bpf/bpftool/ |
H A D | prog.c | 702 char *filepath, bool opcodes, bool visual, bool linum) 747 if (filepath) { 748 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600); 750 p_err("can't open file %s: %s", filepath, 879 char *filepath = NULL; local 924 filepath = *argv; 946 if (filepath && (opcodes || visual || linum)) { 986 err = prog_dump(&info, mode, filepath, opcodes, visual, linum); 701 prog_dump(struct bpf_prog_info *info, enum dump_mode mode, char *filepath, bool opcodes, bool visual, bool linum) argument
|
/linux-master/fs/smb/server/ |
H A D | vfs.c | 1229 char *filepath; local 1232 filepath = kstrdup(name, GFP_KERNEL); 1233 if (!filepath) 1236 path_len = strlen(filepath); 1243 char *filename = filepath + path_len - remain_len; 1261 filepath, 1279 kfree(filepath);
|