Lines Matching refs:IndexNode
2 core::generate_inode_id, file::FileMode, FileSystem, FileType, FsInfo, IndexNode, Metadata,
26 static mut __SYS_DEVICES_INODE: *mut Arc<dyn IndexNode> = null_mut();
27 static mut __SYS_BUS_INODE: *mut Arc<dyn IndexNode> = null_mut();
28 static mut __SYS_CLASS_INODE: *mut Arc<dyn IndexNode> = null_mut();
29 static mut __SYS_FS_INODE: *mut Arc<dyn IndexNode> = null_mut();
34 pub fn SYS_DEVICES_INODE() -> Arc<dyn IndexNode> { in SYS_DEVICES_INODE()
43 pub fn SYS_BUS_INODE() -> Arc<dyn IndexNode> { in SYS_BUS_INODE()
52 pub fn SYS_CLASS_INODE() -> Arc<dyn IndexNode> { in SYS_CLASS_INODE()
61 pub fn SYS_FS_INODE() -> Arc<dyn IndexNode> { in SYS_FS_INODE()
79 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() argument
149 impl IndexNode for LockedSysFSInode {
238 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() argument
290 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_create_with_data() argument
337 pub fn add_dir(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in add_dir() argument
357 pub fn add_file(&self, name: &str, file: Arc<dyn IndexNode>) -> Result<(), SystemError> { in add_file()
373 pub fn link(&self) -> Arc<dyn IndexNode> { in link() argument
405 children: BTreeMap<String, Arc<dyn IndexNode>>,