Searched refs:workdir (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | super.c | 230 dput(ofs->workdir); in ovl_free_fs() 251 kfree(ofs->config.workdir); in ovl_free_fs() 335 return (!ovl_upper_mnt(ofs) || !ofs->workdir); in ovl_force_readonly() 368 seq_show_option(m, "workdir", ofs->config.workdir); in ovl_show_options() 541 kfree(config->workdir); in ovl_parse_opt() 542 config->workdir = match_strdup(&args[0]); in ovl_parse_opt() 543 if (!config->workdir) in ovl_parse_opt() 614 if (config->workdir) { in ovl_parse_opt() 616 config->workdir); in ovl_parse_opt() 617 kfree(config->workdir); in ovl_parse_opt() [all …]
|
D | dir.c | 45 struct dentry *ovl_lookup_temp(struct dentry *workdir) in ovl_lookup_temp() argument 54 temp = lookup_one_len(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(workdir); in ovl_whiteout() 87 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout() 112 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout() 226 struct dentry *ovl_create_temp(struct dentry *workdir, struct ovl_cattr *attr) in ovl_create_temp() argument 228 return ovl_create_real(d_inode(workdir), ovl_lookup_temp(workdir), in ovl_create_temp() 361 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty() local [all …]
|
D | ovl_entry.h | 11 char *workdir; member 58 struct dentry *workdir; member
|
D | copy_up.c | 444 struct dentry *workdir; member 582 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir() 595 if (lock_rename(c->workdir, c->destdir) != NULL) in ovl_copy_up_workdir() 602 temp = ovl_create_temp(c->workdir, &cattr); in ovl_copy_up_workdir() 636 unlock_rename(c->workdir, c->destdir); in ovl_copy_up_workdir() 658 temp = ovl_do_tmpfile(c->workdir, c->stat.mode); in ovl_copy_up_tmpfile() 716 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up() 873 .workdir = ovl_workdir(dentry), in ovl_copy_up_one() 876 if (WARN_ON(!ctx.workdir)) in ovl_copy_up_one()
|
D | util.c | 33 return ofs->workdir; in ovl_workdir() 837 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir) in ovl_lock_rename_workdir() argument 840 if (workdir == upperdir) in ovl_lock_rename_workdir() 844 if (lock_rename(workdir, upperdir) != NULL) in ovl_lock_rename_workdir() 850 unlock_rename(workdir, upperdir); in ovl_lock_rename_workdir()
|
D | overlayfs.h | 317 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir); 526 struct dentry *ovl_lookup_temp(struct dentry *workdir); 527 struct dentry *ovl_create_temp(struct dentry *workdir, struct ovl_cattr *attr);
|
/kernel/liteos_a/fs/vfs/operation/ |
D | vfs_other.c | 140 ret = strncpy_s(curr->files->workdir, PATH_MAX, dir, len); in SetWorkDir() 141 curr->files->workdir[PATH_MAX - 1] = '\0'; in SetWorkDir() 236 len = strlen(curr->files->workdir); in getcwd() 242 ret = memcpy_s(buf, n, curr->files->workdir, len + 1); in getcwd() 642 path = strdup(curr->files->workdir); in ls()
|
D | fullpath.c | 262 directory = curr->files->workdir; in vfs_normalize_path()
|
/kernel/liteos_a/fs/include/fs/ |
D | fd_table.h | 60 char workdir[PATH_MAX]; member
|
/kernel/linux/linux-5.10/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, 587 "$workdir/work/incompat/volatile" is created. During next mount, overlay
|