Home
last modified time | relevance | path

Searched refs:workdir (Results 1 – 9 of 9) sorted by relevance

/linux/fs/overlayfs/
H A Dsuper.c393 ofs->config.workdir, name, -err); in ovl_workdir_create()
455 static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir) in ovl_workdir_ok() argument
459 if (workdir != upperdir) { in ovl_workdir_ok()
460 struct dentry *trap = lock_rename(workdir, upperdir); in ovl_workdir_ok()
462 unlock_rename(workdir, upperdir); in ovl_workdir_ok()
572 struct dentry *workdir = ofs->workdir; in ovl_check_rename_whiteout() local
580 temp = ovl_create_temp(ofs, workdir, OVL_CATTR(S_IFREG | 0)); in ovl_check_rename_whiteout()
586 rd.old_parent = workdir; in ovl_check_rename_whiteout()
587 rd.new_parent = workdir; in ovl_check_rename_whiteout()
607 workdir, name.name.len); in ovl_check_rename_whiteout()
[all …]
H A Ddir.c47 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, in ovl_cleanup() argument
50 wdentry = start_removing_dentry(workdir, wdentry); in ovl_cleanup()
54 ovl_cleanup_locked(ofs, workdir->d_inode, wdentry); in ovl_cleanup()
69 struct dentry *workdir) in ovl_start_creating_temp() argument
74 return start_creating(ovl_upper_mnt_idmap(ofs), workdir, in ovl_start_creating_temp()
82 struct dentry *workdir = ofs->workdir; in ovl_whiteout() local
83 struct inode *wdir = workdir->d_inode; in ovl_whiteout()
88 whiteout = ovl_start_creating_temp(ofs, workdir); in ovl_whiteout()
100 link = ovl_start_creating_temp(ofs, workdir); in ovl_whiteout()
139 rd.old_parent = ofs->workdir; in ovl_cleanup_and_whiteout()
[all …]
H A Dparams.c355 swap(config->workdir, *pname); in ovl_add_layer()
825 dput(ofs->workdir); in ovl_free_fs()
847 kfree(ofs->config.workdir); in ovl_free_fs()
860 if (config->workdir) { in ovl_fs_params_verify()
862 config->workdir); in ovl_fs_params_verify()
863 kfree(config->workdir); in ovl_fs_params_verify()
864 config->workdir = NULL; in ovl_fs_params_verify()
1055 seq_show_option(m, "workdir", ofs->config.workdir); in ovl_show_options()
H A Dovl_entry.h10 char *workdir; member
69 struct dentry *workdir; member
H A Dcopy_up.c586 struct dentry *workdir; member
778 temp = ovl_create_temp(ofs, c->workdir, &cattr); in ovl_copy_up_workdir()
808 rd.old_parent = c->workdir; in ovl_copy_up_workdir()
846 ovl_cleanup(ofs, c->workdir, temp); in ovl_copy_up_workdir()
865 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile()
941 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
1132 .workdir = ovl_workdir(dentry), in ovl_copy_up_one()
1135 if (WARN_ON(!ctx.workdir)) in ovl_copy_up_one()
H A Dinode.c528 struct dentry *workdir = ovl_workdir(dentry); in ovl_set_acl() local
531 if (!IS_POSIXACL(d_inode(workdir))) in ovl_set_acl()
/linux/tools/testing/selftests/hid/
H A Dhid_common.h319 static bool match_sysfs_device(struct uhid_device *hid, const char *workdir, struct dirent *dir) in match_sysfs_device() argument
334 sprintf(uevent, "%s/%s/uevent", workdir, dir->d_name); in match_sysfs_device()
353 const char *workdir = "/sys/devices/virtual/misc/uhid"; in get_hid_id() local
363 d = opendir(workdir); in get_hid_id()
366 if (!match_sysfs_device(hid, workdir, dir)) in get_hid_id()
385 const char *workdir = "/sys/devices/virtual/misc/uhid"; in get_hidraw() local
394 d = opendir(workdir); in get_hidraw()
400 if (!match_sysfs_device(hid, workdir, dir)) in get_hidraw()
403 sprintf(sysfs, "%s/%s/hidraw", workdir, dir->d_name); in get_hidraw()
H A Dvmtest.sh
/linux/Documentation/filesystems/
H A Doverlayfs.rst124 workdir=/work /merged
126 The "workdir" needs to be an empty directory on the same filesystem
358 As the example shows, "upperdir=" and "workdir=" may be omitted. In
469 "datadir+", "lowerdir+", "upperdir", and "workdir+" mount options with the
477 fsconfig(fs_fd, FSCONFIG_SET_FD, "workdir", NULL, fd_work);
536 Using an upper layer path and/or a workdir path that are already used by
540 upper layer and/or workdir path, the behavior of the overlay is undefined,
806 "$workdir/work/incompat/volatile" is created. During next mount, overlay