Lines Matching refs:mnt
29 static int autofs_mount_busy(struct vfsmount *mnt,
33 struct path path = {.mnt = mnt, .dentry = dentry};
58 if (!may_umount_tree(path.mnt)) {
150 static int autofs_direct_busy(struct vfsmount *mnt,
162 if (!may_umount_tree(mnt)) {
182 static int autofs_tree_busy(struct vfsmount *mnt,
207 if (autofs_mount_busy(mnt, p, how)) {
241 static struct dentry *autofs_check_leaves(struct vfsmount *mnt,
256 if (autofs_mount_busy(mnt, p, how))
275 struct vfsmount *mnt,
288 if (!autofs_direct_busy(mnt, root, timeout, how)) {
299 if (!autofs_direct_busy(mnt, root, timeout, how)) {
322 struct vfsmount *mnt,
343 if (autofs_mount_busy(mnt, dentry, how))
387 if (!autofs_tree_busy(mnt, dentry, timeout, how))
404 expired = autofs_check_leaves(mnt, dentry, timeout, how);
421 struct vfsmount *mnt,
447 expired = should_expire(dentry, mnt, timeout, how);
461 found = should_expire(expired, mnt, timeout, how);
537 struct vfsmount *mnt,
551 dentry = autofs_expire_indirect(sb, mnt, sbi, 0);
575 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
582 dentry = autofs_expire_direct(sb, mnt, sbi, how);
584 dentry = autofs_expire_indirect(sb, mnt, sbi, how);
588 const struct path path = { .mnt = mnt, .dentry = dentry };
611 int autofs_expire_multi(struct super_block *sb, struct vfsmount *mnt,
619 return autofs_do_expire_multi(sb, mnt, sbi, how);