Searched refs:add_dir (Results 1 – 6 of 6) sorted by relevance
18 .add_dir(bus_name) in sys_bus_register()42 Some(lock_bus) => match lock_bus.add_dir("devices") { in sys_bus_init()43 Ok(devices) => match lock_bus.add_dir("drivers") { in sys_bus_init()
17 .add_dir(class_name) in sys_class_register()50 .add_dir(device_name) in class_device_register()
17 .add_dir(device_name) in sys_device_register()
17 .add_dir(fs_name) in fs_register()
112 match root.add_dir("devices") { in new()119 match root.add_dir("bus") { in new()126 match root.add_dir("class") { in new()133 match root.add_dir("fs") { in new()337 pub fn add_dir(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in add_dir() method
70 root.add_dir("char") in new()73 root.add_dir("block") in new()248 pub fn add_dir(&self, name: &str) -> Result<(), SystemError> { in add_dir() method