| /kernel/linux/linux-5.10/tools/testing/selftests/cpufreq/ |
| 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
|
| 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)
|
| D | cpufreq.sh | 137 local filepath="$CPUFREQROOT/$1" 149 local freqs=$(cat $filepath/scaling_available_frequencies)
|
| /kernel/linux/linux-5.10/tools/thermal/tmon/ |
| 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 …]
|
| /kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
| D | It_process_plimits_pid_001.cpp | 43 static int PidWrite(const char *filepath, char *buf) in PidWrite() argument 45 int fd = open(filepath, O_WRONLY); in PidWrite() 51 printf("filepath: %s buf: %s, errno=%d\n", filepath, buf, errno); in PidWrite() 57 static int PidFork(const char *filepath, int index) in PidFork() argument
|
| D | It_process_plimits_pid_005.cpp | 48 std::string filepath = "/proc/plimits/test/plimits.procs"; in ItProcessPlimitsPid005() local 57 int fd = open(filepath.c_str(), O_WRONLY); in ItProcessPlimitsPid005()
|
| D | It_process_plimits_pid_003.cpp | 39 static int PidWrite(const char *filepath, char *buf) in PidWrite() argument 41 int fd = open(filepath, O_WRONLY); in PidWrite()
|
| D | It_process_plimits_memory_001.cpp | 35 static int limitWrite(const char *filepath, const char *buf) in limitWrite() argument 37 int fd = open(filepath, O_WRONLY); in limitWrite()
|
| D | It_process_plimits_pid_002.cpp | 43 static int PidWrite(const char *filepath, char *buf) in PidWrite() argument 45 int fd = open(filepath, O_WRONLY); in PidWrite()
|
| D | It_process_plimits_memory_002.cpp | 35 static int limitWrite(const char *filepath, const char *buf) in limitWrite() argument 37 int fd = open(filepath, O_WRONLY); in limitWrite()
|
| /kernel/linux/linux-5.10/scripts/ |
| D | get_abi.pl | 84 $data{$nametag}->{filepath} = $file; 165 $data{$what}->{filepath} = $file; 169 $data{$what}->{filepath} .= " " . $file; 299 my @filepath = split / /, $data{$what}->{filepath}; 345 for (my $i = 0; $i < scalar(@filepath); $i++) { 346 my $path = $filepath[$i]; 461 my $file = $data{$what}->{filepath};
|
| /kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
| D | usbip_device_driver.c | 66 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()
|
| /kernel/liteos_a/testsuites/unittest/process/plimits/ |
| D | It_process_plimits.h | 73 int WriteFile(const char *filepath, const char *buf); 76 int ReadFile(const char *filepath, char *buf);
|
| D | process_plimits_test.cpp | 560 int ReadFile(const char *filepath, char *buf) in ReadFile() argument 563 fpid = fopen(filepath, "r"); in ReadFile() 572 int WriteFile(const char *filepath, const char *buf) in WriteFile() argument 574 int fd = open(filepath, O_WRONLY); in WriteFile()
|
| /kernel/liteos_a/testsuites/unittest/container/ |
| D | It_container_test.h | 94 int WriteFile(const char *filepath, const char *buf); 95 int ReadFile(const char *filepath, char *buf);
|
| D | It_container_test.cpp | 97 int ReadFile(const char *filepath, char *buf) in ReadFile() argument 100 fpid = fopen(filepath, "r"); in ReadFile() 109 int WriteFile(const char *filepath, const char *buf) in WriteFile() argument 111 int fd = open(filepath, O_WRONLY); in WriteFile()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
| D | core.c | 275 char *filename, filepath[100]; in ath11k_core_fetch_board_data_api_n() local 292 filepath, sizeof(filepath)); in ath11k_core_fetch_board_data_api_n() 298 filepath, len); in ath11k_core_fetch_board_data_api_n() 313 filepath, len); in ath11k_core_fetch_board_data_api_n() 363 boardname, filepath); in ath11k_core_fetch_board_data_api_n()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.c | 581 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()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | udpgso_bench_rx.c | 287 static void usage(const char *filepath) in usage() argument 291 filepath); in usage()
|
| D | udpgso_bench_tx.c | 414 static void usage(const char *filepath) in usage() argument 417 filepath); in usage()
|
| D | txtimestamp.c | 665 static void __attribute__((noreturn)) usage(const char *filepath) in usage() argument 693 filepath); in usage()
|
| D | msg_zerocopy.c | 694 static void usage(const char *filepath) in usage() argument 696 error(1, 0, "Usage: %s [options] <test>", filepath); in usage()
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | prog.c | 614 char *filepath, bool opcodes, bool visual, bool linum) in prog_dump() argument 656 if (filepath) { in prog_dump() 657 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600); in prog_dump() 659 p_err("can't open file %s: %s", filepath, in prog_dump() 784 char *filepath = NULL; in do_dump() local 829 filepath = *argv; in do_dump() 880 err = prog_dump(&info_linear->info, mode, filepath, opcodes, in do_dump()
|