Searched refs:O_RDONLY (Results 276 - 300 of 357) sorted by relevance

<<1112131415

/linux-master/fs/overlayfs/
H A Dreaddir.c304 realfile = ovl_path_open(realpath, O_RDONLY | O_LARGEFILE);
862 res = ovl_path_open(realpath, O_RDONLY | (file->f_flags & O_LARGEFILE));
H A Dutil.c651 case O_RDONLY:
1379 filp = kernel_file_open(datapath, O_RDONLY, inode, current_cred());
H A Dinode.c621 file = dentry_open(realpath, O_RDONLY, current_cred());
/linux-master/tools/testing/selftests/landlock/
H A Dnet_test.c1565 dir_fd = open("/dev", O_RDONLY);
1569 dir_fd = open("/", O_RDONLY);
/linux-master/tools/mm/
H A Dthpmaps85 self.fd = os.open(self.filename, os.O_RDONLY)
/linux-master/tools/testing/selftests/mm/
H A Dprotection_keys.c772 fd = open(buf, O_RDONLY);
935 int test_fd = open("/etc/passwd", O_RDONLY);
H A Dkhugepaged.c392 finfo.fd = open(finfo.path, O_RDONLY, 777);
H A Dksm_tests.c572 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c1984 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY;
1992 if (rwflag == O_RDONLY) {
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c676 ret = fd = open(dir, O_RDONLY | O_DIRECTORY, 0);
784 ret = fd = open(files[i], O_RDONLY);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.c389 env.saved_netns_fd = open("/proc/self/ns/net", O_RDONLY);
935 fd = open(BPF_TESTMOD_TEST_FILE, O_RDONLY);
/linux-master/fs/
H A Duserfaultfd.c1006 O_RDONLY | (new->flags & UFFD_SHARED_FCNTL_FLAGS), inode);
2223 O_RDONLY | (flags & UFFD_SHARED_FCNTL_FLAGS), NULL);
H A Dexec.c131 .open_flag = O_LARGEFILE | O_RDONLY,
917 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC,
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c52 return _open_kvm_dev_path_or_exit(O_RDONLY);
68 fd = open_path_or_exit(path, O_RDONLY);
/linux-master/tools/bpf/bpftool/
H A Dgen.c1194 fd = open(file, O_RDONLY);
1583 fd = open(file, O_RDONLY);
H A Dcommon.c604 fd = open(path, O_RDONLY);
H A Dnet.c585 fd = open("/proc/self/ns/net", O_RDONLY);
H A Dfeature.c155 fd = open(path, O_RDONLY | O_CLOEXEC);
/linux-master/scripts/mod/
H A Dmodpost.c109 fd = open(filename, O_RDONLY);
394 fd = open(filename, O_RDONLY);
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c763 fd = open("/proc/kallsyms", O_RDONLY);
/linux-master/tools/perf/util/
H A Dprobe-file.c120 ret = open(buf, O_RDONLY, 0);
/linux-master/tools/testing/selftests/hid/
H A Dhid_bpf.c335 fd = open(uevent, O_RDONLY | O_NONBLOCK);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.c809 int fd = open("/dev/urandom", O_RDONLY);
/linux-master/tools/testing/selftests/x86/
H A Dlam.c579 int file_fd = open(path, O_RDONLY);
/linux-master/kernel/bpf/
H A Dbpf_iter.c646 flags = O_RDONLY | O_CLOEXEC;

Completed in 445 milliseconds

<<1112131415