Lines Matching refs:expiring
151 if (!list_empty(&ino->expiring)) in autofs4_dentry_release()
152 list_del(&ino->expiring); in autofs4_dentry_release()
230 struct dentry *expiring; in autofs4_lookup_expiring() local
238 ino = list_entry(p, struct autofs_info, expiring); in autofs4_lookup_expiring()
239 expiring = ino->dentry; in autofs4_lookup_expiring()
241 spin_lock(&expiring->d_lock); in autofs4_lookup_expiring()
244 if (!expiring->d_inode) in autofs4_lookup_expiring()
247 qstr = &expiring->d_name; in autofs4_lookup_expiring()
249 if (expiring->d_name.hash != hash) in autofs4_lookup_expiring()
251 if (expiring->d_parent != parent) in autofs4_lookup_expiring()
259 if (d_unhashed(expiring)) { in autofs4_lookup_expiring()
260 dget_dlock(expiring); in autofs4_lookup_expiring()
261 spin_unlock(&expiring->d_lock); in autofs4_lookup_expiring()
263 return expiring; in autofs4_lookup_expiring()
266 spin_unlock(&expiring->d_lock); in autofs4_lookup_expiring()
293 struct dentry *expiring; in do_expire_wait() local
295 expiring = autofs4_lookup_expiring(dentry, rcu_walk); in do_expire_wait()
296 if (IS_ERR(expiring)) in do_expire_wait()
297 return PTR_ERR(expiring); in do_expire_wait()
298 if (!expiring) in do_expire_wait()
306 autofs4_expire_wait(expiring, 0); in do_expire_wait()
307 autofs4_del_expiring(expiring); in do_expire_wait()
308 dput(expiring); in do_expire_wait()