Lines Matching refs:root
77 struct dentry *root) in get_next_positive_subdir() argument
79 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in get_next_positive_subdir()
84 spin_lock(&root->d_lock); in get_next_positive_subdir()
89 prev = dget_dlock(root); in get_next_positive_subdir()
94 if (next == &root->d_subdirs) { in get_next_positive_subdir()
95 spin_unlock(&root->d_lock); in get_next_positive_subdir()
112 spin_unlock(&root->d_lock); in get_next_positive_subdir()
124 struct dentry *root) in get_next_positive_dentry() argument
126 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in get_next_positive_dentry()
131 return dget(root); in get_next_positive_dentry()
143 if (p == root) { in get_next_positive_dentry()
302 struct dentry *root = dget(sb->s_root); in autofs4_expire_direct() local
306 if (!root) in autofs4_expire_direct()
313 ino = autofs4_dentry_ino(root); in autofs4_expire_direct()
317 if (!autofs4_direct_busy(mnt, root, timeout, do_now)) { in autofs4_expire_direct()
322 if (!autofs4_direct_busy(mnt, root, timeout, do_now)) { in autofs4_expire_direct()
328 return root; in autofs4_expire_direct()
334 dput(root); in autofs4_expire_direct()
432 struct dentry *root = sb->s_root; in autofs4_expire_indirect() local
437 if (!root) in autofs4_expire_indirect()
444 while ((dentry = get_next_positive_subdir(dentry, root))) { in autofs4_expire_indirect()