Lines Matching refs:active
81 if (list_empty(&ino->active)) in autofs4_add_active()
82 list_add(&ino->active, &sbi->active_list); in autofs4_add_active()
98 if (!list_empty(&ino->active)) in autofs4_del_active()
99 list_del_init(&ino->active); in autofs4_del_active()
148 if (!list_empty(&ino->active)) in autofs4_dentry_release()
149 list_del(&ino->active); in autofs4_dentry_release()
174 struct dentry *active; in autofs4_lookup_active() local
177 ino = list_entry(p, struct autofs_info, active); in autofs4_lookup_active()
178 active = ino->dentry; in autofs4_lookup_active()
180 spin_lock(&active->d_lock); in autofs4_lookup_active()
183 if ((int) d_count(active) <= 0) in autofs4_lookup_active()
186 qstr = &active->d_name; in autofs4_lookup_active()
188 if (active->d_name.hash != hash) in autofs4_lookup_active()
190 if (active->d_parent != parent) in autofs4_lookup_active()
198 if (d_unhashed(active)) { in autofs4_lookup_active()
199 dget_dlock(active); in autofs4_lookup_active()
200 spin_unlock(&active->d_lock); in autofs4_lookup_active()
202 return active; in autofs4_lookup_active()
205 spin_unlock(&active->d_lock); in autofs4_lookup_active()
501 struct dentry *active; in autofs4_lookup() local
515 active = autofs4_lookup_active(dentry); in autofs4_lookup()
516 if (active) { in autofs4_lookup()
517 return active; in autofs4_lookup()