Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Ddir.c322 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
324 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
Dfile.c1868 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { in find_readable_file()
1927 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in cifs_get_writable_file()
4477 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in is_inode_writable()
/Linux-v5.4/fs/
Dfile_table.c118 f->f_mode = OPEN_FMODE(flags); in __alloc_file()
/Linux-v5.4/fs/overlayfs/
Doverlayfs.h200 return ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC)); in ovl_open_flags_need_copy_up()
Dcopy_up.c731 if (flags && ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC))) in ovl_need_meta_copy_up()
/Linux-v5.4/fs/xfs/
Dxfs_ioctl.c213 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle()
/Linux-v5.4/kernel/bpf/
Dsyscall.c443 ret = security_bpf_map(map, OPEN_FMODE(flags)); in bpf_map_new_fd()
/Linux-v5.4/include/linux/
Dfs.h3511 #define OPEN_FMODE(flag) ((__force fmode_t)(((flag + 1) & O_ACCMODE) | \ macro