Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/cpufreq/
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
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)
A Dcpufreq.sh137 local filepath="$CPUFREQROOT/$1"
149 local freqs=$(cat $filepath/scaling_available_frequencies)
/linux-6.3-rc2/tools/thermal/tmon/
A Dsysfs.c37 char filepath[PATH_MAX + 2]; /* NUL and '/' */ in sysfs_set_ulong() local
39 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_set_ulong()
41 fd = fopen(filepath, "w"); in sysfs_set_ulong()
43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_set_ulong()
61 char filepath[PATH_MAX + 2]; /* NUL and '/' */ in sysfs_get_ulong() local
63 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_ulong()
65 fd = fopen(filepath, "r"); in sysfs_get_ulong()
67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_ulong()
80 char filepath[PATH_MAX + 2]; /* NUL and '/' */ in sysfs_get_string() local
82 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_string()
[all …]
/linux-6.3-rc2/tools/usb/usbip/libsrc/
A Dusbip_device_driver.c66 char filepath[SYSFS_PATH_MAX]; in read_usb_vudc_device() local
76 snprintf(filepath, SYSFS_PATH_MAX, "%s/%s", in read_usb_vudc_device()
78 fd = fopen(filepath, "r"); in read_usb_vudc_device()
/linux-6.3-rc2/scripts/
A Dget_abi.pl107 $data{$nametag}->{filepath} = $file;
188 $data{$what}->{filepath} = $file;
193 $data{$what}->{filepath} .= " " . $file;
327 my @filepath = split / /, $data{$what}->{filepath};
373 for (my $i = 0; $i < scalar(@filepath); $i++) {
374 my $path = $filepath[$i];
517 my $file = $data{$what}->{filepath};
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dcore.c224 char *filename, filepath[100]; in ath12k_core_fetch_board_data_api_n() local
241 filepath, sizeof(filepath)); in ath12k_core_fetch_board_data_api_n()
247 filepath, len); in ath12k_core_fetch_board_data_api_n()
262 filepath, len); in ath12k_core_fetch_board_data_api_n()
312 boardname, filepath); in ath12k_core_fetch_board_data_api_n()
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dcore.c1143 char *filename, filepath[100]; in ath11k_core_fetch_board_data_api_n() local
1160 filepath, sizeof(filepath)); in ath11k_core_fetch_board_data_api_n()
1166 filepath, len); in ath11k_core_fetch_board_data_api_n()
1181 filepath, len); in ath11k_core_fetch_board_data_api_n()
1233 boardname, filepath); in ath11k_core_fetch_board_data_api_n()
1264 char *filename, filepath[100]; in ath11k_core_fetch_bdf() local
1301 filepath, sizeof(filepath)); in ath11k_core_fetch_bdf()
1303 boardname, filepath); in ath11k_core_fetch_bdf()
1306 fallback_boardname, filepath); in ath11k_core_fetch_bdf()
/linux-6.3-rc2/tools/testing/selftests/amd-pstate/
A Drun.sh103 filepath=$CPUFREQROOT/$policy/scaling_available_governors
106 if [ ! -f $filepath ]; then
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_flow_dissector.c581 static void __attribute__((noreturn)) usage(const char *filepath) in usage() argument
587 filepath); in usage()
612 static int parse_protocol_family(const char *filepath, const char *optarg) in parse_protocol_family() argument
619 usage(filepath); in parse_protocol_family()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dudpgso_bench_rx.c285 static void usage(const char *filepath) in usage() argument
289 filepath); in usage()
A Dio_uring_zerocopy_tx.c485 static void usage(const char *filepath) in usage() argument
488 "[-t<time s>] [-n<batch>] [-p<port>] [-m<mode>]", filepath); in usage()
A Dudpgso_bench_tx.c430 static void usage(const char *filepath) in usage() argument
434 filepath); in usage()
A Dmsg_zerocopy.c694 static void usage(const char *filepath) in usage() argument
696 error(1, 0, "Usage: %s [options] <test>", filepath); in usage()
A Dtxtimestamp.c665 static void __attribute__((noreturn)) usage(const char *filepath) in usage() argument
693 filepath); in usage()
/linux-6.3-rc2/fs/ksmbd/
A Dvfs.c1229 char *filepath; in ksmbd_vfs_kern_path() local
1233 filepath = kstrdup(name, GFP_KERNEL); in ksmbd_vfs_kern_path()
1234 if (!filepath) in ksmbd_vfs_kern_path()
1237 path_len = strlen(filepath); in ksmbd_vfs_kern_path()
1244 char *filename = filepath + path_len - remain_len; in ksmbd_vfs_kern_path()
1263 filepath, in ksmbd_vfs_kern_path()
1280 kfree(filepath); in ksmbd_vfs_kern_path()
/linux-6.3-rc2/tools/bpf/bpftool/
A Dprog.c698 char *filepath, bool opcodes, bool visual, bool linum) in prog_dump() argument
743 if (filepath) { in prog_dump()
744 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600); in prog_dump()
746 p_err("can't open file %s: %s", filepath, in prog_dump()
880 char *filepath = NULL; in do_dump() local
924 filepath = *argv; in do_dump()
978 err = prog_dump(&info, mode, filepath, opcodes, visual, linum); in do_dump()

Completed in 28 milliseconds