Home
last modified time | relevance | path

Searched refs:upperdentry (Results 1 – 8 of 8) sorted by relevance

/fs/overlayfs/
Dinode.c26 struct dentry *upperdentry; in ovl_setattr() local
49 upperdentry = ovl_dentry_upper(dentry); in ovl_setattr()
52 winode = d_inode(upperdentry); in ovl_setattr()
79 inode_lock(upperdentry->d_inode); in ovl_setattr()
81 err = ovl_do_notify_change(ofs, upperdentry, attr); in ovl_setattr()
85 inode_unlock(upperdentry->d_inode); in ovl_setattr()
349 struct dentry *upperdentry = ovl_i_dentry_upper(inode); in ovl_xattr_set() local
350 struct dentry *realdentry = upperdentry ?: ovl_dentry_lower(dentry); in ovl_xattr_set()
358 if (!value && !upperdentry) { in ovl_xattr_set()
367 if (!upperdentry) { in ovl_xattr_set()
[all …]
Dnamei.c109 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() argument
115 res = ovl_getxattr_upper(ofs, upperdentry, ox, NULL, 0); in ovl_get_fh()
129 res = ovl_getxattr_upper(ofs, upperdentry, ox, fh->buf, res); in ovl_get_fh()
354 struct dentry *upperdentry, struct ovl_path **stackp) in ovl_check_origin_fh() argument
379 if (upperdentry && !ovl_is_whiteout(upperdentry) && in ovl_check_origin_fh()
380 inode_wrong_type(d_inode(upperdentry), d_inode(origin)->i_mode)) in ovl_check_origin_fh()
398 upperdentry, d_inode(upperdentry)->i_mode & S_IFMT, in ovl_check_origin_fh()
404 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin() argument
407 struct ovl_fh *fh = ovl_get_fh(ofs, upperdentry, OVL_XATTR_ORIGIN); in ovl_check_origin()
413 err = ovl_check_origin_fh(ofs, fh, false, upperdentry, stackp); in ovl_check_origin()
[all …]
Dutil.c123 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry) in ovl_dentry_init_reval() argument
125 return ovl_dentry_init_flags(dentry, upperdentry, OVL_D_REVALIDATE); in ovl_dentry_init_reval()
128 void ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry, in ovl_dentry_init_flags() argument
134 if (upperdentry) in ovl_dentry_init_flags()
135 flags |= upperdentry->d_flags; in ovl_dentry_init_flags()
293 struct dentry *upperdentry = ovl_i_dentry_upper(inode); in ovl_inode_upper() local
295 return upperdentry ? d_inode(upperdentry) : NULL; in ovl_inode_upper()
463 void ovl_inode_update(struct inode *inode, struct dentry *upperdentry) in ovl_inode_update() argument
465 struct inode *upperinode = d_inode(upperdentry); in ovl_inode_update()
473 OVL_I(inode)->__upperdentry = upperdentry; in ovl_inode_update()
[all …]
Doverlayfs.h139 struct dentry *upperdentry, in ovl_do_notify_change() argument
142 return notify_change(ovl_upper_mnt_userns(ofs), upperdentry, attr, NULL); in ovl_do_notify_change()
228 struct dentry *upperdentry, in ovl_getxattr_upper() argument
233 .dentry = upperdentry, in ovl_getxattr_upper()
365 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry);
366 void ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry,
405 void ovl_inode_update(struct inode *inode, struct dentry *upperdentry);
418 struct dentry *upperdentry) in ovl_check_origin_xattr() argument
421 .dentry = upperdentry, in ovl_check_origin_xattr()
427 int ovl_check_setxattr(struct ovl_fs *ofs, struct dentry *upperdentry,
[all …]
Dcopy_up.c288 struct dentry *upperdentry, struct kstat *stat) in ovl_set_size() argument
295 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_size()
298 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps() argument
308 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_timestamps()
311 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr() argument
321 err = ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_attr()
329 err = ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_attr()
332 ovl_set_timestamps(ofs, upperdentry, stat); in ovl_set_attr()
Ddir.c247 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() argument
254 return ovl_set_opaque_xerr(dentry, upperdentry, -EIO); in ovl_set_opaque()
266 .upperdentry = newdentry, in ovl_instantiate()
436 static int ovl_set_upper_acl(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_upper_acl() argument
455 err = ovl_do_setxattr(ofs, upperdentry, name, buffer, size, XATTR_CREATE); in ovl_set_upper_acl()
Dsuper.c1972 struct dentry *upperdentry, in ovl_get_root() argument
1980 .upperdentry = upperdentry, in ovl_get_root()
1990 if (upperdentry) { in ovl_get_root()
1992 ino = d_inode(upperdentry)->i_ino; in ovl_get_root()
1995 if (ovl_is_impuredir(sb, upperdentry)) in ovl_get_root()
2004 ovl_dentry_init_flags(root, upperdentry, DCACHE_OP_WEAK_REVALIDATE); in ovl_get_root()
Dexport.c300 oip.upperdentry = dget(upper); in ovl_obtain_alias()