Lines Matching refs:rdt
675 struct ovl_readdir_translate *rdt = in ovl_fill_real() local
677 struct dir_context *orig_ctx = rdt->orig_ctx; in ovl_fill_real()
680 if (rdt->parent_ino && strcmp(name, "..") == 0) { in ovl_fill_real()
681 ino = rdt->parent_ino; in ovl_fill_real()
682 } else if (rdt->cache) { in ovl_fill_real()
685 p = ovl_cache_entry_find(&rdt->cache->root, name, namelen); in ovl_fill_real()
688 } else if (rdt->xinobits) { in ovl_fill_real()
689 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real()
690 name, namelen, rdt->xinowarn); in ovl_fill_real()
721 struct ovl_readdir_translate rdt = { in ovl_iterate_real() local
729 if (rdt.xinobits && lower_layer) in ovl_iterate_real()
730 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
742 rdt.parent_ino = stat.ino; in ovl_iterate_real()
746 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real()
747 if (IS_ERR(rdt.cache)) in ovl_iterate_real()
748 return PTR_ERR(rdt.cache); in ovl_iterate_real()
751 err = iterate_dir(od->realfile, &rdt.ctx); in ovl_iterate_real()
752 ctx->pos = rdt.ctx.pos; in ovl_iterate_real()