Searched refs:O_RDWR (Results 1 - 25 of 266) sorted by last modified time
1234567891011
/linux-master/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 307 *fd = open(testfile, O_CREAT | O_RDWR, 0664); 329 *fd = open(testfile, O_RDWR);
|
H A D | protection_keys.c | 60 int fd = open(file, O_RDWR); 826 fd = open("/dax/foo", O_RDWR);
|
H A D | uffd-unit-tests.c | 279 args->gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR);
|
/linux-master/fs/ntfs3/ |
H A D | file.c | 1148 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
|
/linux-master/fs/9p/ |
H A D | vfs_inode.c | 176 case O_RDWR: 760 "write-only file with writeback enabled, creating w/ O_RDWR\n");
|
/linux-master/block/ |
H A D | bdev.c | 941 * It can also happen if a block device is opened as O_RDWR | O_WRONLY. 949 flags |= O_RDWR; 951 flags |= O_RDWR | O_WRONLY;
|
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 4207 return anon_inode_getfd(name, &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC); 4817 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC); 5465 file = anon_inode_getfile("kvm-vm", &kvm_vm_fops, kvm, O_RDWR);
|
/linux-master/fs/smb/server/ |
H A D | smb2pdu.c | 2059 oflags |= O_RDWR;
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 31 fd_flags |= O_RDWR;
|
H A D | fs.c | 1100 if (file->f_flags & (O_WRONLY|O_RDWR)) {
|
/linux-master/mm/ |
H A D | shmem.c | 4861 res = alloc_file_pseudo(inode, mnt, name, O_RDWR,
|
/linux-master/kernel/ |
H A D | fork.c | 2029 pidfd_file = pidfs_alloc_file(pid, flags | O_RDWR);
|
/linux-master/init/ |
H A D | main.c | 1513 struct file *file = filp_open("/dev/console", O_RDWR, 0);
|
/linux-master/io_uring/ |
H A D | io_uring.c | 3815 fd = get_unused_fd_flags(O_RDWR | O_CLOEXEC); 3831 O_RDWR | O_CLOEXEC, NULL);
|
/linux-master/tools/hv/ |
H A D | hv_kvp_daemon.c | 261 fd = open(fname, O_RDWR | O_CREAT | O_CLOEXEC, 0644 /* rw-r--r-- */); 1728 kvp_fd = open("/dev/vmbus/hv_kvp", O_RDWR | O_CLOEXEC);
|
/linux-master/drivers/scsi/ |
H A D | sg.c | 930 read_only = (O_RDWR != (filp->f_flags & O_ACCMODE));
|
H A D | st.c | 1209 (st_flags & O_ACCMODE) == O_RDWR)) {
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 1021 return O_RDWR; 2394 O_RDWR | O_CLOEXEC);
|
/linux-master/fs/smb/client/ |
H A D | file.c | 215 else if ((flags & O_ACCMODE) == O_RDWR) { 236 else if ((flags & O_ACCMODE) == O_RDWR)
|
H A D | dir.c | 560 unsigned oflags = O_EXCL | O_CREAT | O_RDWR;
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 508 return O_RDWR; 613 ret = nfsd_file_get(f->fi_fds[O_RDWR]); 638 ret = nfsd_file_get(f->fi_fds[O_RDWR]); 660 ret = nfsd_file_get(f->fi_fds[O_RDWR]); 674 ret = nfsd_file_get(f->fi_fds[O_RDWR]); 688 if (f->fi_fds[O_RDWR]) 689 return f->fi_fds[O_RDWR]; 840 swap(f2, fp->fi_fds[O_RDWR]); 5661 if (fp->fi_fds[O_RDWR]) 5764 * operations as well, so we require a O_RDWR fil [all...] |
/linux-master/fs/ |
H A D | aio.c | 272 O_RDWR, &aio_ring_fops);
|
H A D | namei.c | 3554 if (open_flag & (O_CREAT | O_TRUNC | O_WRONLY | O_RDWR)) {
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 91 case O_RDWR:
|
/linux-master/tools/testing/selftests/net/ |
H A D | tls.c | 1369 fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600);
|
Completed in 516 milliseconds
1234567891011