Lines Matching refs:upper

488 		      struct dentry *upper)  in ovl_set_origin_fh()  argument
495 err = ovl_check_setxattr(ofs, upper, OVL_XATTR_ORIGIN, fh->buf, in ovl_set_origin_fh()
503 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh() argument
509 fh = ovl_encode_real_fh(ofs, upper, true); in ovl_set_upper_fh()
525 struct dentry *upper) in ovl_create_index() argument
559 err = ovl_set_upper_fh(ofs, upper, temp); in ovl_create_index()
600 struct dentry *upper; in ovl_link_up() local
617 upper = ovl_lookup_upper(ofs, c->dentry->d_name.name, upperdir, in ovl_link_up()
619 err = PTR_ERR(upper); in ovl_link_up()
620 if (!IS_ERR(upper)) { in ovl_link_up()
621 err = ovl_do_link(ofs, ovl_dentry_upper(c->dentry), udir, upper); in ovl_link_up()
622 dput(upper); in ovl_link_up()
628 ovl_dentry_update_reval(c->dentry, upper); in ovl_link_up()
768 struct dentry *temp, *upper, *trap; in ovl_copy_up_workdir() local
827 upper = ovl_lookup_upper(ofs, c->destname.name, c->destdir, in ovl_copy_up_workdir()
829 err = PTR_ERR(upper); in ovl_copy_up_workdir()
830 if (IS_ERR(upper)) in ovl_copy_up_workdir()
833 err = ovl_do_rename(ofs, wdir, temp, udir, upper, 0); in ovl_copy_up_workdir()
834 dput(upper); in ovl_copy_up_workdir()
868 struct dentry *temp, *upper; in ovl_copy_up_tmpfile() local
900 upper = ovl_lookup_upper(ofs, c->destname.name, c->destdir, in ovl_copy_up_tmpfile()
902 err = PTR_ERR(upper); in ovl_copy_up_tmpfile()
903 if (!IS_ERR(upper)) { in ovl_copy_up_tmpfile()
904 err = ovl_do_link(ofs, temp, udir, upper); in ovl_copy_up_tmpfile()
905 dput(upper); in ovl_copy_up_tmpfile()