Lines Matching refs:how
12 unsigned long timeout, unsigned int how) in autofs_can_expire() argument
20 if (!(how & AUTOFS_EXP_IMMEDIATE)) { in autofs_can_expire()
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy() argument
52 if (how & AUTOFS_EXP_FORCED) { in autofs_mount_busy()
153 unsigned int how) in autofs_direct_busy() argument
158 if (how & AUTOFS_EXP_FORCED) in autofs_direct_busy()
172 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy()
185 unsigned int how) in autofs_tree_busy() argument
207 if (autofs_mount_busy(mnt, p, how)) { in autofs_tree_busy()
231 if (how & AUTOFS_EXP_FORCED) in autofs_tree_busy()
235 if (!autofs_can_expire(top, timeout, how)) in autofs_tree_busy()
244 unsigned int how) in autofs_check_leaves() argument
256 if (autofs_mount_busy(mnt, p, how)) in autofs_check_leaves()
262 if (how & AUTOFS_EXP_FORCED) in autofs_check_leaves()
266 if (autofs_can_expire(p, timeout, how)) in autofs_check_leaves()
277 unsigned int how) in autofs_expire_direct() argument
288 if (!autofs_direct_busy(mnt, root, timeout, how)) { in autofs_expire_direct()
299 if (!autofs_direct_busy(mnt, root, timeout, how)) { in autofs_expire_direct()
324 unsigned int how) in should_expire() argument
343 if (autofs_mount_busy(mnt, dentry, how)) in should_expire()
349 if (how & AUTOFS_EXP_FORCED) in should_expire()
353 if (autofs_can_expire(dentry, timeout, how)) in should_expire()
362 if (how & AUTOFS_EXP_FORCED) in should_expire()
369 if (autofs_can_expire(dentry, timeout, how)) in should_expire()
378 if (!(how & AUTOFS_EXP_LEAVES)) { in should_expire()
380 if (!(how & AUTOFS_EXP_FORCED)) { in should_expire()
387 if (!autofs_tree_busy(mnt, dentry, timeout, how)) in should_expire()
397 if (!(how & AUTOFS_EXP_FORCED)) { in should_expire()
404 expired = autofs_check_leaves(mnt, dentry, timeout, how); in should_expire()
423 unsigned int how) in autofs_expire_indirect() argument
447 expired = should_expire(dentry, mnt, timeout, how); in autofs_expire_indirect()
460 how &= ~AUTOFS_EXP_LEAVES; in autofs_expire_indirect()
461 found = should_expire(expired, mnt, timeout, how); in autofs_expire_indirect()
576 struct autofs_sb_info *sbi, unsigned int how) in autofs_do_expire_multi() argument
582 dentry = autofs_expire_direct(sb, mnt, sbi, how); in autofs_do_expire_multi()
584 dentry = autofs_expire_indirect(sb, mnt, sbi, how); in autofs_do_expire_multi()
614 unsigned int how = 0; in autofs_expire_multi() local
616 if (arg && get_user(how, arg)) in autofs_expire_multi()
619 return autofs_do_expire_multi(sb, mnt, sbi, how); in autofs_expire_multi()