| /tools/testing/selftests/rcutorture/bin/ |
| A D | kvm-remote-noreap.sh | 13 pathname="$1" 14 if test "$pathname" = "" 16 echo Usage: kvm-remote-noreap.sh pathname 19 if ! test -d "$pathname" 21 echo Usage: kvm-remote-noreap.sh pathname 26 while test -d "$pathname" 28 find "$pathname" -type f -exec touch -c {} \; > /dev/null 2>&1
|
| /tools/power/acpi/tools/acpidump/ |
| A D | apfiles.c | 14 static int ap_is_existing_file(char *pathname); 28 static int ap_is_existing_file(char *pathname) in ap_is_existing_file() argument 34 if (!stat(pathname, &stat_info)) { in ap_is_existing_file() 65 int ap_open_output_file(char *pathname) in ap_open_output_file() argument 71 if (ap_is_existing_file(pathname) != 0) { in ap_open_output_file() 77 file = fopen(pathname, "w"); in ap_open_output_file() 79 fprintf(stderr, "Could not open output file: %s\n", pathname); in ap_open_output_file() 86 gbl_output_filename = pathname; in ap_open_output_file() 189 file = fopen(pathname, "rb"); in ap_get_table_from_file() 191 fprintf(stderr, "Could not open input file: %s\n", pathname); in ap_get_table_from_file() [all …]
|
| A D | acpidump.h | 63 int ap_dump_table_from_file(char *pathname); 80 int ap_open_output_file(char *pathname); 84 struct acpi_table_header *ap_get_table_from_file(char *pathname,
|
| A D | apdump.c | 365 int ap_dump_table_from_file(char *pathname) in ap_dump_table_from_file() argument 373 table = ap_get_table_from_file(pathname, &file_size); in ap_dump_table_from_file() 381 pathname); in ap_dump_table_from_file() 389 table->length, file_size, pathname); in ap_dump_table_from_file() 396 pathname, table->signature, file_size, file_size); in ap_dump_table_from_file()
|
| /tools/testing/selftests/exec/ |
| A D | non-regular.c | 21 rc = rmdir(pathname); in rm() 23 rc = unlink(pathname); in rm() 27 TH_LOG("Not ENOENT: %s", pathname); in rm() 31 TH_LOG("Failed to remove: %s", pathname); in rm() 37 char *pathname; in FIXTURE() local 64 ASSERT_EQ(symlink(paths[i], self->pathname), 0); in setup_link() 84 ASSERT_EQ(mkdir(self->pathname, 0755), 0); in setup_dir() 103 rc = mknod(self->pathname, 0755 | variant->mode, dev); in setup_node() 137 ASSERT_EQ(mkfifo(self->pathname, 0755), 0); in setup_fifo() 152 rm(_metadata, self->pathname, variant->is_dir); in FIXTURE_SETUP() [all …]
|
| /tools/testing/selftests/devices/probe/ |
| A D | test_discoverable_devices.py | 208 pathname = "" 211 pathname = str(device["path"]) 219 pathname = pathname + "/" + dev_type 222 pathname += "@" + str(device["dt-mmio"]) 225 pathname += "-" + str(device["of-fullname-regex"]) 228 pathname = pathname + "/" + device["name"] 230 return pathname 239 pathname = generate_pathname(child) 241 pathname = parent["meta"]["pathname"] + "/" + pathname 242 child["meta"]["pathname"] = pathname
|
| /tools/testing/selftests/proc/ |
| A D | fd-001-lookup.c | 33 static void test_lookup_pass(const char *pathname) in test_lookup_pass() argument 39 rv = lstat(pathname, &st); in test_lookup_pass() 44 static void test_lookup_fail(const char *pathname) in test_lookup_fail() argument 49 rv = lstat(pathname, &st); in test_lookup_fail()
|
| A D | fd-003-kthread.c | 116 static inline int sys_statx(int dirfd, const char *pathname, int flags, in sys_statx() argument 119 return syscall(SYS_statx, dirfd, pathname, flags, mask, stx); in sys_statx() 122 static void test_lookup_fail(int fd, const char *pathname) in test_lookup_fail() argument 127 rv = sys_statx(fd, pathname, AT_SYMLINK_NOFOLLOW, 0, (void *)stx); in test_lookup_fail()
|
| /tools/perf/pmu-events/arch/nds32/ |
| A D | mapfile.csv | 2 # MIDR,Version,JSON/file/pathname,Type 9 # JSON/file/pathname is the path to JSON file, relative
|
| /tools/perf/bench/ |
| A D | syscall.c | 56 const char *pathname = "/bin/true"; in test_execve() local 57 char *const argv[] = { (char *)pathname, NULL }; in test_execve() 64 execve(pathname, argv, NULL); in test_execve()
|
| /tools/power/x86/x86_energy_perf_policy/ |
| A D | x86_energy_perf_policy.c | 683 char pathname[32]; in get_msr() local 687 fd = open(pathname, O_RDONLY); in get_msr() 706 char pathname[32]; in put_msr() local 711 fd = open(pathname, O_RDWR); in put_msr() 961 char pathname[64]; in update_cpufreq_scaling_freq() local 969 fp = fopen(pathname, "w"); in update_cpufreq_scaling_freq() 972 perror(pathname); in update_cpufreq_scaling_freq() 1234 char pathname[128]; in get_pkg_num() local 1240 fp = fopen_or_die(pathname, "r"); in get_pkg_num() 1386 char pathname[32]; in probe_dev_msr() local [all …]
|
| /tools/perf/pmu-events/arch/powerpc/ |
| A D | mapfile.csv | 2 # PVR,Version,JSON/file/pathname,Type 8 # JSON/file/pathname is the path to JSON file, relative
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_uprobe_autoattach.c | 92 int BPF_UPROBE(handle_uprobe_byname2, const char *pathname, const char *mode) in BPF_UPROBE() argument 99 uprobe_byname2_parm1 = (u64)(long)pathname; in BPF_UPROBE()
|
| /tools/perf/pmu-events/arch/riscv/ |
| A D | mapfile.csv | 2 # MVENDORID-MARCHID-MIMPID,Version,JSON/file/pathname,Type 11 # JSON/file/pathname is the path to JSON file, relative
|
| /tools/power/cpupower/utils/ |
| A D | cpupower.c | 181 char pathname[32]; in main() local 218 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main() 220 stat(pathname, &statbuf) != 0) { in main()
|
| /tools/perf/util/ |
| A D | build-id.h | 27 int filename__snprintf_build_id(const char *pathname, char *sbuild_id, size_t sbuild_id_size); 61 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
|
| A D | build-id.c | 113 int filename__snprintf_build_id(const char *pathname, char *sbuild_id, size_t sbuild_id_size) in filename__snprintf_build_id() argument 118 ret = filename__read_build_id(pathname, &bid); in filename__snprintf_build_id() 214 char *pathname; in build_id_cache__valid_id() local 218 pathname = build_id_cache__origname(sbuild_id); in build_id_cache__valid_id() 219 if (!pathname) in build_id_cache__valid_id() 222 if (!strcmp(pathname, DSO__NAME_KALLSYMS)) in build_id_cache__valid_id() 224 else if (pathname[0] == '/') in build_id_cache__valid_id() 225 ret = filename__snprintf_build_id(pathname, real_sbuild_id, sizeof(real_sbuild_id)); in build_id_cache__valid_id() 230 free(pathname); in build_id_cache__valid_id() 526 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids() argument [all …]
|
| A D | probe-file.h | 58 int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname);
|
| /tools/testing/cxl/test/ |
| A D | mock.h | 15 acpi_string pathname,
|
| A D | mock.c | 82 acpi_string pathname, in __wrap_acpi_evaluate_integer() argument 91 status = ops->acpi_evaluate_integer(handle, pathname, arguments, in __wrap_acpi_evaluate_integer() 94 status = acpi_evaluate_integer(handle, pathname, arguments, in __wrap_acpi_evaluate_integer()
|
| /tools/perf/pmu-events/arch/arm64/ |
| A D | mapfile.csv | 2 # MIDR,Version,JSON/file/pathname,Type 9 # JSON/file/pathname is the path to JSON file, relative
|
| /tools/power/acpi/tools/pfrut/ |
| A D | pfrut.c | 100 char *pathname, *endptr; in parse_options() local 103 pathname = strdup(argv[0]); in parse_options() 104 progname = basename(pathname); in parse_options()
|
| /tools/lib/bpf/ |
| A D | bpf.h | 315 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname); 316 LIBBPF_API int bpf_obj_pin_opts(int fd, const char *pathname, 329 LIBBPF_API int bpf_obj_get(const char *pathname); 330 LIBBPF_API int bpf_obj_get_opts(const char *pathname,
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd.h | 292 static inline int sys_execveat(int dirfd, const char *pathname, in sys_execveat() argument 296 return syscall(__NR_execveat, dirfd, pathname, argv, envp, flags); in sys_execveat()
|
| /tools/perf/ |
| A D | builtin-buildid-cache.c | 222 static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi) in build_id_cache__purge_path() argument 228 err = build_id_cache__list_build_ids(pathname, nsi, &list); in build_id_cache__purge_path() 234 pr_debug("Removing %s %s: %s\n", pos->s, pathname, in build_id_cache__purge_path() 242 pr_debug("Purging %s: %s\n", pathname, err ? "FAIL" : "Ok"); in build_id_cache__purge_path()
|