Home
last modified time | relevance | path

Searched refs:OPEN_FMODE (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/
Dfile_table.c117 f->f_mode = OPEN_FMODE(flags); in __alloc_file()
/linux-4.19.296/fs/cifs/
Ddir.c323 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
325 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
Dfile.c1872 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { in find_readable_file()
1925 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in find_writable_file()
4029 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in is_inode_writable()
/linux-4.19.296/fs/overlayfs/
Doverlayfs.h203 return ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC)); in ovl_open_flags_need_copy_up()
Dcopy_up.c704 if (flags && ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC))) in ovl_need_meta_copy_up()
/linux-4.19.296/fs/xfs/
Dxfs_ioctl.c219 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle()
/linux-4.19.296/include/linux/
Dfs.h3407 #define OPEN_FMODE(flag) ((__force fmode_t)(((flag + 1) & O_ACCMODE) | \ macro