Home
last modified time | relevance | path

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

/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/fs/overlayfs/
H A Dparams.c374 swap(config->workdir, *pname); in ovl_add_layer()
848 dput(ofs->workdir); in ovl_free_fs()
870 kfree(ofs->config.workdir); in ovl_free_fs()
883 if (config->workdir) { in ovl_fs_params_verify()
885 config->workdir); in ovl_fs_params_verify()
886 kfree(config->workdir); in ovl_fs_params_verify()
887 config->workdir = NULL; in ovl_fs_params_verify()
1078 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()
949 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
1140 .workdir = ovl_workdir(dentry), in ovl_copy_up_one()
1143 if (WARN_ON(!ctx.workdir)) in ovl_copy_up_one()
H A Dinode.c544 struct dentry *workdir = ovl_workdir(dentry); in ovl_set_acl() local
547 if (!IS_POSIXACL(d_inode(workdir))) in ovl_set_acl()
H A Dutil.c62 return ofs->workdir; in ovl_workdir()
98 return ofs->config.index ? ofs->workdir : NULL; in ovl_indexdir()
H A Dreaddir.c1258 struct dentry *indexdir = ofs->workdir; in ovl_indexdir_cleanup()
/linux/Documentation/filesystems/
H A Doverlayfs.rst124 workdir=/work /merged
126 The "workdir" needs to be a directory on the same filesystem as upperdir.
373 As the example shows, "upperdir=" and "workdir=" may be omitted. In
484 "datadir+", "lowerdir+", "upperdir", and "workdir+" mount options with the
492 fsconfig(fs_fd, FSCONFIG_SET_FD, "workdir", NULL, fd_work);
551 Using an upper layer path and/or a workdir path that are already used by
555 upper layer and/or workdir path, the behavior of the overlay is undefined,
871 "$workdir/work/incompat/volatile" is created. During next mount, overlay