Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/cpufreq/
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 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 Dcpufreq.sh137 local filepath="$CPUFREQROOT/$1"
149 local freqs=$(cat $filepath/scaling_available_frequencies)
/linux-6.15/tools/thermal/tmon/
H 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.15/tools/usb/usbip/libsrc/
H 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.15/drivers/gpu/drm/msm/registers/
H A Dgen_header.py580 filepath = os.path.abspath(filename)
581 if filepath in self.xml_files:
583 self.xml_files.append(filepath)
879 for filepath in p.xml_files:
880 maxlen = max(maxlen, len(filepath))
881 for filepath in p.xml_files:
882 pad = " " * (maxlen - len(filepath))
883 filesize = str(os.path.getsize(filepath))
885 filetime = time.ctime(os.path.getmtime(filepath))
886 print("- " + filepath + pad + " (" + filesize + " bytes, from " + filetime + ")")
/linux-6.15/tools/crypto/tcrypt/
H A Dtcrypt_speed_compare.py92 def parse(filepath): argument
95 with open(filepath, 'r') as file:
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dcore.c1404 char *filename, filepath[100]; in ath11k_core_fetch_board_data_api_n() local
1421 filepath, sizeof(filepath)); in ath11k_core_fetch_board_data_api_n()
1427 filepath, len); in ath11k_core_fetch_board_data_api_n()
1442 filepath, len); in ath11k_core_fetch_board_data_api_n()
1494 boardname, filepath); in ath11k_core_fetch_board_data_api_n()
1525 char *filename, filepath[100]; in ath11k_core_fetch_bdf() local
1595 filepath, sizeof(filepath)); in ath11k_core_fetch_bdf()
1597 boardname, filepath); in ath11k_core_fetch_bdf()
1600 fallback_boardname, filepath); in ath11k_core_fetch_bdf()
1603 chip_id_boardname, filepath); in ath11k_core_fetch_bdf()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dcore.c367 char *filename, filepath[100]; in ath12k_core_fetch_board_data_api_n() local
384 filepath, sizeof(filepath)); in ath12k_core_fetch_board_data_api_n()
390 filepath, len); in ath12k_core_fetch_board_data_api_n()
405 filepath, len); in ath12k_core_fetch_board_data_api_n()
457 boardname, filepath); in ath12k_core_fetch_board_data_api_n()
487 char *filename, filepath[100]; in ath12k_core_fetch_bdf() local
525 filepath, sizeof(filepath)); in ath12k_core_fetch_bdf()
527 boardname, filepath); in ath12k_core_fetch_bdf()
530 fallback_boardname, filepath); in ath12k_core_fetch_bdf()
/linux-6.15/tools/testing/selftests/amd-pstate/
H A Drun.sh107 filepath=$CPUFREQROOT/$policy/scaling_available_governors
110 if [ ! -f $filepath ]; then
/linux-6.15/tools/testing/selftests/net/
H A Dio_uring_zerocopy_tx.c221 static void usage(const char *filepath) in usage() argument
224 "[-t<time s>] [-n<batch>] [-p<port>] [-m<mode>]", filepath); in usage()
H A Dbusy_poller.c73 static void usage(const char *filepath) in usage() argument
77 filepath); in usage()
H A Dudpgso_bench_rx.c285 static void usage(const char *filepath) in usage() argument
289 filepath); in usage()
H A Dudpgso_bench_tx.c430 static void usage(const char *filepath) in usage() argument
434 filepath); in usage()
H A Dmsg_zerocopy.c701 static void usage(const char *filepath) in usage() argument
703 error(1, 0, "Usage: %s [options] <test>", filepath); in usage()
H A Dtxtimestamp.c687 static void __attribute__((noreturn)) usage(const char *filepath) in usage() argument
716 filepath); in usage()
/linux-6.15/tools/testing/selftests/drivers/net/hw/
H A Diou-zcrx.c365 static void usage(const char *filepath) in usage() argument
368 "-l<payload_size> -i<ifname> -q<rxq_id>", filepath); in usage()
/linux-6.15/tools/bpf/bpftool/
H A Dprog.c702 char *filepath, bool opcodes, bool visual, bool linum) in prog_dump() argument
747 if (filepath) { in prog_dump()
748 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600); in prog_dump()
750 p_err("can't open file %s: %s", filepath, in prog_dump()
886 char *filepath = NULL; in do_dump() local
931 filepath = *argv; in do_dump()
953 if (filepath && (opcodes || visual || linum)) { in do_dump()
993 err = prog_dump(&info, mode, filepath, opcodes, visual, linum); in do_dump()
/linux-6.15/fs/smb/server/
H A Dvfs.c1223 char *filepath; in ksmbd_vfs_kern_path_locked() local
1226 filepath = name; in ksmbd_vfs_kern_path_locked()
1227 path_len = strlen(filepath); in ksmbd_vfs_kern_path_locked()
1234 char *filename = filepath + path_len - remain_len; in ksmbd_vfs_kern_path_locked()
1252 filepath, in ksmbd_vfs_kern_path_locked()
/linux-6.15/security/ipe/
H A DKconfig27 This option specifies a filepath to an IPE policy that is compiled