Searched refs:virtual_dir (Results 1 – 2 of 2) sorted by relevance
1159 struct kobject *virtual_dir; in subsys_virtual_register() local1161 virtual_dir = virtual_device_parent(NULL); in subsys_virtual_register()1162 if (!virtual_dir) in subsys_virtual_register()1165 return subsys_register(subsys, groups, virtual_dir); in subsys_virtual_register()
3004 static struct kobject *virtual_dir = NULL; in virtual_device_parent() local3006 if (!virtual_dir) in virtual_device_parent()3007 virtual_dir = kobject_create_and_add("virtual", in virtual_device_parent()3010 return virtual_dir; in virtual_device_parent()