Lines Matching refs:ino
70 struct autofs_info *ino; in autofs_del_active() local
72 ino = autofs_dentry_ino(dentry); in autofs_del_active()
74 list_del_init(&ino->active); in autofs_del_active()
82 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_dir_open() local
99 if (!path_is_mountpoint(&file->f_path) && autofs_empty(ino)) { in autofs_dir_open()
111 struct autofs_info *ino = autofs_dentry_ino(de); in autofs_dentry_release() local
116 if (!ino) in autofs_dentry_release()
121 if (!list_empty(&ino->active)) in autofs_dentry_release()
122 list_del(&ino->active); in autofs_dentry_release()
123 if (!list_empty(&ino->expiring)) in autofs_dentry_release()
124 list_del(&ino->expiring); in autofs_dentry_release()
128 autofs_free_ino(ino); in autofs_dentry_release()
146 struct autofs_info *ino; 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()
201 struct autofs_info *ino; 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()
248 struct autofs_info *ino = autofs_dentry_ino(path->dentry); in autofs_mount_wait() local
251 if (ino->flags & AUTOFS_INF_PENDING) { in autofs_mount_wait()
257 ino->last_used = jiffies; in autofs_mount_wait()
261 ino->last_used = jiffies; in autofs_mount_wait()
317 struct autofs_info *ino; in autofs_mountpoint_changed() local
323 ino = autofs_dentry_ino(new); in autofs_mountpoint_changed()
324 ino->last_used = jiffies; in autofs_mountpoint_changed()
335 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_d_automount() local
358 if (ino->flags & AUTOFS_INF_PENDING) { in autofs_d_automount()
394 if (!autofs_empty(ino)) { in autofs_d_automount()
399 ino->flags |= AUTOFS_INF_PENDING; in autofs_d_automount()
403 ino->flags &= ~AUTOFS_INF_PENDING; in autofs_d_automount()
423 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_d_manage() local
456 if (ino->flags & AUTOFS_INF_WANT_EXPIRE) in autofs_d_manage()
463 if (!autofs_empty(ino)) in autofs_d_manage()
476 if (!(ino->flags & AUTOFS_INF_EXPIRING)) { in autofs_d_manage()
483 if ((!path_is_mountpoint(path) && !autofs_empty(ino)) || in autofs_d_manage()
497 struct autofs_info *ino; in autofs_lookup() local
526 ino = autofs_new_ino(sbi); in autofs_lookup()
527 if (!ino) in autofs_lookup()
536 dentry->d_fsdata = ino; in autofs_lookup()
537 ino->dentry = dentry; in autofs_lookup()
539 list_add(&ino->active, &sbi->active_list); in autofs_lookup()
570 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_dir_symlink() local
578 BUG_ON(!ino); in autofs_dir_symlink()
580 autofs_clean_ino(ino); in autofs_dir_symlink()
626 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_dir_unlink() local
631 dput(ino->dentry); in autofs_dir_unlink()
695 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_dir_rmdir() local
700 if (ino->count != 1) in autofs_dir_rmdir()
713 dput(ino->dentry); in autofs_dir_rmdir()
728 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_dir_mkdir() local
734 BUG_ON(!ino); in autofs_dir_mkdir()
736 autofs_clean_ino(ino); in autofs_dir_mkdir()