Lines Matching refs:upper

286 	struct dentry *upper = upper_alias ?: index;  in ovl_obtain_alias()  local
297 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias()
300 oip.upperdentry = dget(upper); in ovl_obtain_alias()
303 dput(upper); in ovl_obtain_alias()
307 if (upper) in ovl_obtain_alias()
329 ovl_dentry_update_reval(dentry, upper, in ovl_obtain_alias()
461 struct dentry *upper = ovl_index_upper(ofs, index); in ovl_lookup_real_inode() local
464 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode()
465 return upper; in ovl_lookup_real_inode()
474 this = ovl_lookup_real(sb, upper, &ofs->layers[0]); in ovl_lookup_real_inode()
475 dput(upper); in ovl_lookup_real_inode()
649 struct dentry *upper, in ovl_get_dentry() argument
654 const struct ovl_layer *layer = upper ? &ofs->layers[0] : lowerpath->layer; in ovl_get_dentry()
655 struct dentry *real = upper ?: (index ?: lowerpath->dentry); in ovl_get_dentry()
662 return ovl_obtain_alias(sb, upper, lowerpath, index); in ovl_get_dentry()
680 struct dentry *upper; in ovl_upper_fh_to_d() local
685 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), true); in ovl_upper_fh_to_d()
686 if (IS_ERR_OR_NULL(upper)) in ovl_upper_fh_to_d()
687 return upper; in ovl_upper_fh_to_d()
689 dentry = ovl_get_dentry(sb, upper, NULL, NULL); in ovl_upper_fh_to_d()
690 dput(upper); in ovl_upper_fh_to_d()
737 struct dentry *upper = ovl_index_upper(ofs, index); in ovl_lower_fh_to_d() local
739 err = PTR_ERR(upper); in ovl_lower_fh_to_d()
740 if (IS_ERR_OR_NULL(upper)) in ovl_lower_fh_to_d()
743 dentry = ovl_get_dentry(sb, upper, NULL, NULL); in ovl_lower_fh_to_d()
744 dput(upper); in ovl_lower_fh_to_d()