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 { impl
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.rs148 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
152 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/pci/
H A Ddevice.rs133 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
137 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
H A Draw_device.rs156 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
160 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 Dcpu.rs200 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
204 fn inode(&self) -> Option<Arc<KernFSInode>> { in 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()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs268 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
272 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
471 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
475 fn inode(&self) -> Option<Arc<KernFSInode>> { in 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.rs132 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
136 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
712 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
716 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
913 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
917 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs417 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
421 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
604 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
608 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs222 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
226 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()

12