Home
last modified time | relevance | path

Searched defs:IndexNode (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dbus.rs10 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()
Dclass.rs10 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()
Ddevices.rs10 pub fn sys_device_register(device_name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in sys_device_register()
Dfs.rs10 pub fn fs_register(fs_name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in fs_register()
Dmod.rs79 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/
Dmod.rs88 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()
Dmount.rs140 ) -> 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()
Dfile.rs106 pub fn new(inode: Arc<dyn IndexNode>, mode: FileMode) -> Result<Self, SystemError> { in new()
288 pub fn inode(&self) -> Arc<dyn IndexNode> { in inode()
Dcore.rs112 new_root_inode: Arc<dyn IndexNode>, in do_migrate()
/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs42 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()
Dmod.rs189 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()
Dbus.rs169 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs57 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/
Dmod.rs243 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/
Duart.rs158 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/
Dmod.rs37 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/
Dmod.rs220 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/
Dfs.rs229 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()