Lines Matching defs:index
60 * /a/b. After copy up (and index) of /a/b, it will become "layer 2 connected"
276 * Find or instantiate an overlay dentry from real dentries and index.
281 struct dentry *index)
284 struct dentry *upper = upper_alias ?: index;
290 .index = index,
360 * index for lookup.
430 struct dentry *index = NULL;
435 * Decoding upper dir from index is expensive, so first try to lookup
447 * For decoded lower dir file handle, lookup index by origin to check
451 index = ovl_lookup_index(ofs, NULL, real, false);
452 if (IS_ERR(index))
453 return index;
456 /* Get connected upper overlay dir from index */
457 if (index) {
458 struct dentry *upper = ovl_index_upper(ofs, index);
460 dput(index);
507 * cache or in index by real inode.
541 * path the real dentry. Otherwise, we need to consult index for lookup.
643 * Get an overlay dentry from upper/lower real dentries and index.
648 struct dentry *index)
652 struct dentry *real = upper ?: (index ?: lowerpath->dentry);
656 * and index.
659 return ovl_obtain_alias(sb, upper, lowerpath, index);
699 struct dentry *index = NULL;
724 index = ovl_get_index_fh(ofs, fh);
725 err = PTR_ERR(index);
726 if (IS_ERR(index)) {
727 index = NULL;
732 /* Then try to get a connected upper dir by index */
733 if (index && d_is_dir(index)) {
734 struct dentry *upper = ovl_index_upper(ofs, index);
753 if (index) {
754 err = ovl_verify_origin(ofs, index, origin.dentry, false);
760 dentry = ovl_get_dentry(sb, NULL, &origin, index);
764 dput(index);