Searched refs:OPEN_FMODE (Results 1 – 8 of 8) sorted by relevance
320 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()322 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
1940 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { in find_readable_file()2002 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in cifs_get_writable_file()2626 if ((OPEN_FMODE(smbfile->f_flags) & FMODE_WRITE) == 0) { in cifs_strict_fsync()2671 if ((OPEN_FMODE(smbfile->f_flags) & FMODE_WRITE) == 0) { in cifs_fsync()4603 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { in is_inode_writable()
118 f->f_mode = OPEN_FMODE(flags); in __alloc_file()
246 return ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC)); in ovl_open_flags_need_copy_up()
784 if (flags && ((OPEN_FMODE(flags) & FMODE_WRITE) || (flags & O_TRUNC))) in ovl_need_meta_copy_up()
217 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle()
3394 #define OPEN_FMODE(flag) ((__force fmode_t)(((flag + 1) & O_ACCMODE) | \ macro
698 ret = security_bpf_map(map, OPEN_FMODE(flags)); in bpf_map_new_fd()