Lines Matching refs:mount
12 struct mount * root;
44 struct mount { struct
46 struct mount *mnt_parent; argument
62 struct mount *mnt_next_for_sb; /* the next two fields are hlist_node, */ argument
63 struct mount * __aligned(1) *mnt_pprev_for_sb;
72 struct mount *mnt_master; /* slave is on master->mnt_slave_list */ argument
92 struct mount *overmount; /* mounted on ->mnt_root */ argument
113 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
115 return container_of(mnt, struct mount, mnt); in real_mount()
118 static inline int mnt_has_parent(const struct mount *mnt) in mnt_has_parent()
129 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
135 struct mount *m = __lookup_mnt(path->mnt, path->dentry); in __path_is_mountpoint()
182 static inline bool anon_ns_root(const struct mount *m) in anon_ns_root()
189 static inline bool mnt_ns_attached(const struct mount *mnt) in mnt_ns_attached()
199 static inline void move_from_ns(struct mount *mnt) in move_from_ns()
211 bool has_locked_children(struct mount *mnt, struct dentry *dentry);
221 static inline void mnt_notify_add(struct mount *m) in mnt_notify_add()
231 static inline void mnt_notify_add(struct mount *m) in mnt_notify_add()
236 static inline struct mount *topmost_overmount(struct mount *m) in topmost_overmount()
243 static inline bool __test_write_hold(struct mount * __aligned(1) *val)
248 static inline bool test_write_hold(const struct mount *m) in test_write_hold()
253 static inline void set_write_hold(struct mount *m) in set_write_hold()
259 static inline void clear_write_hold(struct mount *m) in clear_write_hold()