upperdentry 180 fs/overlayfs/copy_up.c static int ovl_set_size(struct dentry *upperdentry, struct kstat *stat) upperdentry 187 fs/overlayfs/copy_up.c return notify_change(upperdentry, &attr, NULL); upperdentry 190 fs/overlayfs/copy_up.c static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat) upperdentry 199 fs/overlayfs/copy_up.c return notify_change(upperdentry, &attr, NULL); upperdentry 202 fs/overlayfs/copy_up.c int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat) upperdentry 211 fs/overlayfs/copy_up.c err = notify_change(upperdentry, &attr, NULL); upperdentry 219 fs/overlayfs/copy_up.c err = notify_change(upperdentry, &attr, NULL); upperdentry 222 fs/overlayfs/copy_up.c ovl_set_timestamps(upperdentry, stat); upperdentry 221 fs/overlayfs/dir.c static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) upperdentry 228 fs/overlayfs/dir.c return ovl_set_opaque_xerr(dentry, upperdentry, -EIO); upperdentry 240 fs/overlayfs/dir.c .upperdentry = newdentry, upperdentry 404 fs/overlayfs/dir.c static int ovl_set_upper_acl(struct dentry *upperdentry, const char *name, upperdentry 423 fs/overlayfs/dir.c err = vfs_setxattr(upperdentry, name, buffer, size, XATTR_CREATE); upperdentry 826 fs/overlayfs/dir.c struct dentry *upperdentry; upperdentry 869 fs/overlayfs/dir.c upperdentry = ovl_dentry_upper(dentry); upperdentry 870 fs/overlayfs/dir.c if (upperdentry) upperdentry 871 fs/overlayfs/dir.c ovl_copyattr(d_inode(upperdentry), d_inode(dentry)); upperdentry 309 fs/overlayfs/export.c oip.upperdentry = dget(upper); upperdentry 20 fs/overlayfs/inode.c struct dentry *upperdentry; upperdentry 49 fs/overlayfs/inode.c upperdentry = ovl_dentry_upper(dentry); upperdentry 52 fs/overlayfs/inode.c winode = d_inode(upperdentry); upperdentry 61 fs/overlayfs/inode.c inode_lock(upperdentry->d_inode); upperdentry 63 fs/overlayfs/inode.c err = notify_change(upperdentry, attr, NULL); upperdentry 66 fs/overlayfs/inode.c ovl_copyattr(upperdentry->d_inode, dentry->d_inode); upperdentry 67 fs/overlayfs/inode.c inode_unlock(upperdentry->d_inode); upperdentry 331 fs/overlayfs/inode.c struct dentry *upperdentry = ovl_i_dentry_upper(inode); upperdentry 332 fs/overlayfs/inode.c struct dentry *realdentry = upperdentry ?: ovl_dentry_lower(dentry); upperdentry 339 fs/overlayfs/inode.c if (!value && !upperdentry) { upperdentry 345 fs/overlayfs/inode.c if (!upperdentry) { upperdentry 668 fs/overlayfs/inode.c struct dentry *upperdentry, upperdentry 676 fs/overlayfs/inode.c if (!lowerdentry || !upperdentry || d_inode(lowerdentry)->i_nlink == 1) upperdentry 679 fs/overlayfs/inode.c err = vfs_getxattr(upperdentry, OVL_XATTR_NLINK, &buf, sizeof(buf) - 1); upperdentry 692 fs/overlayfs/inode.c nlink = d_inode(buf[0] == 'L' ? lowerdentry : upperdentry)->i_nlink; upperdentry 702 fs/overlayfs/inode.c upperdentry, err); upperdentry 729 fs/overlayfs/inode.c struct dentry *upperdentry, bool strict) upperdentry 743 fs/overlayfs/inode.c if (!upperdentry && ovl_inode_upper(inode)) upperdentry 760 fs/overlayfs/inode.c if (upperdentry && ovl_inode_upper(inode) != d_inode(upperdentry)) upperdentry 877 fs/overlayfs/inode.c struct dentry *upperdentry = oip->upperdentry; upperdentry 879 fs/overlayfs/inode.c struct inode *realinode = upperdentry ? d_inode(upperdentry) : NULL; upperdentry 882 fs/overlayfs/inode.c bool bylower = ovl_hash_bylower(sb, upperdentry, lowerdentry, upperdentry 897 fs/overlayfs/inode.c if (upperdentry || bylower) { upperdentry 899 fs/overlayfs/inode.c upperdentry); upperdentry 910 fs/overlayfs/inode.c if (!ovl_verify_inode(inode, lowerdentry, upperdentry, upperdentry 917 fs/overlayfs/inode.c dput(upperdentry); upperdentry 924 fs/overlayfs/inode.c nlink = ovl_get_nlink(lowerdentry, upperdentry, nlink); upperdentry 938 fs/overlayfs/inode.c ovl_inode_init(inode, upperdentry, lowerdentry, oip->lowerdata); upperdentry 940 fs/overlayfs/inode.c if (upperdentry && ovl_is_impuredir(upperdentry)) upperdentry 946 fs/overlayfs/inode.c if (upperdentry) { upperdentry 947 fs/overlayfs/inode.c err = ovl_check_metacopy_xattr(upperdentry); upperdentry 962 fs/overlayfs/inode.c if (((upperdentry && lowerdentry) || oip->numlower > 1) || upperdentry 963 fs/overlayfs/inode.c ovl_check_origin_xattr(upperdentry ?: lowerdentry)) { upperdentry 322 fs/overlayfs/namei.c struct dentry *upperdentry, struct ovl_path **stackp) upperdentry 347 fs/overlayfs/namei.c if (upperdentry && !ovl_is_whiteout(upperdentry) && upperdentry 348 fs/overlayfs/namei.c ((d_inode(origin)->i_mode ^ d_inode(upperdentry)->i_mode) & S_IFMT)) upperdentry 366 fs/overlayfs/namei.c upperdentry, d_inode(upperdentry)->i_mode & S_IFMT, upperdentry 372 fs/overlayfs/namei.c static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, upperdentry 375 fs/overlayfs/namei.c struct ovl_fh *fh = ovl_get_fh(upperdentry, OVL_XATTR_ORIGIN); upperdentry 381 fs/overlayfs/namei.c err = ovl_check_origin_fh(ofs, fh, false, upperdentry, stackp); upperdentry 822 fs/overlayfs/namei.c struct dentry *upperdir, *upperdentry = NULL; upperdentry 850 fs/overlayfs/namei.c err = ovl_lookup_layer(upperdir, &d, &upperdentry); upperdentry 854 fs/overlayfs/namei.c if (upperdentry && unlikely(ovl_dentry_remote(upperdentry))) { upperdentry 855 fs/overlayfs/namei.c dput(upperdentry); upperdentry 859 fs/overlayfs/namei.c if (upperdentry && !d.is_dir) { upperdentry 872 fs/overlayfs/namei.c err = ovl_check_origin(ofs, upperdentry, &origin_path, upperdentry 919 fs/overlayfs/namei.c if (upperdentry && !ctr && !ofs->noxattr && d.is_dir) { upperdentry 920 fs/overlayfs/namei.c err = ovl_fix_origin(dentry, this, upperdentry); upperdentry 936 fs/overlayfs/namei.c if (upperdentry && !ctr && upperdentry 939 fs/overlayfs/namei.c err = ovl_verify_origin(upperdentry, this, false); upperdentry 1007 fs/overlayfs/namei.c } else if (!d.is_dir && upperdentry && !ctr && origin_path) { upperdentry 1032 fs/overlayfs/namei.c if (ctr && (!upperdentry || (!d.is_dir && !metacopy))) upperdentry 1037 fs/overlayfs/namei.c index = ovl_lookup_index(ofs, upperdentry, origin, true); upperdentry 1056 fs/overlayfs/namei.c if (upperdentry) upperdentry 1059 fs/overlayfs/namei.c upperdentry = dget(index); upperdentry 1060 fs/overlayfs/namei.c upperredirect = ovl_get_redirect_xattr(upperdentry, 0); upperdentry 1068 fs/overlayfs/namei.c if (upperdentry || ctr) { upperdentry 1070 fs/overlayfs/namei.c .upperdentry = upperdentry, upperdentry 1108 fs/overlayfs/namei.c dput(upperdentry); upperdentry 249 fs/overlayfs/overlayfs.h void ovl_inode_init(struct inode *inode, struct dentry *upperdentry, upperdentry 251 fs/overlayfs/overlayfs.h void ovl_inode_update(struct inode *inode, struct dentry *upperdentry); upperdentry 261 fs/overlayfs/overlayfs.h int ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry, upperdentry 264 fs/overlayfs/overlayfs.h int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry); upperdentry 309 fs/overlayfs/overlayfs.h struct dentry *upperdentry, struct ovl_path **stackp); upperdentry 350 fs/overlayfs/overlayfs.h struct dentry *upperdentry, upperdentry 367 fs/overlayfs/overlayfs.h struct dentry *upperdentry; upperdentry 233 fs/overlayfs/util.c struct dentry *upperdentry = ovl_i_dentry_upper(inode); upperdentry 235 fs/overlayfs/util.c return upperdentry ? d_inode(upperdentry) : NULL; upperdentry 401 fs/overlayfs/util.c void ovl_inode_init(struct inode *inode, struct dentry *upperdentry, upperdentry 404 fs/overlayfs/util.c struct inode *realinode = d_inode(upperdentry ?: lowerdentry); upperdentry 406 fs/overlayfs/util.c if (upperdentry) upperdentry 407 fs/overlayfs/util.c OVL_I(inode)->__upperdentry = upperdentry; upperdentry 419 fs/overlayfs/util.c void ovl_inode_update(struct inode *inode, struct dentry *upperdentry) upperdentry 421 fs/overlayfs/util.c struct inode *upperinode = d_inode(upperdentry); upperdentry 429 fs/overlayfs/util.c OVL_I(inode)->__upperdentry = upperdentry; upperdentry 566 fs/overlayfs/util.c int ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry, upperdentry 576 fs/overlayfs/util.c err = ovl_do_setxattr(upperdentry, name, value, size, 0); upperdentry 587 fs/overlayfs/util.c int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry) upperdentry 598 fs/overlayfs/util.c err = ovl_check_setxattr(dentry, upperdentry, OVL_XATTR_IMPURE, upperdentry 691 fs/overlayfs/util.c struct dentry *upperdentry = ovl_dentry_upper(dentry); upperdentry 701 fs/overlayfs/util.c inode = d_inode(upperdentry); upperdentry 704 fs/overlayfs/util.c upperdentry, inode->i_ino, inode->i_nlink);