Searched refs:OPEN_FMODE (Results 1 – 7 of 7) sorted by relevance
117 f->f_mode = OPEN_FMODE(flags); in __alloc_file()
323 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()325 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
1872 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()
203 return ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC)); in ovl_open_flags_need_copy_up()
704 if (flags && ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC))) in ovl_need_meta_copy_up()
219 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle()
3407 #define OPEN_FMODE(flag) ((__force fmode_t)(((flag + 1) & O_ACCMODE) | \ macro