| /linux/tools/testing/selftests/cpufreq/ |
| H A D | special-tests.sh | 99 local filepath="$CPUROOT/$1/cpufreq" 109 local freqs=$(cat $filepath/scaling_available_frequencies) 110 local oldfreq=$(cat $filepath/scaling_min_freq) 116 echo $freq > $filepath/scaling_min_freq 121 echo $oldfreq > $filepath/scaling_min_freq
|
| H A D | governor.sh | 108 local filepath=$CPUFREQROOT/$1/scaling_available_governors 111 local found=$(cat $filepath | grep $2 | wc -l) 142 local filepath=$CPUFREQROOT/$2/scaling_available_governors 145 if [ ! -f $filepath ]; then 151 local governors=$(cat $filepath)
|
| H A D | cpufreq.sh | 144 local filepath="$CPUFREQROOT/$1" 156 local freqs=$(cat $filepath/scaling_available_frequencies)
|
| /linux/tools/thermal/tmon/ |
| H A D | sysfs.c | 37 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/tools/usb/usbip/libsrc/ |
| H A D | usbip_device_driver.c | 70 char filepath[SYSFS_PATH_MAX]; in read_usb_vudc_device() local 80 snprintf(filepath, SYSFS_PATH_MAX, "%s/%s", in read_usb_vudc_device() 82 fd = fopen(filepath, "r"); in read_usb_vudc_device()
|
| /linux/tools/testing/selftests/net/ |
| H A D | tfo.c | 112 static void usage(const char *filepath) in usage() argument 114 error(1, 0, "Usage: %s (-s|-c) -h<server_ip> -p<port> -o<outfile> ", filepath); in usage()
|
| H A D | io_uring_zerocopy_tx.c | 221 static void usage(const char *filepath) in usage() argument 224 "[-t<time s>] [-n<batch>] [-p<port>] [-m<mode>]", filepath); in usage()
|
| H A D | udpgso_bench_rx.c | 285 static void usage(const char *filepath) in usage() argument 289 filepath); in usage()
|
| H A D | udpgso_bench_tx.c | 430 static void usage(const char *filepath) in usage() argument 434 filepath); in usage()
|
| H A D | msg_zerocopy.c | 704 static void usage(const char *filepath) in usage() argument 706 error(1, 0, "Usage: %s [options] <test>", filepath); in usage()
|
| H A D | txtimestamp.c | 687 static void __attribute__((noreturn)) usage(const char *filepath) in usage() argument 716 filepath); in usage()
|
| /linux/tools/crypto/tcrypt/ |
| H A D | tcrypt_speed_compare.py | 92 def parse(filepath): argument 95 with open(filepath, 'r') as file:
|
| /linux/tools/testing/selftests/amd-pstate/ |
| H A D | run.sh | 107 filepath=$CPUFREQROOT/$policy/scaling_available_governors 110 if [ ! -f $filepath ]; then
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | core.c | 1713 char *filename, filepath[100]; in ath11k_core_fetch_board_data_api_n() local 1730 filepath, sizeof(filepath)); in ath11k_core_fetch_board_data_api_n() 1736 filepath, len); in ath11k_core_fetch_board_data_api_n() 1751 filepath, len); in ath11k_core_fetch_board_data_api_n() 1803 boardname, filepath); in ath11k_core_fetch_board_data_api_n() 1834 char *filename, filepath[100]; in ath11k_core_fetch_bdf() local 1904 filepath, sizeof(filepath)); in ath11k_core_fetch_bdf() 1906 boardname, filepath); in ath11k_core_fetch_bdf() 1909 fallback_boardname, filepath); in ath11k_core_fetch_bdf() 1912 chip_id_boardname, filepath); in ath11k_core_fetch_bdf()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | core.c | 407 char *filename, filepath[100]; in ath12k_core_fetch_board_data_api_n() local 424 filepath, sizeof(filepath)); in ath12k_core_fetch_board_data_api_n() 430 filepath, len); in ath12k_core_fetch_board_data_api_n() 445 filepath, len); in ath12k_core_fetch_board_data_api_n() 497 boardname, filepath); in ath12k_core_fetch_board_data_api_n() 527 char *filename, filepath[100]; in ath12k_core_fetch_bdf() local 565 filepath, sizeof(filepath)); in ath12k_core_fetch_bdf() 567 boardname, filepath); in ath12k_core_fetch_bdf() 570 fallback_boardname, filepath); in ath12k_core_fetch_bdf()
|
| /linux/fs/smb/server/ |
| H A D | vfs.c | 1334 int __ksmbd_vfs_kern_path(struct ksmbd_work *work, char *filepath, in __ksmbd_vfs_kern_path() argument 1344 err = ksmbd_vfs_path_lookup(share_conf, filepath, flags, path, for_remove); in __ksmbd_vfs_kern_path() 1348 path_len = strlen(filepath); in __ksmbd_vfs_kern_path() 1355 char *filename = filepath + path_len - remain_len; in __ksmbd_vfs_kern_path() 1377 filepath, in __ksmbd_vfs_kern_path() 1406 int ksmbd_vfs_kern_path(struct ksmbd_work *work, char *filepath, in ksmbd_vfs_kern_path() argument 1410 return __ksmbd_vfs_kern_path(work, filepath, flags, path, in ksmbd_vfs_kern_path() 1427 int ksmbd_vfs_kern_path_start_removing(struct ksmbd_work *work, char *filepath, in ksmbd_vfs_kern_path_start_removing() argument 1431 return __ksmbd_vfs_kern_path(work, filepath, flags, path, in ksmbd_vfs_kern_path_start_removing()
|
| /linux/rust/proc-macro2/ |
| H A D | fallback.rs | 478 fn filepath(&self, span: Span) -> String { in filepath() method 586 sm.filepath(*self) in file()
|