Searched refs:filepath (Results 1 - 18 of 18) sorted by relevance

/linux-master/tools/testing/selftests/cpufreq/
H A Dgovernor.sh87 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 Dspecial-tests.sh88 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 Dcpufreq.sh137 local filepath="$CPUFREQROOT/$1"
149 local freqs=$(cat $filepath/scaling_available_frequencies)
/linux-master/tools/thermal/tmon/
H A Dsysfs.c37 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 Dusbip_device_driver.c66 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 Dtcrypt_speed_compare.py92 def parse(filepath):
95 with open(filepath, 'r') as file:
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dcore.c292 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 Drun.sh107 filepath=$CPUFREQROOT/$policy/scaling_available_governors
110 if [ ! -f $filepath ]; then
/linux-master/scripts/
H A Dget_abi.pl108 $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 Dcore.c1293 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 Dtest_flow_dissector.c581 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 Dio_uring_zerocopy_tx.c221 static void usage(const char *filepath) argument
224 "[-t<time s>] [-n<batch>] [-p<port>] [-m<mode>]", filepath);
H A Dudpgso_bench_rx.c285 static void usage(const char *filepath) argument
289 filepath);
H A Dmsg_zerocopy.c694 static void usage(const char *filepath) argument
696 error(1, 0, "Usage: %s [options] <test>", filepath);
H A Dudpgso_bench_tx.c430 static void usage(const char *filepath) argument
434 filepath);
H A Dtxtimestamp.c666 static void __attribute__((noreturn)) usage(const char *filepath) argument
694 filepath);
/linux-master/tools/bpf/bpftool/
H A Dprog.c702 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 Dvfs.c1229 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);

Completed in 311 milliseconds