/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 105 upper: Option<Arc<dyn IndexNode>>, in new() 106 lower_inode: Option<Arc<dyn IndexNode>>, in new() 121 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode() 146 pub fn ovl_upper_mnt(&self) -> Arc<dyn IndexNode> { in ovl_upper_mnt() 333 ) -> Result<Arc<dyn IndexNode>, system_error::SystemError> { in mkdir() 378 other: &Arc<dyn IndexNode>, in link() 392 ) -> Result<Arc<dyn IndexNode>, system_error::SystemError> { in create() 400 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, system_error::SystemError> { in find() 425 ) -> Result<Arc<dyn IndexNode>, system_error::SystemError> { in mknod()
|
H A D | copy_up.rs | 32 fn create_upper_inode(&self, metadata: Metadata) -> Result<Arc<dyn IndexNode>, SystemError> { in create_upper_inode()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 127 pub trait IndexNode: Any + Sync + Send + Debug + CastFromSync { interface 238 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() 258 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 303 _target: &Arc<dyn IndexNode>, in move_to() 316 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 500 ) -> Result<Arc<dyn IndexNode>, SystemError> { in mknod() 519 fn mkdir(&self, name: &str, mode: ModeType) -> Result<Arc<dyn IndexNode>, SystemError> { in mkdir() 565 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent() 578 impl DowncastArc for dyn IndexNode { implementation 584 impl dyn IndexNode { implementation [all …]
|
H A D | mount.rs | 264 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 330 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() 374 target: &Arc<dyn IndexNode>, in move_to() 380 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 499 ) -> Result<Arc<dyn IndexNode>, SystemError> { in mknod() 531 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent() 541 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode()
|
H A D | file.rs | 164 pub fn inode(&self) -> Option<Weak<dyn IndexNode>> { in inode() 218 pub fn new(inode: Arc<dyn IndexNode>, mode: FileMode) -> Result<Self, SystemError> { in new() 494 pub fn inode(&self) -> Arc<dyn IndexNode> { in inode()
|
H A D | utils.rs | 44 ) -> Result<(Arc<dyn IndexNode>, String), SystemError> { in user_path_at()
|
H A D | core.rs | 173 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_mkdir_at()
|
H A D | open.rs | 105 fn chown_common(inode: Arc<dyn IndexNode>, uid: usize, gid: usize) -> Result<usize, SystemError> { in chown_common()
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 103 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 307 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 434 target: &Arc<dyn IndexNode>, in move_to() 478 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 569 ) -> Result<Arc<dyn IndexNode>, SystemError> { in mknod() 637 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent()
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | mod.rs | 44 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 349 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_create_with_data() 416 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 423 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 559 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent()
|
/DragonOS/kernel/src/filesystem/devpts/ |
H A D | mod.rs | 68 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode() 222 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 258 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|
/DragonOS/kernel/src/namespaces/ |
H A D | mnt_namespace.rs | 84 pub fn set_root(&mut self, inode: Arc<dyn IndexNode>) { in set_root() 87 pub fn set_pwd(&mut self, inode: Arc<dyn IndexNode>) { in set_pwd()
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 48 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode() 195 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 218 _target: &Arc<dyn IndexNode>, in move_to() 225 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 293 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 598 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 709 _target: &Arc<dyn IndexNode>, in move_to() 715 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 264 fn root_inode(&self) -> Arc<dyn crate::filesystem::vfs::IndexNode> { in root_inode() 1448 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() 1595 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() 1688 target: &Arc<dyn IndexNode>, in move_to() 1799 ) -> Result<Arc<dyn IndexNode>, SystemError> { in mknod() 1847 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent()
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 211 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode()
|