Lines Matching refs:upper
295 struct dentry *upper = upper_alias ?: index; in ovl_obtain_alias() local
303 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias()
310 oip.upperdentry = dget(upper); in ovl_obtain_alias()
319 dput(upper); in ovl_obtain_alias()
323 if (upper) in ovl_obtain_alias()
454 struct dentry *upper = ovl_index_upper(ofs, index, true); in ovl_lookup_real_inode() local
457 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode()
458 return upper; in ovl_lookup_real_inode()
467 this = ovl_lookup_real(sb, upper, &ofs->layers[0]); in ovl_lookup_real_inode()
468 dput(upper); in ovl_lookup_real_inode()
642 struct dentry *upper, in ovl_get_dentry() argument
647 const struct ovl_layer *layer = upper ? &ofs->layers[0] : lowerpath->layer; in ovl_get_dentry()
648 struct dentry *real = upper ?: (index ?: lowerpath->dentry); in ovl_get_dentry()
655 return ovl_obtain_alias(sb, upper, lowerpath, index); in ovl_get_dentry()
673 struct dentry *upper; in ovl_upper_fh_to_d() local
678 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), true); in ovl_upper_fh_to_d()
679 if (IS_ERR_OR_NULL(upper)) in ovl_upper_fh_to_d()
680 return upper; in ovl_upper_fh_to_d()
682 dentry = ovl_get_dentry(sb, upper, NULL, NULL); in ovl_upper_fh_to_d()
683 dput(upper); in ovl_upper_fh_to_d()
730 struct dentry *upper = ovl_index_upper(ofs, index, true); in ovl_lower_fh_to_d() local
732 err = PTR_ERR(upper); in ovl_lower_fh_to_d()
733 if (IS_ERR_OR_NULL(upper)) in ovl_lower_fh_to_d()
736 dentry = ovl_get_dentry(sb, upper, NULL, NULL); in ovl_lower_fh_to_d()
737 dput(upper); in ovl_lower_fh_to_d()