Searched refs:workdir (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/overlayfs/ |
D | super.c | 232 dput(ofs->workdir); in ovl_free_fs() 253 kfree(ofs->config.workdir); in ovl_free_fs() 337 return (!ovl_upper_mnt(ofs) || !ofs->workdir); in ovl_force_readonly() 372 seq_show_option(m, "workdir", ofs->config.workdir); in ovl_show_options() 555 kfree(config->workdir); in ovl_parse_opt() 556 config->workdir = match_strdup(&args[0]); in ovl_parse_opt() 557 if (!config->workdir) in ovl_parse_opt() 640 if (config->workdir) { in ovl_parse_opt() 642 config->workdir); in ovl_parse_opt() 643 kfree(config->workdir); in ovl_parse_opt() [all …]
|
D | dir.c | 45 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() argument 54 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp() 69 struct dentry *workdir = ofs->workdir; in ovl_whiteout() local 70 struct inode *wdir = workdir->d_inode; in ovl_whiteout() 73 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 87 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 112 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout() 227 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, in ovl_create_temp() argument 230 return ovl_create_real(ofs, d_inode(workdir), in ovl_create_temp() 231 ovl_lookup_temp(ofs, workdir), attr); in ovl_create_temp() [all …]
|
D | ovl_entry.h | 11 char *workdir; member 60 struct dentry *workdir; member
|
D | copy_up.c | 506 struct dentry *workdir; member 658 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir() 672 if (lock_rename(c->workdir, c->destdir) != NULL) in ovl_copy_up_workdir() 679 temp = ovl_create_temp(ofs, c->workdir, &cattr); in ovl_copy_up_workdir() 723 unlock_rename(c->workdir, c->destdir); in ovl_copy_up_workdir() 747 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile() 811 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up() 964 .workdir = ovl_workdir(dentry), in ovl_copy_up_one() 967 if (WARN_ON(!ctx.workdir)) in ovl_copy_up_one()
|
D | util.c | 34 return ofs->workdir; in ovl_workdir() 954 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir) in ovl_lock_rename_workdir() argument 957 if (workdir == upperdir) in ovl_lock_rename_workdir() 961 if (lock_rename(workdir, upperdir) != NULL) in ovl_lock_rename_workdir() 967 unlock_rename(workdir, upperdir); in ovl_lock_rename_workdir()
|
D | overlayfs.h | 434 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir); 670 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir); 671 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir,
|
/linux-6.1.9/Documentation/filesystems/ |
D | overlayfs.rst | 124 workdir=/work /merged 126 The "workdir" needs to be an empty directory on the same filesystem 336 As the example shows, "upperdir=" and "workdir=" may be omitted. In 382 Using an upper layer path and/or a workdir path that are already used by 386 upper layer and/or workdir path the behavior of the overlay is undefined, 599 "$workdir/work/incompat/volatile" is created. During next mount, overlay
|