Lines Matching refs:upperdentry

27 	struct dentry *upperdentry;  in ovl_setattr()  local
46 upperdentry = ovl_dentry_upper(dentry); in ovl_setattr()
49 winode = d_inode(upperdentry); in ovl_setattr()
80 inode_lock(upperdentry->d_inode); in ovl_setattr()
82 err = ovl_do_notify_change(ofs, upperdentry, attr); in ovl_setattr()
86 inode_unlock(upperdentry->d_inode); in ovl_setattr()
486 struct dentry *upperdentry = ovl_dentry_upper(dentry); in ovl_set_or_remove_acl() local
487 struct dentry *realdentry = upperdentry ?: ovl_dentry_lower(dentry); in ovl_set_or_remove_acl()
494 if (!acl && !upperdentry) { in ovl_set_or_remove_acl()
509 if (!upperdentry) { in ovl_set_or_remove_acl()
892 oi->__upperdentry = oip->upperdentry; in ovl_inode_init()
998 struct dentry *upperdentry, in ovl_get_nlink() argument
1006 if (!lowerdentry || !upperdentry || d_inode(lowerdentry)->i_nlink == 1) in ovl_get_nlink()
1009 err = ovl_getxattr_upper(ofs, upperdentry, OVL_XATTR_NLINK, in ovl_get_nlink()
1023 nlink = d_inode(buf[0] == 'L' ? lowerdentry : upperdentry)->i_nlink; in ovl_get_nlink()
1033 upperdentry, err); in ovl_get_nlink()
1060 struct dentry *upperdentry, bool strict) in ovl_verify_inode() argument
1074 if (!upperdentry && ovl_inode_upper(inode)) in ovl_verify_inode()
1091 if (upperdentry && ovl_inode_upper(inode) != d_inode(upperdentry)) in ovl_verify_inode()
1209 struct dentry *upperdentry = oip->upperdentry; in ovl_get_inode() local
1211 struct inode *realinode = upperdentry ? d_inode(upperdentry) : NULL; in ovl_get_inode()
1215 .dentry = upperdentry ?: lowerdentry, in ovl_get_inode()
1216 .mnt = upperdentry ? ovl_upper_mnt(ofs) : lowerpath->layer->mnt, in ovl_get_inode()
1218 bool bylower = ovl_hash_bylower(sb, upperdentry, lowerdentry, in ovl_get_inode()
1233 if (upperdentry || bylower) { in ovl_get_inode()
1235 upperdentry); in ovl_get_inode()
1246 if (!ovl_verify_inode(inode, lowerdentry, upperdentry, in ovl_get_inode()
1253 dput(upperdentry); in ovl_get_inode()
1262 nlink = ovl_get_nlink(ofs, lowerdentry, upperdentry, in ovl_get_inode()
1279 if (upperdentry && ovl_is_impuredir(sb, upperdentry)) in ovl_get_inode()
1290 if (((upperdentry && lowerdentry) || ovl_numlower(oip->oe) > 1) || in ovl_get_inode()
1297 if (upperdentry) in ovl_get_inode()
1298 ovl_check_protattr(inode, upperdentry); in ovl_get_inode()