Lines Matching defs:mnt

81 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry)  in m_hash()
100 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
117 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
132 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
151 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
163 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
177 unsigned int mnt_get_count(struct mount *mnt) in mnt_get_count()
203 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() local
274 int __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
284 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
293 static inline void mnt_dec_writers(struct mount *mnt) in mnt_dec_writers()
302 static unsigned int mnt_get_writers(struct mount *mnt) in mnt_get_writers()
318 static int mnt_is_readonly(struct vfsmount *mnt) in mnt_is_readonly()
345 struct mount *mnt = real_mount(m); in __mnt_want_write() local
406 int mnt_clone_write(struct vfsmount *mnt) in mnt_clone_write()
460 void __mnt_drop_write(struct vfsmount *mnt) in __mnt_drop_write()
475 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write()
493 static int mnt_make_readonly(struct mount *mnt) in mnt_make_readonly()
535 static void __mnt_unmake_readonly(struct mount *mnt) in __mnt_unmake_readonly()
544 struct mount *mnt; in sb_prepare_remount_readonly() local
578 static void free_vfsmnt(struct mount *mnt) in free_vfsmnt()
595 struct mount *mnt; in __legitimize_mnt() local
629 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt()
644 struct mount *__lookup_mnt_last(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt_last()
712 struct mount *mnt; in __is_local_mountpoint() local
782 static inline int check_mnt(struct mount *mnt) in check_mnt()
812 static void unhash_mnt(struct mount *mnt) in unhash_mnt()
826 static void detach_mnt(struct mount *mnt, struct path *old_path) in detach_mnt()
836 static void umount_mnt(struct mount *mnt) in umount_mnt()
846 void mnt_set_mountpoint(struct mount *mnt, in mnt_set_mountpoint()
861 static void attach_mnt(struct mount *mnt, in attach_mnt()
870 static void attach_shadowed(struct mount *mnt, in attach_shadowed()
887 static void commit_tree(struct mount *mnt, struct mount *shadows) in commit_tree()
935 struct mount *mnt; in vfs_kern_mount() local
970 struct mount *mnt; in clone_mnt() local
1050 static void cleanup_mnt(struct mount *mnt) in cleanup_mnt()
1090 static void mntput_no_expire(struct mount *mnt) in mntput_no_expire()
1136 void mntput(struct vfsmount *mnt) in mntput()
1148 struct vfsmount *mntget(struct vfsmount *mnt) in mntget()
1287 struct mount *mnt = real_mount(m); in may_umount_tree() local
1322 int may_umount(struct vfsmount *mnt) in may_umount()
1365 static bool disconnect_mount(struct mount *mnt, enum umount_tree_flags how) in disconnect_mount()
1398 static void umount_tree(struct mount *mnt, enum umount_tree_flags how) in umount_tree()
1450 static int do_umount(struct mount *mnt, int flags) in do_umount()
1557 struct mount *mnt; in __detach_mounts() local
1598 struct mount *mnt; in SYSCALL_DEFINE2() local
1672 struct mount *copy_tree(struct mount *mnt, struct dentry *dentry, in copy_tree()
1756 void drop_collected_mounts(struct vfsmount *mnt) in drop_collected_mounts()
1795 struct mount *mnt; in iterate_mounts() local
1807 static void cleanup_group_ids(struct mount *mnt, struct mount *end) in cleanup_group_ids()
1817 static int invent_group_ids(struct mount *mnt, bool recurse) in invent_group_ids()
1953 struct vfsmount *mnt; in lock_mount() local
1990 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2025 struct mount *mnt = real_mount(path->mnt); in do_change_type() local
2054 static bool has_locked_children(struct mount *mnt, struct dentry *dentry) in has_locked_children()
2074 struct mount *mnt = NULL, *old, *parent; in do_loopback() local
2133 static int change_mount_flags(struct vfsmount *mnt, int ms_flags) in change_mount_flags()
2160 struct mount *mnt = real_mount(path->mnt); in do_remount() local
2223 static inline int tree_contains_unbindable(struct mount *mnt) in tree_contains_unbindable()
2303 static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype) in fs_set_subtype()
2381 struct vfsmount *mnt; in do_new_mount() local
2426 struct mount *mnt = real_mount(m); in finish_automount() local
2459 void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list) in mnt_set_expiry()
2476 struct mount *mnt, *next; in mark_mounts_for_expiry() local
2525 struct mount *mnt = list_entry(tmp, struct mount, mnt_child); in select_submounts() local
2560 static void shrink_submounts(struct mount *mnt) in shrink_submounts()
2853 struct mount *mnt = real_mount(m); in create_mnt_ns() local
2863 struct dentry *mount_subtree(struct vfsmount *mnt, const char *name) in mount_subtree()
2932 bool is_path_reachable(struct mount *mnt, struct dentry *dentry, in is_path_reachable()
3077 struct vfsmount *mnt; in init_mount_tree() local
3155 struct vfsmount *mnt; in kern_mount_data() local
3168 void kern_unmount(struct vfsmount *mnt) in kern_unmount()
3179 bool our_mnt(struct vfsmount *mnt) in our_mnt()
3212 struct mount *mnt; in fs_fully_visible() local