Lines Matching refs:active
70 list_del_init(&ino->active); in autofs_del_active()
116 if (!list_empty(&ino->active)) in autofs_dentry_release()
117 list_del(&ino->active); in autofs_dentry_release()
142 struct dentry *active; in autofs_lookup_active() local
145 ino = list_entry(p, struct autofs_info, active); in autofs_lookup_active()
146 active = ino->dentry; in autofs_lookup_active()
148 spin_lock(&active->d_lock); in autofs_lookup_active()
151 if ((int) d_count(active) <= 0) in autofs_lookup_active()
154 qstr = &active->d_name; in autofs_lookup_active()
156 if (active->d_name.hash != hash) in autofs_lookup_active()
158 if (active->d_parent != parent) in autofs_lookup_active()
166 if (d_unhashed(active)) { in autofs_lookup_active()
167 dget_dlock(active); in autofs_lookup_active()
168 spin_unlock(&active->d_lock); in autofs_lookup_active()
170 return active; in autofs_lookup_active()
173 spin_unlock(&active->d_lock); in autofs_lookup_active()
479 struct dentry *active; in autofs_lookup() local
494 active = autofs_lookup_active(dentry); in autofs_lookup()
495 if (active) in autofs_lookup()
496 return active; in autofs_lookup()
520 list_add(&ino->active, &sbi->active_list); in autofs_lookup()