Searched refs:upperpath (Results 1 - 8 of 8) sorted by relevance

/linux-master/fs/overlayfs/
H A Dsuper.c481 const struct path *upperpath)
487 if (__mnt_is_readonly(upperpath->mnt)) {
493 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir);
497 err = ovl_setup_trap(sb, upperpath->dentry, &upper_layer->trap,
502 upper_mnt = clone_private_mount(upperpath);
505 pr_err("failed to clone upperpath\n");
784 const struct path *upperpath,
790 if (upperpath->mnt != workpath->mnt) {
794 if (!ovl_workdir_ok(workpath->dentry, upperpath->dentry)) {
818 struct ovl_entry *oe, const struct path *upperpath)
479 ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, struct ovl_layer *upper_layer, const struct path *upperpath) argument
783 ovl_get_workdir(struct super_block *sb, struct ovl_fs *ofs, const struct path *upperpath, const struct path *workpath) argument
817 ovl_get_indexdir(struct super_block *sb, struct ovl_fs *ofs, struct ovl_entry *oe, const struct path *upperpath) argument
[all...]
H A Doverlayfs.h291 struct path upperpath = { local
296 return ovl_do_getxattr(&upperpath, ovl_xattr(ofs, ox), value, size);
507 const struct path *upperpath);
512 struct path upperpath = { local
516 return ovl_path_is_whiteout(ofs, &upperpath);
522 struct path upperpath = { local
526 return ovl_path_check_origin_xattr(ofs, &upperpath);
575 struct path upperpath = { local
580 return ovl_get_dir_xattr_val(ofs, &upperpath, OVL_XATTR_IMPURE) == 'y';
H A Dinode.c575 struct path upperpath = { local
580 if (upperpath.dentry) {
581 touch_atime(&upperpath);
583 inode_get_atime(d_inode(upperpath.dentry)));
651 struct path upperpath; local
658 ovl_path_real(dentry, &upperpath);
672 err = ovl_set_protattr(inode, upperpath.dentry, fa);
674 err = ovl_real_fileattr_set(&upperpath, fa);
H A Dcopy_up.c647 struct path upperpath = { .mnt = ovl_upper_mnt(ofs), .dentry = temp }; local
660 err = ovl_copy_fileattr(inode, &c->lowerpath, &upperpath);
1067 struct path upperpath; local
1072 ovl_path_upper(c->dentry, &upperpath);
1073 if (WARN_ON(upperpath.dentry == NULL))
1077 err = cap_size = ovl_getxattr_value(&upperpath, XATTR_NAME_CAPS,
1083 err = ovl_copy_up_data(c, &upperpath);
1093 err = ovl_do_setxattr(ofs, upperpath.dentry, XATTR_NAME_CAPS,
1097 err = ovl_removexattr(ofs, upperpath.dentry,
H A Ddir.c369 struct path upperpath; local
382 ovl_path_upper(dentry, &upperpath);
383 err = vfs_getattr(&upperpath, &stat,
391 upper = upperpath.dentry;
400 err = ovl_copy_xattr(dentry->d_sb, &upperpath, opaquedir);
832 * upperpath/lowerpath, which could only be done if we are the
H A Dutil.c774 const struct path *upperpath)
781 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_UUID, uuid.b,
796 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_IMPURE, NULL,
816 res = ovl_setxattr(ofs, upperpath->dentry, OVL_XATTR_UUID, uuid.b,
828 set ? "set" : "get", upperpath->dentry, res);
773 ovl_init_uuid_xattr(struct super_block *sb, struct ovl_fs *ofs, const struct path *upperpath) argument
H A Dreaddir.c891 struct path upperpath; local
893 ovl_path_upper(dentry, &upperpath);
894 realfile = ovl_dir_open_realfile(file, &upperpath);
H A Dnamei.c1296 struct path upperpath = { local
1306 upperredirect = ovl_get_redirect_xattr(ofs, &upperpath, 0);
1312 err = ovl_check_metacopy_xattr(ofs, &upperpath, NULL);

Completed in 259 milliseconds