Lines Matching refs:next
80 struct list_head *next; in get_next_positive_subdir() local
87 next = prev->d_child.next; in get_next_positive_subdir()
90 next = prev->d_subdirs.next; in get_next_positive_subdir()
94 if (next == &root->d_subdirs) { in get_next_positive_subdir()
101 q = list_entry(next, struct dentry, d_child); in get_next_positive_subdir()
107 next = q->d_child.next; in get_next_positive_subdir()
127 struct list_head *next; in get_next_positive_dentry() local
138 next = p->d_subdirs.next; in get_next_positive_dentry()
139 if (next == &p->d_subdirs) { in get_next_positive_dentry()
157 next = p->d_child.next; in get_next_positive_dentry()
159 if (next != &parent->d_subdirs) in get_next_positive_dentry()
163 ret = list_entry(next, struct dentry, d_child); in get_next_positive_dentry()