Lines Matching defs:mnt
54 static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry) in hash()
68 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
85 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
100 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
119 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
131 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
145 unsigned int mnt_get_count(struct mount *mnt) in mnt_get_count()
163 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() local
232 int __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
242 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
251 static inline void mnt_dec_writers(struct mount *mnt) in mnt_dec_writers()
260 static unsigned int mnt_get_writers(struct mount *mnt) in mnt_get_writers()
276 static int mnt_is_readonly(struct vfsmount *mnt) in mnt_is_readonly()
305 struct mount *mnt = real_mount(m); in mnt_want_write() local
345 int mnt_clone_write(struct vfsmount *mnt) in mnt_clone_write()
382 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write()
396 static int mnt_make_readonly(struct mount *mnt) in mnt_make_readonly()
438 static void __mnt_unmake_readonly(struct mount *mnt) in __mnt_unmake_readonly()
447 struct mount *mnt; in sb_prepare_remount_readonly() local
481 static void free_vfsmnt(struct mount *mnt) in free_vfsmnt()
496 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry, in __lookup_mnt()
537 static inline int check_mnt(struct mount *mnt) in check_mnt()
588 static void detach_mnt(struct mount *mnt, struct path *old_path) in detach_mnt()
602 void mnt_set_mountpoint(struct mount *mnt, struct dentry *dentry, in mnt_set_mountpoint()
616 static void attach_mnt(struct mount *mnt, struct path *path) in attach_mnt()
624 static inline void __mnt_make_longterm(struct mount *mnt) in __mnt_make_longterm()
632 static inline void __mnt_make_shortterm(struct mount *mnt) in __mnt_make_shortterm()
642 static void commit_tree(struct mount *mnt) in commit_tree()
694 struct mount *mnt; in vfs_kern_mount() local
728 struct mount *mnt = alloc_vfsmnt(old->mnt_devname); in clone_mnt() local
780 static inline void mntfree(struct mount *mnt) in mntfree()
802 static void mntput_no_expire(struct mount *mnt) in mntput_no_expire()
838 void mntput(struct vfsmount *mnt) in mntput()
850 struct vfsmount *mntget(struct vfsmount *mnt) in mntget()
858 void mnt_pin(struct vfsmount *mnt) in mnt_pin()
868 struct mount *mnt = real_mount(m); in mnt_unpin() local
984 struct mount *mnt = real_mount(m); in may_umount_tree() local
1019 int may_umount(struct vfsmount *mnt) in may_umount()
1035 struct mount *mnt; in release_mounts() local
1061 void umount_tree(struct mount *mnt, int propagate, struct list_head *kill) in umount_tree()
1090 static int do_umount(struct mount *mnt, int flags) in do_umount()
1191 struct mount *mnt; in SYSCALL_DEFINE2() local
1254 struct mount *copy_tree(struct mount *mnt, struct dentry *dentry, in copy_tree()
1317 void drop_collected_mounts(struct vfsmount *mnt) in drop_collected_mounts()
1331 struct mount *mnt; in iterate_mounts() local
1343 static void cleanup_group_ids(struct mount *mnt, struct mount *end) in cleanup_group_ids()
1353 static int invent_group_ids(struct mount *mnt, bool recurse) in invent_group_ids()
1483 struct vfsmount *mnt; in lock_mount() local
1508 static int graft_tree(struct mount *mnt, struct path *path) in graft_tree()
1546 struct mount *mnt = real_mount(path->mnt); in do_change_type() local
1586 struct mount *mnt = NULL, *old; in do_loopback() local
1632 static int change_mount_flags(struct vfsmount *mnt, int ms_flags) in change_mount_flags()
1659 struct mount *mnt = real_mount(path->mnt); in do_remount() local
1694 static inline int tree_contains_unbindable(struct mount *mnt) in tree_contains_unbindable()
1774 static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype) in fs_set_subtype()
1801 struct vfsmount *mnt; in do_kern_mount() local
1854 struct vfsmount *mnt; in do_new_mount() local
1876 struct mount *mnt = real_mount(m); in finish_automount() local
1911 void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list) in mnt_set_expiry()
1930 struct mount *mnt, *next; in mark_mounts_for_expiry() local
1982 struct mount *mnt = list_entry(tmp, struct mount, mnt_child); in select_submounts() local
2017 static void shrink_submounts(struct mount *mnt, struct list_head *umounts) in shrink_submounts()
2210 void mnt_make_longterm(struct vfsmount *mnt) in mnt_make_longterm()
2218 struct mount *mnt = real_mount(m); in mnt_make_shortterm() local
2319 struct mount *mnt = real_mount(m); in create_mnt_ns() local
2330 struct dentry *mount_subtree(struct vfsmount *mnt, const char *name) in mount_subtree()
2406 bool is_path_reachable(struct mount *mnt, struct dentry *dentry, in is_path_reachable()
2537 struct vfsmount *mnt; in init_mount_tree() local
2609 struct vfsmount *mnt; in kern_mount_data() local
2622 void kern_unmount(struct vfsmount *mnt) in kern_unmount()
2632 bool our_mnt(struct vfsmount *mnt) in our_mnt()