Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Ddir.c275 if (OPEN_FMODE(oflags) & FMODE_READ)
277 if (OPEN_FMODE(oflags) & FMODE_WRITE)
Dfile.c2229 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { in find_readable_file()
2291 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in cifs_get_writable_file()
3149 if ((OPEN_FMODE(smbfile->f_flags) & FMODE_WRITE) == 0) { in cifs_strict_fsync()
3194 if ((OPEN_FMODE(smbfile->f_flags) & FMODE_WRITE) == 0) { in cifs_fsync()
4725 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in is_inode_writable()
/linux-6.6.21/fs/
Dfile_table.c172 f->f_mode = OPEN_FMODE(flags); in init_file()
/linux-6.6.21/fs/overlayfs/
Doverlayfs.h397 return ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC)); in ovl_open_flags_need_copy_up()
Dcopy_up.c944 if (flags && ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC))) in ovl_need_meta_copy_up()
/linux-6.6.21/fs/xfs/
Dxfs_ioctl.c219 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle()
/linux-6.6.21/include/linux/
Dfs.h3361 #define OPEN_FMODE(flag) ((__force fmode_t)(((flag + 1) & O_ACCMODE) | \ macro
/linux-6.6.21/kernel/bpf/
Dsyscall.c952 ret = security_bpf_map(map, OPEN_FMODE(flags)); in bpf_map_new_fd()