Lines Matching refs:mnt
48 static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) in autofs4_mount_busy() argument
56 mntget(mnt); in autofs4_mount_busy()
59 if (!follow_down(&mnt, &dentry)) in autofs4_mount_busy()
78 if (!may_umount_tree(mnt)) { in autofs4_mount_busy()
88 mntput(mnt); in autofs4_mount_busy()
119 static int autofs4_direct_busy(struct vfsmount *mnt, in autofs4_direct_busy() argument
128 if (!may_umount_tree(mnt)) { in autofs4_direct_busy()
145 static int autofs4_tree_busy(struct vfsmount *mnt, in autofs4_tree_busy() argument
179 if (autofs4_mount_busy(mnt, p)) { in autofs4_tree_busy()
218 static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, in autofs4_check_leaves() argument
242 if (autofs4_mount_busy(mnt, p)) in autofs4_check_leaves()
259 struct vfsmount *mnt, in autofs4_expire_direct() argument
274 if (!autofs4_direct_busy(mnt, root, timeout, do_now)) { in autofs4_expire_direct()
298 struct vfsmount *mnt, in autofs4_expire_indirect() argument
353 if (autofs4_mount_busy(mnt, dentry)) in autofs4_expire_indirect()
374 if (!autofs4_tree_busy(mnt, dentry, timeout, do_now)) { in autofs4_expire_indirect()
388 expired = autofs4_check_leaves(mnt, dentry, timeout, do_now); in autofs4_expire_indirect()
447 struct vfsmount *mnt, in autofs4_expire_run() argument
461 if ((dentry = autofs4_expire_indirect(sb, mnt, sbi, 0)) == NULL) in autofs4_expire_run()
483 int autofs4_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs4_expire_multi() argument
494 dentry = autofs4_expire_direct(sb, mnt, sbi, do_now); in autofs4_expire_multi()
496 dentry = autofs4_expire_indirect(sb, mnt, sbi, do_now); in autofs4_expire_multi()