Lines Matching refs:active
74 list_del_init(&ino->active); in autofs_del_active()
121 if (!list_empty(&ino->active)) in autofs_dentry_release()
122 list_del(&ino->active); in autofs_dentry_release()
147 struct dentry *active; in autofs_lookup_active() local
150 ino = list_entry(p, struct autofs_info, active); in autofs_lookup_active()
151 active = ino->dentry; in autofs_lookup_active()
153 spin_lock(&active->d_lock); in autofs_lookup_active()
156 if ((int) d_count(active) <= 0) in autofs_lookup_active()
159 qstr = &active->d_name; in autofs_lookup_active()
161 if (active->d_name.hash != hash) in autofs_lookup_active()
163 if (active->d_parent != parent) in autofs_lookup_active()
171 if (d_unhashed(active)) { in autofs_lookup_active()
172 dget_dlock(active); in autofs_lookup_active()
173 spin_unlock(&active->d_lock); in autofs_lookup_active()
175 return active; in autofs_lookup_active()
178 spin_unlock(&active->d_lock); in autofs_lookup_active()
498 struct dentry *active; in autofs_lookup() local
513 active = autofs_lookup_active(dentry); in autofs_lookup()
514 if (active) in autofs_lookup()
515 return active; in autofs_lookup()
539 list_add(&ino->active, &sbi->active_list); in autofs_lookup()