Searched refs:O_RDONLY (Results 1 - 25 of 357) sorted by last modified time
1234567891011>>
/linux-master/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 136 pagemap_fd = open(pagemap_proc, O_RDONLY); 140 kpageflags_fd = open(kpageflags_proc, O_RDONLY);
|
H A D | protection_keys.c | 772 fd = open(buf, O_RDONLY); 935 int test_fd = open("/etc/passwd", O_RDONLY);
|
H A D | uffd-unit-tests.c | 222 int fd = open("/proc/self/pagemap", O_RDONLY);
|
/linux-master/fs/9p/ |
H A D | vfs_inode.c | 168 case O_RDONLY:
|
/linux-master/block/ |
H A D | bdev.c | 955 flags |= O_RDONLY; /* homeopathic, because O_RDONLY is 0 */
|
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 4403 file = anon_inode_getfile(name, &kvm_vcpu_stats_fops, vcpu, O_RDONLY); 5092 &kvm_vm_stats_fops, kvm, O_RDONLY);
|
/linux-master/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 18 const int devfd = open(DEVPATH, O_RDONLY); 31 const int devfd = open(DEVPATH, O_RDONLY); 70 const int devfd = open(DEVPATH, O_RDONLY); 111 const int devfd = open(DEVPATH, O_RDONLY); 137 const int devfd = open(DEVPATH, O_RDONLY); 156 const int devfd = open(DEVPATH, O_RDONLY); 179 const int devfd = open(DEVPATH, O_RDONLY); 262 const int devfd = open(DEVPATH, O_RDONLY);
|
/linux-master/fs/smb/server/ |
H A D | vfs.c | 1185 int flags = O_RDONLY | O_LARGEFILE;
|
H A D | smb2pdu.c | 2065 oflags |= O_RDONLY; 3427 } else if (open_flags == O_RDONLY &&
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 33 fd_flags |= O_RDONLY;
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | setup.c | 117 fd = open(netns_path, O_RDONLY);
|
/linux-master/mm/ |
H A D | huge_memory.c | 3537 candidate = file_open_name(file, O_RDONLY, 0);
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 1520 fd = open(pathname, O_RDONLY); 3114 fdmt = open(path, O_RDONLY, 0); 6363 fd = open(path, O_RDONLY);
|
/linux-master/drivers/target/ |
H A D | target_core_configfs.c | 134 fp = filp_open(db_root_stage, O_RDONLY, 0); 3655 fp = filp_open(db_root_stage, O_RDONLY, 0);
|
/linux-master/drivers/scsi/ |
H A D | sg.c | 294 if ((flags & O_EXCL) && (O_RDONLY == (flags & O_ACCMODE)))
|
H A D | st.c | 1309 STp->write_prot = ((filp->f_flags & O_ACCMODE) == O_RDONLY);
|
/linux-master/drivers/crypto/ccp/ |
H A D | sev-dev.c | 268 fp = open_file_as_root(init_ex_path, O_RDONLY, 0);
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 1018 return O_RDONLY;
|
/linux-master/fs/smb/client/ |
H A D | file.c | 211 if ((flags & O_ACCMODE) == O_RDONLY) 232 if ((flags & O_ACCMODE) == O_RDONLY) 904 if ((file->f_flags & (O_ACCMODE | O_APPEND)) == O_RDONLY) 5052 break_lease(inode, O_RDONLY);
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 504 return O_RDONLY; 511 return O_RDONLY; 636 ret = nfsd_file_get(f->fi_fds[O_RDONLY]); 678 ret = nfsd_file_get(f->fi_fds[O_RDONLY]); 692 if (f->fi_fds[O_RDONLY]) 693 return f->fi_fds[O_RDONLY]; 791 atomic_inc(&fp->fi_access[O_RDONLY]); 820 atomic_read(&fp->fi_access[O_RDONLY])) 856 __nfs4_file_put_access(fp, O_RDONLY); 5775 * If the file is being opened O_RDONLY o [all...] |
/linux-master/drivers/gpio/ |
H A D | gpiolib-cdev.c | 373 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); 382 O_RDONLY | O_CLOEXEC); 1829 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); 1836 O_RDONLY | O_CLOEXEC); 2255 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); 2264 O_RDONLY | O_CLOEXEC);
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 83 case O_RDONLY:
|
/linux-master/fs/ |
H A D | namei.c | 3277 if ((flag & O_ACCMODE) != O_RDONLY && !(flag & O_APPEND))
|
/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 | tls.c | 403 int filefd = open("/proc/self/exe", O_RDONLY); 413 int filefd = open("/proc/self/exe", O_RDONLY);
|
Completed in 424 milliseconds
1234567891011>>