Searched refs:virtual_dir (Results 1 – 2 of 2) sorted by relevance
1288 struct kobject *virtual_dir; in subsys_virtual_register() local1290 virtual_dir = virtual_device_parent(NULL); in subsys_virtual_register()1291 if (!virtual_dir) in subsys_virtual_register()1294 return subsys_register(subsys, groups, virtual_dir); in subsys_virtual_register()
3124 static struct kobject *virtual_dir = NULL; in virtual_device_parent() local3126 if (!virtual_dir) in virtual_device_parent()3127 virtual_dir = kobject_create_and_add("virtual", in virtual_device_parent()3130 return virtual_dir; in virtual_device_parent()