Lines Matching refs:tdc_current
1239 dc->tdc_current = de; in tmpfs_dir_first()
1241 return (dc->tdc_current); in tmpfs_dir_first()
1250 if (tmpfs_dirent_dup(dc->tdc_current)) { in tmpfs_dir_next()
1251 dc->tdc_current = LIST_NEXT(dc->tdc_current, uh.td_dup.entries); in tmpfs_dir_next()
1252 if (dc->tdc_current != NULL) in tmpfs_dir_next()
1253 return (dc->tdc_current); in tmpfs_dir_next()
1255 dc->tdc_tree = dc->tdc_current = RB_NEXT(tmpfs_dir, in tmpfs_dir_next()
1257 if ((de = dc->tdc_current) != NULL && tmpfs_dirent_duphead(de)) { in tmpfs_dir_next()
1258 dc->tdc_current = LIST_FIRST(&de->ud.td_duphead); in tmpfs_dir_next()
1259 MPASS(dc->tdc_current != NULL); in tmpfs_dir_next()
1262 return (dc->tdc_current); in tmpfs_dir_next()
1318 dc->tdc_current = de; in tmpfs_dir_lookup_cookie()
1320 dc->tdc_current = LIST_FIRST(&de->ud.td_duphead); in tmpfs_dir_lookup_cookie()
1321 MPASS(dc->tdc_current != NULL); in tmpfs_dir_lookup_cookie()
1323 return (dc->tdc_current); in tmpfs_dir_lookup_cookie()
1327 dc->tdc_current = de; in tmpfs_dir_lookup_cookie()
1331 return (dc->tdc_current); in tmpfs_dir_lookup_cookie()