/linux-master/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 40 int flags = O_RDONLY | O_DIRECTORY;
|
H A D | openat-syscall-all-cpus.c | 85 fd = openat(0, "/etc/passwd", O_RDONLY);
|
/linux-master/samples/hid/ |
H A D | hid_mouse.c | 64 fd = open(uevent, O_RDONLY | O_NONBLOCK);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | module_attach.c | 17 fd = open(BPF_TESTMOD_TEST_FILE, O_RDONLY);
|
H A D | verify_pkcs7_sig.c | 160 fd = open(path, O_RDONLY); 220 fd = open(mod_path, O_RDONLY); 427 fd = open(sig_path, O_RDONLY); 452 ret = open(data_path, O_RDONLY);
|
/linux-master/tools/testing/selftests/filelock/ |
H A D | ofdlocks.c | 40 int fd2 = open("/tmp/aa", O_RDONLY);
|
/linux-master/tools/perf/util/ |
H A D | lzma.c | 110 int fd = open(input, O_RDONLY);
|
H A D | copyfile.c | 115 fromfd = open(from, O_RDONLY);
|
/linux-master/tools/objtool/ |
H A D | objtool.c | 44 s = open(_objname, O_RDONLY);
|
H A D | orc_dump.c | 34 fd = open(objname, O_RDONLY);
|
/linux-master/tools/bpf/bpftool/ |
H A D | cgroup.c | 316 cgroup_fd = open(path, O_RDONLY); 378 cgroup_fd = open(fpath, O_RDONLY); 525 cgroup_fd = open(argv[0], O_RDONLY); 583 cgroup_fd = open(argv[0], O_RDONLY);
|
/linux-master/samples/bpf/ |
H A D | syscall_tp_user.c | 109 fd = open(filename, O_RDONLY);
|
H A D | task_fd_query_user.c | 55 fd = open(buf, O_RDONLY); 77 fd = open(buf, O_RDONLY); 257 efd = open(buf, O_RDONLY, 0);
|
/linux-master/tools/testing/selftests/thermal/intel/workload_hint/ |
H A D | workload_hint_test.c | 111 fd = open(WORKLOAD_TYPE_INDEX_ATTRIBUTE, O_RDONLY);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | ksm_functional_tests.c | 620 ksm_full_scans_fd = open("/sys/kernel/mm/ksm/full_scans", O_RDONLY); 623 pagemap_fd = open("/proc/self/pagemap", O_RDONLY); 626 proc_self_ksm_stat_fd = open("/proc/self/ksm_stat", O_RDONLY); 628 O_RDONLY);
|
/linux-master/arch/um/os-Linux/ |
H A D | process.c | 34 fd = open(proc_stat, O_RDONLY, 0); 69 fd = open(stat, O_RDONLY, 0);
|
/linux-master/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 179 fd = open("/proc/cmdline", O_RDONLY); 258 fd = open("/sys/kernel/debug/kmemleak", O_RDONLY);
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 55 pidfd = open("/proc/self", O_DIRECTORY | O_RDONLY | O_CLOEXEC); 63 pidfd = open("/dev/null", O_RDONLY | O_CLOEXEC);
|
/linux-master/tools/power/cpupower/lib/ |
H A D | powercap.c | 23 fd = open(path, O_RDONLY); 47 fd = open(path, O_RDONLY);
|
/linux-master/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 277 if (!ret && (mode == O_RDONLY || mode == O_RDWR)) 288 if (mode == O_RDONLY || mode == O_RDWR)
|
/linux-master/tools/testing/selftests/cachestat/ |
H A D | test_cachestat.c | 37 int random_fd = open("/dev/urandom", O_RDONLY); 280 4, O_RDONLY, 0400) == KSFT_PASS)
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 57 fd = open(procenv_path, O_RDONLY | O_CLOEXEC); 73 const int fd = open("/proc/sys/kernel/yama/ptrace_scope", O_RDONLY);
|
/linux-master/tools/mm/ |
H A D | page-types.c | 792 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); 898 pagemap_fd = checked_open(buf, O_RDONLY); 1051 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); 1082 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); 1083 pagemap_fd = checked_open("/proc/self/pagemap", O_RDONLY); 1342 kpagecgroup_fd = checked_open(PROC_KPAGECGROUP, O_RDONLY); 1345 kpagecount_fd = checked_open(PROC_KPAGECOUNT, O_RDONLY);
|
/linux-master/arch/arm/vdso/ |
H A D | vdsomunge.c | 138 infd = open(infile, O_RDONLY);
|
/linux-master/arch/sparc/boot/ |
H A D | piggyback.c | 255 if ((tail = open(argv[4], O_RDONLY)) < 0)
|