Lines Matching refs:rdt
653 struct ovl_readdir_translate *rdt = in ovl_fill_real() local
655 struct dir_context *orig_ctx = rdt->orig_ctx; in ovl_fill_real()
657 if (rdt->parent_ino && strcmp(name, "..") == 0) { in ovl_fill_real()
658 ino = rdt->parent_ino; in ovl_fill_real()
659 } else if (rdt->cache) { in ovl_fill_real()
662 p = ovl_cache_entry_find(&rdt->cache->root, name, namelen); in ovl_fill_real()
665 } else if (rdt->xinobits) { in ovl_fill_real()
666 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real()
667 name, namelen, rdt->xinowarn); in ovl_fill_real()
694 struct ovl_readdir_translate rdt = { in ovl_iterate_real() local
701 if (rdt.xinobits && lower_layer) in ovl_iterate_real()
702 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
714 rdt.parent_ino = stat.ino; in ovl_iterate_real()
718 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real()
719 if (IS_ERR(rdt.cache)) in ovl_iterate_real()
720 return PTR_ERR(rdt.cache); in ovl_iterate_real()
723 err = iterate_dir(od->realfile, &rdt.ctx); in ovl_iterate_real()
724 ctx->pos = rdt.ctx.pos; in ovl_iterate_real()