Lines Matching refs:expiring
123 if (!list_empty(&ino->expiring)) in autofs_dentry_release()
124 list_del(&ino->expiring); in autofs_dentry_release()
202 struct dentry *expiring; in autofs_lookup_expiring() local
210 ino = list_entry(p, struct autofs_info, expiring); in autofs_lookup_expiring()
211 expiring = ino->dentry; in autofs_lookup_expiring()
213 spin_lock(&expiring->d_lock); in autofs_lookup_expiring()
216 if (d_really_is_negative(expiring)) in autofs_lookup_expiring()
219 qstr = &expiring->d_name; in autofs_lookup_expiring()
221 if (expiring->d_name.hash != hash) in autofs_lookup_expiring()
223 if (expiring->d_parent != parent) in autofs_lookup_expiring()
231 if (d_unhashed(expiring)) { in autofs_lookup_expiring()
232 dget_dlock(expiring); in autofs_lookup_expiring()
233 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
235 return expiring; in autofs_lookup_expiring()
238 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
268 struct dentry *expiring; in do_expire_wait() local
270 expiring = autofs_lookup_expiring(dentry, rcu_walk); in do_expire_wait()
271 if (IS_ERR(expiring)) in do_expire_wait()
272 return PTR_ERR(expiring); in do_expire_wait()
273 if (!expiring) in do_expire_wait()
276 const struct path this = { .mnt = path->mnt, .dentry = expiring }; in do_expire_wait()
283 autofs_del_expiring(expiring); in do_expire_wait()
284 dput(expiring); in do_expire_wait()