Home
last modified time | relevance | path

Searched refs:add_dir (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/sysfs/
Dbus.rs18 .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()
Dclass.rs17 .add_dir(class_name) in sys_class_register()
50 .add_dir(device_name) in class_device_register()
Ddevices.rs17 .add_dir(device_name) in sys_device_register()
Dfs.rs17 .add_dir(fs_name) in fs_register()
Dmod.rs112 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
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dmod.rs70 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