Home
last modified time | relevance | path

Searched refs:sysfs_root (Results 1 – 4 of 4) sorted by relevance

/linux/fs/sysfs/
H A Dmount.c23 static struct kernfs_root *sysfs_root; variable
70 kfc->root = sysfs_root; in sysfs_init_fs_context()
101 sysfs_root = kernfs_create_root(NULL, KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK, in sysfs_init()
103 if (IS_ERR(sysfs_root)) in sysfs_init()
104 return PTR_ERR(sysfs_root); in sysfs_init()
106 sysfs_root_kn = kernfs_root_to_node(sysfs_root); in sysfs_init()
110 kernfs_destroy_root(sysfs_root); in sysfs_init()
/linux/tools/testing/selftests/alsa/
H A Dconf.c140 static char *sysfs_get(const char *sysfs_root, const char *id) in sysfs_get() argument
150 snprintf(path, sizeof(path), "%s/%s", sysfs_root, id); in sysfs_get()
192 static bool sysfs_match(const char *sysfs_root, snd_config_t *config) in sysfs_match() argument
212 v = sysfs_get(sysfs_root, path_string); in sysfs_match()
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py7 sysfs_root = None variable
12 sysfs_root = '%s/kernel/mm/damon/admin' % mount_point variable
14 if sysfs_root is None:
525 return os.path.join(sysfs_root, 'kdamonds')
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst66 :ref:`/sys/kernel/mm/damon <sysfs_root>`/admin