Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmod.rs89 pub trait IndexNode: Any + Sync + Send + Debug { trait
187 ) -> Result<Arc<dyn IndexNode>, i32> { in create()
207 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
258 _target: &Arc<dyn IndexNode>, in move_()
271 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
336 impl dyn IndexNode { implementation
349 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, i32> { in lookup()
364 ) -> Result<Arc<dyn IndexNode>, i32> { in lookup_follow_symlink()
485 fn root_inode(&self) -> Arc<dyn IndexNode>; in root_inode()
Dmount.rs143 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
211 ) -> Result<Arc<dyn IndexNode>, i32> { in create()
255 target: &Arc<dyn IndexNode>, in move_()
261 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
346 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode()
Dfile.rs99 pub fn new(inode: Arc<dyn IndexNode>, mode: FileMode) -> Result<Self, i32> { in new()
263 pub fn inode(&self) -> Arc<dyn IndexNode> { in inode()
Dcore.rs99 new_root_inode: Arc<dyn IndexNode>, in do_migrate()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs59 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
240 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
361 target: &Arc<dyn IndexNode>, in move_()
377 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dmod.rs36 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
276 _data: usize,) -> Result<Arc<dyn IndexNode>, i32>{ in do_create_with_data()
339 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
346 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs218 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
477 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
582 _target: &Arc<dyn IndexNode>, in move_()
588 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs230 fn root_inode(&self) -> Arc<dyn crate::filesystem::vfs::IndexNode> { in root_inode()
1418 ) -> Result<Arc<dyn IndexNode>, i32> { in create()
1503 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()