/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | bus.rs | 10 pub fn sys_bus_register(bus_name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in sys_bus_register() 39 inode: &Arc<dyn IndexNode>, in sys_bus_init() 40 ) -> Result<(Arc<dyn IndexNode>, Arc<dyn IndexNode>), SystemError> { in sys_bus_init() 57 pub fn bus_driver_register(bus_name: &str, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in bus_driver_register() 76 pub fn bus_device_register(bus_name: &str, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in bus_device_register()
|
D | class.rs | 10 pub fn sys_class_register(class_name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in sys_class_register() 42 class: Arc<dyn IndexNode>, in class_device_register() 44 ) -> Result<Arc<dyn IndexNode>, SystemError> { in class_device_register() 60 class: Arc<dyn IndexNode>, in class_device_unregister()
|
D | devices.rs | 10 pub fn sys_device_register(device_name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in sys_device_register()
|
D | fs.rs | 10 pub fn fs_register(fs_name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in fs_register()
|
D | mod.rs | 79 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 240 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 292 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_create_with_data() 339 pub fn add_dir(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in add_dir() 375 pub fn link(&self) -> Arc<dyn IndexNode> { in link()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mod.rs | 88 pub trait IndexNode: Any + Sync + Send + Debug { trait 189 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() 209 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 260 _target: &Arc<dyn IndexNode>, in move_() 273 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 343 impl DowncastArc for dyn IndexNode { implementation 349 impl dyn IndexNode { implementation 362 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup() 377 ) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup_follow_symlink() 519 fn root_inode(&self) -> Arc<dyn IndexNode>; in root_inode()
|
D | mount.rs | 140 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 206 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() 250 target: &Arc<dyn IndexNode>, in move_() 256 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 341 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode()
|
D | file.rs | 106 pub fn new(inode: Arc<dyn IndexNode>, mode: FileMode) -> Result<Self, SystemError> { in new() 288 pub fn inode(&self) -> Arc<dyn IndexNode> { in inode()
|
D | core.rs | 112 new_root_inode: Arc<dyn IndexNode>, in do_migrate()
|
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | driver.rs | 42 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>); in set_sys_info() 47 fn sys_info(&self) -> Option<Arc<dyn IndexNode>>; in sys_info() 99 fn get_sys_info(&self) -> Option<Arc<dyn IndexNode>> { in get_sys_info()
|
D | mod.rs | 189 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>); in set_sys_info() 194 fn sys_info(&self) -> Option<Arc<dyn IndexNode>>; in sys_info() 242 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
|
D | bus.rs | 169 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 57 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 236 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 357 target: &Arc<dyn IndexNode>, in move_() 373 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | mod.rs | 243 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() 249 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info() 366 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info() 372 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
|
/DragonOS-0.1.8/kernel/src/driver/uart/ |
D | uart.rs | 158 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info() 162 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() 215 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info() 219 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | mod.rs | 37 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 295 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_create_with_data() 361 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 368 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 220 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 477 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 582 _target: &Arc<dyn IndexNode>, in move_() 588 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 229 fn root_inode(&self) -> Arc<dyn crate::filesystem::vfs::IndexNode> { in root_inode() 1426 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() 1549 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|