Searched refs:upperdentry (Results 1 – 6 of 6) sorted by relevance
/fs/overlayfs/ |
D | copy_up.c | 189 static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat) in ovl_set_timestamps() argument 198 return notify_change(upperdentry, &attr, NULL); in ovl_set_timestamps() 201 int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat) in ovl_set_attr() argument 210 err = notify_change(upperdentry, &attr, NULL); in ovl_set_attr() 218 err = notify_change(upperdentry, &attr, NULL); in ovl_set_attr() 221 ovl_set_timestamps(upperdentry, stat); in ovl_set_attr() 342 struct dentry *upperdentry; in ovl_copy_up_one() local 368 upperdentry = ovl_dentry_upper(dentry); in ovl_copy_up_one() 369 if (upperdentry) { in ovl_copy_up_one()
|
D | inode.c | 47 struct dentry *upperdentry; in ovl_setattr() local 79 upperdentry = ovl_dentry_upper(dentry); in ovl_setattr() 82 winode = d_inode(upperdentry); in ovl_setattr() 91 inode_lock(upperdentry->d_inode); in ovl_setattr() 93 err = notify_change(upperdentry, attr, NULL); in ovl_setattr() 96 ovl_copyattr(upperdentry->d_inode, dentry->d_inode); in ovl_setattr() 97 inode_unlock(upperdentry->d_inode); in ovl_setattr()
|
D | super.c | 218 void ovl_dentry_update(struct dentry *dentry, struct dentry *upperdentry) in ovl_dentry_update() argument 222 WARN_ON(!inode_is_locked(upperdentry->d_parent->d_inode)); in ovl_dentry_update() 229 oe->__upperdentry = upperdentry; in ovl_dentry_update() 470 struct dentry *upperdir, *upperdentry = NULL; in ovl_lookup() local 500 upperdentry = prev = this; in ovl_lookup() 520 if (err == -ENAMETOOLONG && (upperdentry || ctr)) in ovl_lookup() 543 if (prev == upperdentry) in ovl_lookup() 567 if (upperdentry || ctr) { in ovl_lookup() 571 realdentry = upperdentry ? upperdentry : stack[0].dentry; in ovl_lookup() 575 if (upperdentry && !d_is_dir(upperdentry)) { in ovl_lookup() [all …]
|
D | dir.c | 124 static int ovl_set_opaque(struct dentry *upperdentry) in ovl_set_opaque() argument 126 return ovl_do_setxattr(upperdentry, OVL_XATTR_OPAQUE, "y", 1, 0); in ovl_set_opaque() 129 static void ovl_remove_opaque(struct dentry *upperdentry) in ovl_remove_opaque() argument 133 err = ovl_do_removexattr(upperdentry, OVL_XATTR_OPAQUE); in ovl_remove_opaque() 136 upperdentry->d_name.name, err); in ovl_remove_opaque() 349 static int ovl_set_upper_acl(struct dentry *upperdentry, const char *name, in ovl_set_upper_acl() argument 369 err = vfs_setxattr(upperdentry, name, buffer, size, XATTR_CREATE); in ovl_set_upper_acl()
|
D | overlayfs.h | 167 void ovl_dentry_update(struct dentry *dentry, struct dentry *upperdentry);
|
/fs/ |
D | open.c | 77 struct dentry *upperdentry; in vfs_truncate() local 106 upperdentry = d_real(path->dentry, NULL, O_WRONLY); in vfs_truncate() 107 error = PTR_ERR(upperdentry); in vfs_truncate() 108 if (IS_ERR(upperdentry)) in vfs_truncate() 111 error = get_write_access(upperdentry->d_inode); in vfs_truncate() 130 put_write_access(upperdentry->d_inode); in vfs_truncate()
|