Searched refs:sysfs_root (Results 1 – 2 of 2) sorted by relevance
23 static struct kernfs_root *sysfs_root; variable70 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()
147 static char *sysfs_get(const char *sysfs_root, const char *id) in sysfs_get() argument157 snprintf(path, sizeof(path), "%s/%s", sysfs_root, id); in sysfs_get()199 static bool sysfs_match(const char *sysfs_root, snd_config_t *config) in sysfs_match() argument219 v = sysfs_get(sysfs_root, path_string); in sysfs_match()