Symbol: F_OK
arch/um/os-Linux/file.c
79
(mode & OS_ACC_F_OK ? F_OK : 0);
tools/accounting/delaytop.c
508
if (access(PSI_PATH, F_OK) != 0) {
tools/arch/x86/intel_sdsi/intel_sdsi.c
810
if (!access(optarg, F_OK) == 0) {
tools/bpf/bpftool/common.c
261
dir_exists = access(dir_name, F_OK) == 0;
tools/bpf/bpftool/common.c
281
if (access(parent_name, F_OK) == -1) {
tools/bpf/bpftool/common.c
324
if (access(file_name, F_OK) != -1) {
tools/bpf/bpftool/common.c
341
if (access(dir, F_OK) == -1) {
tools/hv/hv_fcopy_uio_daemon.c
137
if (access(path_name, F_OK)) {
tools/hv/hv_fcopy_uio_daemon.c
153
if (!access(target_fname, F_OK)) {
tools/hv/hv_kvp_daemon.c
266
if (access(KVP_CONFIG_LOC, F_OK)) {
tools/lib/bpf/btf.c
5502
if (faccessat(AT_FDCWD, sysfs_btf_path, F_OK, AT_EACCESS) < 0) {
tools/lib/bpf/libbpf.c
11479
has_debugfs = faccessat(AT_FDCWD, DEBUGFS, F_OK, AT_EACCESS) == 0;
tools/lib/bpf/usdt.c
297
man->has_sema_refcnt = faccessat(AT_FDCWD, ref_ctr_sysfs_path, F_OK, AT_EACCESS) == 0;
tools/perf/arch/common.c
121
if (access(buf, F_OK) == 0) {
tools/perf/arch/common.c
164
if (access(buf, F_OK) == 0)
tools/perf/arch/x86/util/iostat.c
190
if (access(path, F_OK) != 0)
tools/perf/builtin-ftrace.c
100
if (!access(file, F_OK))
tools/perf/builtin-ftrace.c
127
if (!access(file, F_OK))
tools/perf/builtin-trace.c
857
if (mode == F_OK) /* 0 */
tools/perf/ui/browsers/hists.c
2223
if (access(filename, F_OK))
tools/perf/util/bpf_counter.c
389
if (access(path, F_OK)) {
tools/perf/util/build-id.c
159
if (!access(bf, F_OK))
tools/perf/util/build-id.c
666
if (access(filename, F_OK)) {
tools/perf/util/build-id.c
697
if (access(filename, F_OK)) {
tools/perf/util/build-id.c
798
if (filename && !access(filename, F_OK))
tools/perf/util/build-id.c
818
if (access(linkname, F_OK))
tools/perf/util/cputopo.c
110
if (access(filename, F_OK) == -1) {
tools/perf/util/cputopo.c
236
if (access(filename, F_OK) == -1)
tools/perf/util/cputopo.c
47
if (access(filename, F_OK) == -1) {
tools/perf/util/evsel.c
4030
access("/proc/sys/kernel/perf_event_max_stack", F_OK) == 0)
tools/perf/util/strlist.c
119
if (access(subst, F_OK) == 0) {
tools/perf/util/tool_pmu.c
329
has_pmem = access(path, F_OK) == 0;
tools/power/cpupower/lib/cpupower.c
20
if (access(path, F_OK) == -1)
tools/power/x86/turbostat/turbostat.c
8568
if (!access(perf_cpu_pcore_path, F_OK)) {
tools/power/x86/turbostat/turbostat.c
8580
if (!access(perf_cpu_ecore_path, F_OK)) {
tools/power/x86/turbostat/turbostat.c
8592
if (!access(perf_cpu_lcore_path, F_OK)) {
tools/power/x86/turbostat/turbostat.c
8613
if (access("/proc/sys/kernel/perf_event_paranoid", F_OK))
tools/power/x86/turbostat/turbostat.c
8616
if (!access(perf_cpu_path, F_OK)) {
tools/power/x86/turbostat/turbostat.c
9897
if (access("/sys/bus/event_source/devices/cpu_core", F_OK)) {
tools/power/x86/turbostat/turbostat.c
9902
if (access("/sys/bus/event_source/devices/cpu_atom", F_OK)) {
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1014
if (access("/sys/devices/system/cpu/cpu0/cpufreq", F_OK))
tools/testing/selftests/arm64/mte/check_ksm_options.c
104
if (access(PATH_KSM, F_OK) == -1) {
tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c
20
if (access("/sys/kernel/tracing/trace", F_OK) == 0) {
tools/testing/selftests/bpf/prog_tests/test_bpffs.c
109
err = access(TDIR "/fs1/b/1", F_OK);
tools/testing/selftests/bpf/prog_tests/test_bpffs.c
125
err = access(TDIR "/fs1/c/1", F_OK);
tools/testing/selftests/bpf/prog_tests/test_bpffs.c
135
err = access(TDIR "/fs1/b", F_OK);
tools/testing/selftests/bpf/prog_tests/test_veristat.c
26
if (access("./veristat", F_OK) == 0)
tools/testing/selftests/bpf/prog_tests/test_veristat.c
28
else if (access("../veristat", F_OK) == 0)
tools/testing/selftests/bpf/prog_tests/tp_attach_query.c
19
if (access("/sys/kernel/tracing/trace", F_OK) == 0) {
tools/testing/selftests/bpf/trace_helpers.c
487
if (access(TRACEFS_PIPE, F_OK) == 0)
tools/testing/selftests/bpf/trace_helpers.c
631
if (access("/sys/kernel/tracing/trace", F_OK) == 0)
tools/testing/selftests/bpf/trace_helpers.c
704
if (access("/sys/kernel/tracing/trace", F_OK) == 0)
tools/testing/selftests/cgroup/test_zswap.c
594
return access("/sys/module/zswap", F_OK) == 0;
tools/testing/selftests/clone3/clone3.c
151
if (!access("/proc/self/ns/time", F_OK))
tools/testing/selftests/filesystems/fuse/fusectl_test.c
111
ASSERT_EQ(0, access(path_buf, F_OK));
tools/testing/selftests/filesystems/fuse/fusectl_test.c
68
if (access(FUSECTL_MOUNTPOINT, F_OK))
tools/testing/selftests/memfd/memfd_test.c
1702
return access("/proc/self/ns/pid", F_OK) == 0;
tools/testing/selftests/mm/ksm_tests.c
855
if (access(KSM_SYSFS_PATH, F_OK)) {
tools/testing/selftests/mm/thp_settings.c
387
if (access(THP_SYSFS, F_OK) != 0)
tools/testing/selftests/net/tcp_ao/lib/kconfig.c
15
if (access("/proc/self/ns/net", F_OK) < 0) {
tools/testing/selftests/net/tcp_ao/lib/setup.c
305
optmem_ns = !access(optmem_file, F_OK);
tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c
55
if (access(file, F_OK))
tools/testing/selftests/powerpc/mce/inject-ra-err.c
42
SKIP_IF(access(devname, F_OK));
tools/testing/selftests/powerpc/mm/prot_sao.c
28
access("/proc/device-tree/rtas/ibm,hypertas-functions", F_OK) == 0);
tools/testing/selftests/timens/timens.h
107
if (access("/proc/self/ns/time", F_OK) < 0)
tools/testing/selftests/ublk/kublk.c
1283
if (access(ublkc, F_OK) != 0)
tools/testing/selftests/uevent/uevent_filtering.c
360
ret = access(__DEV_FULL, F_OK);
tools/testing/selftests/vfio/vfio_dma_mapping_test.c
89
if (!access("/sys/kernel/debug/iommu/intel", F_OK))
tools/thermal/thermometer/thermometer.c
108
if (path && access(path, F_OK)) {
tools/thermal/thermometer/thermometer.c
366
if (access(options->output, F_OK) && mkdir(options->output, 0700)) {
tools/thermal/thermometer/thermometer.c
376
if (!options->overwrite && !access(path, F_OK)) {
tools/usb/testusb.c
352
if (access(udev_usb_path, F_OK) == 0)
tools/virtio/virtio-trace/trace-agent.c
127
if (ret > 0 && access(buf, F_OK) != 0)