Lines Matching refs:upper

296 	struct dentry *upper = upper_alias ?: index;  in ovl_obtain_alias()  local
305 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias()
312 oip.upperdentry = dget(upper); in ovl_obtain_alias()
321 dput(upper); in ovl_obtain_alias()
325 if (upper) in ovl_obtain_alias()
339 ovl_dentry_init_reval(dentry, upper, OVL_I_E(inode)); in ovl_obtain_alias()
476 struct dentry *upper = ovl_index_upper(ofs, index, true); in ovl_lookup_real_inode() local
479 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode()
480 return upper; in ovl_lookup_real_inode()
489 this = ovl_lookup_real(sb, upper, &ofs->layers[0]); in ovl_lookup_real_inode()
490 dput(upper); in ovl_lookup_real_inode()
664 struct dentry *upper, in ovl_get_dentry() argument
669 const struct ovl_layer *layer = upper ? &ofs->layers[0] : lowerpath->layer; in ovl_get_dentry()
670 struct dentry *real = upper ?: (index ?: lowerpath->dentry); in ovl_get_dentry()
677 return ovl_obtain_alias(sb, upper, lowerpath, index); in ovl_get_dentry()
695 struct dentry *upper; in ovl_upper_fh_to_d() local
700 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), true); in ovl_upper_fh_to_d()
701 if (IS_ERR_OR_NULL(upper)) in ovl_upper_fh_to_d()
702 return upper; in ovl_upper_fh_to_d()
704 dentry = ovl_get_dentry(sb, upper, NULL, NULL); in ovl_upper_fh_to_d()
705 dput(upper); in ovl_upper_fh_to_d()
752 struct dentry *upper = ovl_index_upper(ofs, index, true); in ovl_lower_fh_to_d() local
754 err = PTR_ERR(upper); in ovl_lower_fh_to_d()
755 if (IS_ERR_OR_NULL(upper)) in ovl_lower_fh_to_d()
758 dentry = ovl_get_dentry(sb, upper, NULL, NULL); in ovl_lower_fh_to_d()
759 dput(upper); in ovl_lower_fh_to_d()