Searched refs:upperdentry (Results 1 - 9 of 9) sorted by relevance

/linux-master/fs/overlayfs/
H A Dinode.c28 struct dentry *upperdentry; local
47 upperdentry = ovl_dentry_upper(dentry);
50 winode = d_inode(upperdentry);
81 inode_lock(upperdentry->d_inode);
83 err = ovl_do_notify_change(ofs, upperdentry, attr);
87 inode_unlock(upperdentry->d_inode);
487 struct dentry *upperdentry = ovl_dentry_upper(dentry); local
488 struct dentry *realdentry = upperdentry ?: ovl_dentry_lower(dentry);
495 if (!acl && !upperdentry) {
510 if (!upperdentry) {
998 ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry, struct dentry *upperdentry, unsigned int fallback) argument
1060 ovl_verify_inode(struct inode *inode, struct dentry *lowerdentry, struct dentry *upperdentry, bool strict) argument
1210 struct dentry *upperdentry = oip->upperdentry; local
[all...]
H A Dnamei.c116 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, argument
122 res = ovl_getxattr_upper(ofs, upperdentry, ox, NULL, 0);
136 res = ovl_getxattr_upper(ofs, upperdentry, ox, fh->buf, res);
422 struct dentry *upperdentry, struct ovl_path **stackp)
447 if (upperdentry && !ovl_upper_is_whiteout(ofs, upperdentry) &&
448 inode_wrong_type(d_inode(upperdentry), d_inode(origin)->i_mode))
466 upperdentry, d_inode(upperdentry)->i_mode & S_IFMT,
472 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, argument
421 ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, struct dentry *upperdentry, struct ovl_path **stackp) argument
1038 struct dentry *upperdir, *upperdentry = NULL; local
[all...]
H A Doverlayfs.h197 struct dentry *upperdentry,
200 return notify_change(ovl_upper_mnt_idmap(ofs), upperdentry, attr, NULL);
287 struct dentry *upperdentry,
292 .dentry = upperdentry,
447 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry,
449 void ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry,
493 void ovl_inode_update(struct inode *inode, struct dentry *upperdentry);
510 struct dentry *upperdentry)
513 .dentry = upperdentry,
520 struct dentry *upperdentry)
196 ovl_do_notify_change(struct ovl_fs *ofs, struct dentry *upperdentry, struct iattr *attr) argument
286 ovl_getxattr_upper(struct ovl_fs *ofs, struct dentry *upperdentry, enum ovl_xattr ox, void *value, size_t size) argument
509 ovl_upper_is_whiteout(struct ovl_fs *ofs, struct dentry *upperdentry) argument
519 ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *upperdentry) argument
571 ovl_is_impuredir(struct super_block *sb, struct dentry *upperdentry) argument
789 struct dentry *upperdentry; member in struct:ovl_inode_params
[all...]
H A Dxattrs.c41 struct dentry *upperdentry = ovl_i_dentry_upper(inode); local
42 struct dentry *realdentry = upperdentry ?: ovl_dentry_lower(dentry);
46 if (!value && !upperdentry) {
55 if (!upperdentry) {
H A Dutil.c175 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry, argument
178 return ovl_dentry_init_flags(dentry, upperdentry, oe, OVL_D_REVALIDATE);
181 void ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry, argument
187 if (upperdentry)
188 flags |= upperdentry->d_flags;
378 struct dentry *upperdentry = ovl_i_dentry_upper(inode); local
380 return upperdentry ? d_inode(upperdentry) : NULL;
576 void ovl_inode_update(struct inode *inode, struct dentry *upperdentry) argument
578 struct inode *upperinode = d_inode(upperdentry);
873 ovl_check_setxattr(struct ovl_fs *ofs, struct dentry *upperdentry, enum ovl_xattr ox, const void *value, size_t size, int xerr) argument
893 ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry) argument
1065 struct dentry *upperdentry = ovl_dentry_upper(dentry); local
[all...]
H A Dsuper.c1240 struct dentry *upperdentry,
1249 .upperdentry = upperdentry,
1257 if (upperdentry) {
1259 ino = d_inode(upperdentry)->i_ino;
1262 if (ovl_is_impuredir(sb, upperdentry))
1285 ovl_dentry_init_flags(root, upperdentry, oe, DCACHE_OP_WEAK_REVALIDATE);
1286 /* root keeps a reference of upperdentry */
1287 dget(upperdentry);
1239 ovl_get_root(struct super_block *sb, struct dentry *upperdentry, struct ovl_entry *oe) argument
H A Dcopy_up.c353 struct dentry *upperdentry, struct kstat *stat)
360 return ovl_do_notify_change(ofs, upperdentry, &attr);
363 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, argument
373 return ovl_do_notify_change(ofs, upperdentry, &attr);
376 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, argument
386 err = ovl_do_notify_change(ofs, upperdentry, &attr);
394 err = ovl_do_notify_change(ofs, upperdentry, &attr);
397 ovl_set_timestamps(ofs, upperdentry, stat);
442 * it to upperdentry or to lowerstack is by checking this flag.
352 ovl_set_size(struct ovl_fs *ofs, struct dentry *upperdentry, struct kstat *stat) argument
H A Ddir.c247 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) argument
254 return ovl_set_opaque_xerr(dentry, upperdentry, -EIO);
266 .upperdentry = newdentry,
278 * with the same real upperdentry that is not the inode we
436 static int ovl_set_upper_acl(struct ovl_fs *ofs, struct dentry *upperdentry, argument
442 return ovl_do_set_acl(ofs, upperdentry, acl_name, acl);
H A Dexport.c306 oip.upperdentry = dget(upper);

Completed in 147 milliseconds