Home
last modified time | relevance | path

Searched refs:FMODE_PREAD (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/mm/
Dmemfd.c312 file->f_mode |= FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE; in SYSCALL_DEFINE2()
/Linux-v5.15/fs/
Dopen.c818 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()
Dread_write.c674 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()
Dsplice.c1094 if (!(in->f_mode & FMODE_PREAD)) in do_splice()
/Linux-v5.15/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c1443 filp->f_mode &= ~(FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE); in pseudo_lock_dev_open()
/Linux-v5.15/drivers/vfio/
Dvfio.c1493 filep->f_mode |= (FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE); in vfio_group_get_device_fd()
/Linux-v5.15/virt/kvm/
Dkvm_main.c3727 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()
/Linux-v5.15/include/linux/
Dfs.h120 #define FMODE_PREAD ((__force fmode_t)0x8) macro
/Linux-v5.15/drivers/scsi/
Dst.c1256 filp->f_mode &= ~(FMODE_PREAD | FMODE_PWRITE); in st_open()