Lines Matching refs:tdc_current
1236 dc->tdc_current = de; in tmpfs_dir_first()
1238 return (dc->tdc_current); in tmpfs_dir_first()
1247 if (tmpfs_dirent_dup(dc->tdc_current)) { in tmpfs_dir_next()
1248 dc->tdc_current = LIST_NEXT(dc->tdc_current, uh.td_dup.entries); in tmpfs_dir_next()
1249 if (dc->tdc_current != NULL) in tmpfs_dir_next()
1250 return (dc->tdc_current); in tmpfs_dir_next()
1252 dc->tdc_tree = dc->tdc_current = RB_NEXT(tmpfs_dir, in tmpfs_dir_next()
1254 if ((de = dc->tdc_current) != NULL && tmpfs_dirent_duphead(de)) { in tmpfs_dir_next()
1255 dc->tdc_current = LIST_FIRST(&de->ud.td_duphead); in tmpfs_dir_next()
1256 MPASS(dc->tdc_current != NULL); in tmpfs_dir_next()
1259 return (dc->tdc_current); in tmpfs_dir_next()
1315 dc->tdc_current = de; in tmpfs_dir_lookup_cookie()
1317 dc->tdc_current = LIST_FIRST(&de->ud.td_duphead); in tmpfs_dir_lookup_cookie()
1318 MPASS(dc->tdc_current != NULL); in tmpfs_dir_lookup_cookie()
1320 return (dc->tdc_current); in tmpfs_dir_lookup_cookie()
1324 dc->tdc_current = de; in tmpfs_dir_lookup_cookie()
1328 return (dc->tdc_current); in tmpfs_dir_lookup_cookie()