Searched refs:workdir (Results 1 – 6 of 6) sorted by relevance
/fs/overlayfs/ |
D | super.c | 237 dput(ofs->workdir); in ovl_free_fs() 258 kfree(ofs->config.workdir); in ovl_free_fs() 342 return (!ovl_upper_mnt(ofs) || !ofs->workdir); in ovl_force_readonly() 377 seq_show_option(m, "workdir", ofs->config.workdir); in ovl_show_options() 568 kfree(config->workdir); in ovl_parse_opt() 569 config->workdir = match_strdup(&args[0]); in ovl_parse_opt() 570 if (!config->workdir) in ovl_parse_opt() 661 if (config->workdir) { in ovl_parse_opt() 663 config->workdir); in ovl_parse_opt() 664 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 | copy_up.c | 506 struct dentry *workdir; member 660 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir() 674 if (lock_rename(c->workdir, c->destdir) != NULL) in ovl_copy_up_workdir() 681 temp = ovl_create_temp(ofs, c->workdir, &cattr); in ovl_copy_up_workdir() 725 unlock_rename(c->workdir, c->destdir); in ovl_copy_up_workdir() 749 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile() 813 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up() 967 .workdir = ovl_workdir(dentry), in ovl_copy_up_one() 970 if (WARN_ON(!ctx.workdir)) in ovl_copy_up_one()
|
D | ovl_entry.h | 11 char *workdir; member 70 struct dentry *workdir; member
|
D | util.c | 34 return ofs->workdir; in ovl_workdir() 981 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir) in ovl_lock_rename_workdir() argument 984 if (workdir == upperdir) in ovl_lock_rename_workdir() 988 if (lock_rename(workdir, upperdir) != NULL) in ovl_lock_rename_workdir() 994 unlock_rename(workdir, upperdir); in ovl_lock_rename_workdir()
|
D | overlayfs.h | 437 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir); 673 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir); 674 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir,
|