Lines Matching refs:upper
388 struct dentry *upper) in ovl_set_origin() argument
407 err = ovl_check_setxattr(ofs, upper, OVL_XATTR_ORIGIN, fh->buf, in ovl_set_origin()
416 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh() argument
422 fh = ovl_encode_real_fh(ofs, upper, true); in ovl_set_upper_fh()
438 struct dentry *upper) in ovl_create_index() argument
472 err = ovl_set_upper_fh(ofs, upper, temp); in ovl_create_index()
510 struct dentry *upper; in ovl_link_up() local
524 upper = lookup_one_len(c->dentry->d_name.name, upperdir, in ovl_link_up()
526 err = PTR_ERR(upper); in ovl_link_up()
527 if (!IS_ERR(upper)) { in ovl_link_up()
528 err = ovl_do_link(ovl_dentry_upper(c->dentry), udir, upper); in ovl_link_up()
529 dput(upper); in ovl_link_up()
651 struct dentry *temp, *upper; in ovl_copy_up_workdir() local
687 upper = lookup_one_len(c->destname.name, c->destdir, c->destname.len); in ovl_copy_up_workdir()
688 err = PTR_ERR(upper); in ovl_copy_up_workdir()
689 if (IS_ERR(upper)) in ovl_copy_up_workdir()
692 err = ovl_do_rename(wdir, temp, udir, upper, 0); in ovl_copy_up_workdir()
693 dput(upper); in ovl_copy_up_workdir()
718 struct dentry *temp, *upper; in ovl_copy_up_tmpfile() local
738 upper = lookup_one_len(c->destname.name, c->destdir, c->destname.len); in ovl_copy_up_tmpfile()
739 err = PTR_ERR(upper); in ovl_copy_up_tmpfile()
740 if (!IS_ERR(upper)) { in ovl_copy_up_tmpfile()
741 err = ovl_do_link(temp, udir, upper); in ovl_copy_up_tmpfile()
742 dput(upper); in ovl_copy_up_tmpfile()