Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs105 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 Dcopy_up.rs32 fn create_upper_inode(&self, metadata: Metadata) -> Result<Arc<dyn IndexNode>, SystemError> { in create_upper_inode()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs127 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 Dmount.rs264 ) -> 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 Dfile.rs164 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 Dutils.rs44 ) -> Result<(Arc<dyn IndexNode>, String), SystemError> { in user_path_at()
H A Dcore.rs173 ) -> Result<Arc<dyn IndexNode>, SystemError> { in do_mkdir_at()
H A Dopen.rs105 fn chown_common(inode: Arc<dyn IndexNode>, uid: usize, gid: usize) -> Result<usize, SystemError> { in chown_common()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs103 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 Dmod.rs44 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 Dmod.rs68 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 Dmnt_namespace.rs84 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 Dmod.rs48 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 Dmod.rs293 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 Dfs.rs264 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 Dmod.rs211 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode()