Searched refs:FMODE_PREAD (Results 1 – 9 of 9) sorted by relevance
312 file->f_mode |= FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE; in SYSCALL_DEFINE2()
818 f->f_mode |= FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE; in do_dentry_open()1392 filp->f_mode &= ~(FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE); in nonseekable_open()1410 filp->f_mode &= ~(FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE | FMODE_ATOMIC_POS); in stream_open()
674 if (f.file->f_mode & FMODE_PREAD) in ksys_pread64()1001 if (f.file->f_mode & FMODE_PREAD) in do_preadv()1200 if (!(in.file->f_mode & FMODE_PREAD)) in do_sendfile()
1094 if (!(in->f_mode & FMODE_PREAD)) in do_splice()
1443 filp->f_mode &= ~(FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE); in pseudo_lock_dev_open()
1493 filep->f_mode |= (FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE); in vfio_group_get_device_fd()
3727 file->f_mode |= FMODE_PREAD; in kvm_vcpu_ioctl_get_stats_fd()4327 file->f_mode |= FMODE_PREAD; in kvm_vm_ioctl_get_stats_fd()
120 #define FMODE_PREAD ((__force fmode_t)0x8) macro
1256 filp->f_mode &= ~(FMODE_PREAD | FMODE_PWRITE); in st_open()