Lines Matching refs:next
350 struct list_head *head, *next, *tmp; in __d_find_alias() local
354 next = inode->i_dentry.next; in __d_find_alias()
355 while (next != head) { in __d_find_alias()
356 tmp = next; in __d_find_alias()
357 next = tmp->next; in __d_find_alias()
358 prefetch(next); in __d_find_alias()
648 dentry = list_entry(dentry->d_subdirs.next, in shrink_dcache_for_umount_subtree()
704 dentry = list_entry(dentry->d_subdirs.next, in shrink_dcache_for_umount_subtree()
760 struct list_head *next; in have_submounts() local
766 next = this_parent->d_subdirs.next; in have_submounts()
768 while (next != &this_parent->d_subdirs) { in have_submounts()
769 struct list_head *tmp = next; in have_submounts()
771 next = tmp->next; in have_submounts()
784 next = this_parent->d_u.d_child.next; in have_submounts()
812 struct list_head *next; in select_parent() local
817 next = this_parent->d_subdirs.next; in select_parent()
819 while (next != &this_parent->d_subdirs) { in select_parent()
820 struct list_head *tmp = next; in select_parent()
822 next = tmp->next; in select_parent()
854 next = this_parent->d_u.d_child.next; in select_parent()
1309 new = list_entry(inode->i_dentry.next, struct dentry, d_alias); in d_add_ci()
1399 goto next; in __d_lookup()
1403 goto next; in __d_lookup()
1412 goto next; in __d_lookup()
1415 goto next; in __d_lookup()
1417 goto next; in __d_lookup()
1424 next: in __d_lookup()
2189 struct list_head *next; in d_genocide() local
2193 next = this_parent->d_subdirs.next; in d_genocide()
2195 while (next != &this_parent->d_subdirs) { in d_genocide()
2196 struct list_head *tmp = next; in d_genocide()
2198 next = tmp->next; in d_genocide()
2208 next = this_parent->d_u.d_child.next; in d_genocide()