| /tools/perf/util/ |
| A D | fncache.c | 65 res = access(name, R_OK) == 0; in file_available()
|
| A D | dlfilter.c | 346 if (!access(file, R_OK)) { in find_dlfilter() 361 if (!access(path, R_OK)) in find_dlfilter()
|
| A D | config.c | 770 if (perf_config_system() && !access(perf_etc_perfconfig(), R_OK)) { in perf_config_set__init()
|
| A D | symbol.c | 1785 rc = access(filebuf, R_OK); in dso__find_perf_map() 2648 access(symbol_conf.vmlinux_name, R_OK)) { in symbol__validate_sym_arguments() 2653 access(symbol_conf.kallsyms_name, R_OK)) { in symbol__validate_sym_arguments()
|
| A D | build-id.c | 598 if (realname && access(realname, R_OK)) in build_id_cache__find_debug()
|
| A D | probe-finder.c | 1922 if (access(raw_path, R_OK) == 0) { in find_source_path() 1937 if (access(*new_path, R_OK) == 0) in find_source_path()
|
| A D | disasm.c | 1304 access(filename, R_OK)) { in dso__disassemble_filename() 1317 if (access(filename, R_OK) && errno == ENOENT && dso__nsinfo(dso)) { in dso__disassemble_filename()
|
| A D | machine.c | 331 if (access(path, R_OK)) { in machines__findnew() 1245 ret = access(path, R_OK); in machines__create_guest_kernel_maps()
|
| /tools/include/nolibc/ |
| A D | unistd.h | 26 #define R_OK 4 macro
|
| /tools/perf/tests/ |
| A D | dlfilter-test.c | 232 if (access(path, R_OK)) { in get_dlfilters_path() 238 if (access(path, R_OK)) in get_dlfilters_path()
|
| A D | tests-scripts.c | 129 if (faccessat(dir_fd, path, R_OK | X_OK, 0) == 0) /* Is executable */ in is_shell_script()
|
| /tools/hv/ |
| A D | hv_vss_daemon.c | 78 if (!access(buffer, R_OK | X_OK)) { in is_dev_loop()
|
| /tools/perf/scripts/python/ |
| A D | arm-cs-trace-disasm.py | 121 if os.access(v, os.R_OK):
|
| /tools/lib/bpf/ |
| A D | libbpf_probes.c | 38 if (faccessat(AT_FDCWD, ubuntu_kver_file, R_OK, AT_EACCESS) != 0) in get_ubuntu_kernel_version()
|
| A D | libbpf.c | 11599 return access(tracefs_available_filter_functions_addrs(), R_OK) != -1; in has_available_filter_functions_addrs() 12075 perm = R_OK; in resolve_full_path() 12079 perm = R_OK | X_OK; in resolve_full_path()
|
| /tools/testing/selftests/alsa/ |
| A D | conf.c | 247 if (access(fn, R_OK) == 0) in assign_card_configs()
|
| /tools/testing/selftests/rtc/ |
| A D | rtctest.c | 502 if (access(rtc_file, R_OK) == 0) in main()
|
| /tools/power/x86/turbostat/ |
| A D | turbostat.c | 4417 if (access(path, R_OK) == 0) in get_legacy_uncore_mhz() 6874 if (euidaccess(pathname, R_OK)) { in check_msr_permission() 7006 if (access(path, R_OK)) in probe_intel_uncore_frequency_legacy() 7047 if (access(path_base, R_OK)) { in probe_intel_uncore_frequency_cluster() 7059 if (access(path_base, R_OK)) in probe_intel_uncore_frequency_cluster() 7116 if (access("/sys/devices/system/cpu/intel_uncore_frequency/uncore00", R_OK) == 0) in probe_intel_uncore_frequency() 7124 if (!access(path, R_OK)) in set_graphics_fp() 7182 if (!access(path, R_OK)) in probe_graphics() 7245 if (access("/sys/devices/system/cpu/cpuidle", R_OK)) { in dump_sysfs_cstate_config() 8781 if (!access(sys_lpi_file_sysfs, R_OK)) { in probe_lpi() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | core_reloc.c | 1058 err = access(test_case->btf_src_file, R_OK); in run_core_reloc_tests()
|
| A D | btf_dump.c | 97 if (access(test_file, R_OK) == -1) in test_btf_dump_case()
|
| /tools/testing/selftests/net/tcp_ao/ |
| A D | key-management.c | 392 if (access(fips_fpath, R_OK)) { in is_fips_enabled()
|
| /tools/perf/ |
| A D | builtin-daemon.c | 1114 if (perf_config_system() && !access(perf_etc_perfconfig(), R_OK)) in setup_config()
|
| A D | builtin-script.c | 2945 if (access(script, R_OK)) { in find_script() 2954 if (access(script, R_OK)) in find_script()
|
| /tools/testing/selftests/nolibc/ |
| A D | nolibc-test.c | 1312 CASE_TEST(access); EXPECT_SYSZR(proc, access("/proc/self", R_OK)); break; in run_syscall()
|
| /tools/power/pm-graph/ |
| A D | sleepgraph.py | 5782 if(not (os.path.exists(mempath) and os.access(mempath, os.R_OK))): 5808 if not os.path.exists(ep) or not os.access(ep, os.R_OK): 5894 if(not os.access(sysvals.fpdtpath, os.R_OK)): 5902 if(not os.access(sysvals.mempath, os.R_OK)):
|