Lines Matching refs:index
292 struct dentry *index) in ovl_obtain_alias() argument
295 struct dentry *upper = upper_alias ?: index; in ovl_obtain_alias()
301 .index = index, in ovl_obtain_alias()
437 struct dentry *index = NULL; in ovl_lookup_real_inode() local
458 index = ovl_lookup_index(ofs, NULL, real, false); in ovl_lookup_real_inode()
459 if (IS_ERR(index)) in ovl_lookup_real_inode()
460 return index; in ovl_lookup_real_inode()
464 if (index) { in ovl_lookup_real_inode()
465 struct dentry *upper = ovl_index_upper(ofs, index); in ovl_lookup_real_inode()
467 dput(index); in ovl_lookup_real_inode()
655 struct dentry *index) in ovl_get_dentry() argument
660 struct dentry *real = upper ?: (index ?: lowerpath->dentry); in ovl_get_dentry()
667 return ovl_obtain_alias(sb, upper, lowerpath, index); in ovl_get_dentry()
707 struct dentry *index = NULL; in ovl_lower_fh_to_d() local
732 index = ovl_get_index_fh(ofs, fh); in ovl_lower_fh_to_d()
733 err = PTR_ERR(index); in ovl_lower_fh_to_d()
734 if (IS_ERR(index)) { in ovl_lower_fh_to_d()
735 index = NULL; in ovl_lower_fh_to_d()
741 if (index && d_is_dir(index)) { in ovl_lower_fh_to_d()
742 struct dentry *upper = ovl_index_upper(ofs, index); in ovl_lower_fh_to_d()
761 if (index) { in ovl_lower_fh_to_d()
762 err = ovl_verify_origin(index, origin.dentry, false); in ovl_lower_fh_to_d()
768 dentry = ovl_get_dentry(sb, NULL, &origin, index); in ovl_lower_fh_to_d()
772 dput(index); in ovl_lower_fh_to_d()