Searched refs:mnt_flags (Results 1 – 12 of 12) sorted by relevance
13 #define IS_MNT_SHARED(m) ((m)->mnt.mnt_flags & MNT_SHARED)16 #define CLEAR_MNT_SHARED(m) ((m)->mnt.mnt_flags &= ~MNT_SHARED)17 #define IS_MNT_UNBINDABLE(m) ((m)->mnt.mnt_flags & MNT_UNBINDABLE)18 #define IS_MNT_MARKED(m) ((m)->mnt.mnt_flags & MNT_MARKED)19 #define SET_MNT_MARK(m) ((m)->mnt.mnt_flags |= MNT_MARKED)20 #define CLEAR_MNT_MARK(m) ((m)->mnt.mnt_flags &= ~MNT_MARKED)21 #define IS_MNT_LOCKED(m) ((m)->mnt.mnt_flags & MNT_LOCKED)35 mnt->mnt.mnt_flags &= ~MNT_SHARED_MASK; in set_mnt_shared()36 mnt->mnt.mnt_flags |= MNT_SHARED; in set_mnt_shared()
249 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()325 while (READ_ONCE(mnt->mnt.mnt_flags) & MNT_WRITE_HOLD) in __mnt_want_write()468 mnt->mnt.mnt_flags |= MNT_WRITE_HOLD; in mnt_make_readonly()494 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()500 mnt->mnt.mnt_flags &= ~MNT_WRITE_HOLD; in mnt_make_readonly()508 mnt->mnt.mnt_flags &= ~MNT_READONLY; in __mnt_unmake_readonly()524 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()525 mnt->mnt.mnt_flags |= MNT_WRITE_HOLD; in sb_prepare_remount_readonly()541 if (mnt->mnt.mnt_flags & MNT_WRITE_HOLD) in sb_prepare_remount_readonly()542 mnt->mnt.mnt_flags &= ~MNT_WRITE_HOLD; in sb_prepare_remount_readonly()[all …]
14 static int flags_by_mnt(int mnt_flags) in flags_by_mnt() argument18 if (mnt_flags & MNT_READONLY) in flags_by_mnt()20 if (mnt_flags & MNT_NOSUID) in flags_by_mnt()22 if (mnt_flags & MNT_NODEV) in flags_by_mnt()24 if (mnt_flags & MNT_NOEXEC) in flags_by_mnt()26 if (mnt_flags & MNT_NOATIME) in flags_by_mnt()28 if (mnt_flags & MNT_NODIRATIME) in flags_by_mnt()30 if (mnt_flags & MNT_RELATIME) in flags_by_mnt()49 return ST_VALID | flags_by_mnt(mnt->mnt_flags) | in calculate_f_flags()
133 mnt->mnt.mnt_flags |= MNT_UNBINDABLE; in change_mnt_propagation()135 mnt->mnt.mnt_flags &= ~MNT_UNBINDABLE; in change_mnt_propagation()424 child->mnt.mnt_flags &= ~MNT_LOCKED; in propagate_mount_unlock()431 mnt->mnt.mnt_flags |= MNT_UMOUNT; in umount_one()452 if (mnt->mnt.mnt_flags & (MNT_UMOUNT | MNT_MARKED)) in __propagate_umount()511 while (parent->mnt.mnt_flags & MNT_UMOUNT) { in restore_mounts()575 } else if (child->mnt.mnt_flags & MNT_UMOUNT) { in propagate_umount()
78 if (mnt->mnt_flags & fs_infop->flag) in show_mnt_opts()157 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
103 return m && likely(!(m->mnt.mnt_flags & MNT_SYNC_UMOUNT)); in __path_is_mountpoint()
1630 if (!(mnt->mnt_flags & MNT_RELATIME)) in relatime_need_update()1721 if (mnt->mnt_flags & MNT_NOATIME) in atime_needs_update()1723 if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) in atime_needs_update()
110 return (path->mnt->mnt_flags & MNT_NOEXEC) || in path_noexec()
3049 return !(path->mnt->mnt_flags & MNT_NODEV) && in may_open_dev()
232 if ((vfsmnt->mnt_flags & MNT_NOATIME) || in ocfs2_should_update_atime()233 ((vfsmnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode))) in ocfs2_should_update_atime()236 if (vfsmnt->mnt_flags & MNT_RELATIME) { in ocfs2_should_update_atime()
1083 upper_mnt->mnt_flags &= ~(MNT_NOATIME | MNT_NODIRATIME | MNT_RELATIME); in ovl_get_upper()1392 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_lower_layers()
810 if ((path->mnt->mnt_flags & MNT_NOATIME) || in nfs_getattr()811 ((path->mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode))) in nfs_getattr()