Searched refs:O_RDONLY (Results 276 - 300 of 357) sorted by relevance
<<1112131415
/linux-master/fs/overlayfs/ |
H A D | readdir.c | 304 realfile = ovl_path_open(realpath, O_RDONLY | O_LARGEFILE); 862 res = ovl_path_open(realpath, O_RDONLY | (file->f_flags & O_LARGEFILE));
|
H A D | util.c | 651 case O_RDONLY: 1379 filp = kernel_file_open(datapath, O_RDONLY, inode, current_cred());
|
H A D | inode.c | 621 file = dentry_open(realpath, O_RDONLY, current_cred());
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | net_test.c | 1565 dir_fd = open("/dev", O_RDONLY); 1569 dir_fd = open("/", O_RDONLY);
|
/linux-master/tools/mm/ |
H A D | thpmaps | 85 self.fd = os.open(self.filename, os.O_RDONLY)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 772 fd = open(buf, O_RDONLY); 935 int test_fd = open("/etc/passwd", O_RDONLY);
|
H A D | khugepaged.c | 392 finfo.fd = open(finfo.path, O_RDONLY, 777);
|
H A D | ksm_tests.c | 572 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 1984 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY; 1992 if (rwflag == O_RDONLY) {
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 676 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 D | test_progs.c | 389 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 D | userfaultfd.c | 1006 O_RDONLY | (new->flags & UFFD_SHARED_FCNTL_FLAGS), inode); 2223 O_RDONLY | (flags & UFFD_SHARED_FCNTL_FLAGS), NULL);
|
H A D | exec.c | 131 .open_flag = O_LARGEFILE | O_RDONLY, 917 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC,
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 52 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 D | gen.c | 1194 fd = open(file, O_RDONLY); 1583 fd = open(file, O_RDONLY);
|
H A D | common.c | 604 fd = open(path, O_RDONLY);
|
H A D | net.c | 585 fd = open("/proc/self/ns/net", O_RDONLY);
|
H A D | feature.c | 155 fd = open(path, O_RDONLY | O_CLOEXEC);
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 109 fd = open(filename, O_RDONLY); 394 fd = open(filename, O_RDONLY);
|
/linux-master/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 763 fd = open("/proc/kallsyms", O_RDONLY);
|
/linux-master/tools/perf/util/ |
H A D | probe-file.c | 120 ret = open(buf, O_RDONLY, 0);
|
/linux-master/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 335 fd = open(uevent, O_RDONLY | O_NONBLOCK);
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_sockopt.c | 809 int fd = open("/dev/urandom", O_RDONLY);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | lam.c | 579 int file_fd = open(path, O_RDONLY);
|
/linux-master/kernel/bpf/ |
H A D | bpf_iter.c | 646 flags = O_RDONLY | O_CLOEXEC;
|
Completed in 445 milliseconds
<<1112131415