Home
last modified time | relevance | path

Searched defs:KernFSInode (Results 1 – 25 of 37) sorted by relevance

12

/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs76 let ptr = root_inode.as_ref() as *const KernFSInode as *mut KernFSInode; in new() constant
124 pub struct KernFSInode { struct
125 inner: RwLock<InnerKernFSInode>, argument
129 self_ref: Weak<KernFSInode>, argument
135 children: SpinLock<HashMap<String, Arc<KernFSInode>>>, argument
144 parent: Weak<KernFSInode>, argument
153 impl IndexNode for KernFSInode { implementation
387 impl KernFSInode { implementation
389 parent: Option<Arc<KernFSInode>>, in new()
395 ) -> Arc<KernFSInode> { in new()
[all …]
H A Dcallback.rs44 kern_inode: Arc<KernFSInode>, in new()
54 pub fn kern_inode(&self) -> &Arc<KernFSInode> { in kern_inode()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dsymlink.rs66 inode: &Arc<KernFSInode>, in do_create_link_sd()
98 inode: &Arc<KernFSInode>, in create_link_sd()
H A Dgroup.rs169 parent: Arc<KernFSInode>, in group_create_files()
217 fn group_remove_files(&self, _parent: &Arc<KernFSInode>, _group: &'static dyn AttributeGroup) { in group_remove_files()
H A Ddir.rs57 pub fn create_dir(&self, kobj: Arc<dyn KObject>) -> Result<Arc<KernFSInode>, SystemError> { in create_dir()
H A Dmod.rs219 pub fn root_inode(&self) -> &Arc<KernFSInode> { in root_inode()
228 pub(self) fn warn_duplicate(&self, parent: &Arc<KernFSInode>, name: &str) { in warn_duplicate()
H A Dfile.rs117 parent: &Arc<KernFSInode>, in add_file_with_mode()
235 parent: &Arc<KernFSInode>, in add_bin_file_with_mode()
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs109 fn set_inode(&self, _inode: Option<Arc<KernFSInode>>) { in set_inode()
113 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs120 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
124 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
H A Dpt_device.rs174 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
178 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs139 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
143 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
H A Di8042_ports.rs122 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
126 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
H A Di8042_device.rs125 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
129 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs154 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
158 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/base/
H A Dkset.rs154 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
158 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
H A Dkobject.rs30 fn set_inode(&self, inode: Option<Arc<KernFSInode>>); in set_inode()
33 fn inode(&self) -> Option<Arc<KernFSInode>>; in inode()
H A Dcpu.rs209 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
213 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs308 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
312 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
507 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
511 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/pci/
H A Draw_device.rs180 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
184 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
H A Ddevice.rs140 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
144 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs164 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
168 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs181 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
185 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs139 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
143 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
725 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
729 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
930 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
934 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs424 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
428 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
611 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
615 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs226 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
230 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()

12