Lines Matching refs:tdc_current
1124 dc->tdc_current = de; in tmpfs_dir_first()
1126 return (dc->tdc_current); in tmpfs_dir_first()
1135 if (tmpfs_dirent_dup(dc->tdc_current)) { in tmpfs_dir_next()
1136 dc->tdc_current = LIST_NEXT(dc->tdc_current, uh.td_dup.entries); in tmpfs_dir_next()
1137 if (dc->tdc_current != NULL) in tmpfs_dir_next()
1138 return (dc->tdc_current); in tmpfs_dir_next()
1140 dc->tdc_tree = dc->tdc_current = RB_NEXT(tmpfs_dir, in tmpfs_dir_next()
1142 if ((de = dc->tdc_current) != NULL && tmpfs_dirent_duphead(de)) { in tmpfs_dir_next()
1143 dc->tdc_current = LIST_FIRST(&de->ud.td_duphead); in tmpfs_dir_next()
1144 MPASS(dc->tdc_current != NULL); in tmpfs_dir_next()
1147 return (dc->tdc_current); in tmpfs_dir_next()
1203 dc->tdc_current = de; in tmpfs_dir_lookup_cookie()
1205 dc->tdc_current = LIST_FIRST(&de->ud.td_duphead); in tmpfs_dir_lookup_cookie()
1206 MPASS(dc->tdc_current != NULL); in tmpfs_dir_lookup_cookie()
1208 return (dc->tdc_current); in tmpfs_dir_lookup_cookie()
1212 dc->tdc_current = de; in tmpfs_dir_lookup_cookie()
1216 return (dc->tdc_current); in tmpfs_dir_lookup_cookie()