Home
last modified time | relevance | path

Searched refs:kernfs (Results 1 – 25 of 40) sorted by relevance

12

/DragonOS/kernel/src/filesystem/sysfs/
H A Dmod.rs6 kernfs::{KernFS, KernFSInode},
205 kernfs: Arc<KernFS>, field
210 let kernfs: Arc<KernFS> = KernFS::new(); in new() localVariable
212 let root_inode: Arc<KernFSInode> = kernfs.root_inode().downcast_arc().unwrap(); in new()
214 let sysfs = SysFS { root_inode, kernfs }; in new()
224 return &self.kernfs; in fs()
H A Dsymlink.rs8 use crate::{driver::base::kobject::KObject, filesystem::kernfs::KernFSInode};
H A Ddir.rs12 kernfs::{callback::KernInodePrivateData, KernFSInode},
H A Dgroup.rs10 kernfs::{callback::KernInodePrivateData, KernFSInode},
/DragonOS/kernel/src/filesystem/
H A Dmod.rs5 pub mod kernfs; module
/DragonOS/docs/kernel/filesystem/
H A Dindex.rst15 kernfs
H A Dkernfs.md10 &emsp;&emsp;KernFS是一个伪文件系统,它充当其它内核文件系统的容器,面向用户提供文件接口。其核心功能就是,当kernfs的文件被读/写或者触发回调点的时候,将会对预设的回调函数进行调…
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs28 kernfs::KernFSInode,
448 fn set_inode(&self, inode: Option<Arc<crate::filesystem::kernfs::KernFSInode>>) { in set_inode()
452 fn inode(&self) -> Option<Arc<crate::filesystem::kernfs::KernFSInode>> { in inode()
H A Dtty_driver.rs378 fn set_inode(&self, _inode: Option<alloc::sync::Arc<crate::filesystem::kernfs::KernFSInode>>) { in set_inode()
382 fn inode(&self) -> Option<alloc::sync::Arc<crate::filesystem::kernfs::KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs6 filesystem::{kernfs::KernFSInode, sysfs::BinAttribute},
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs20 filesystem::kernfs::KernFSInode,
H A Dpt_device.rs20 kernfs::KernFSInode,
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs17 filesystem::kernfs::KernFSInode,
H A Di8042_device.rs16 filesystem::kernfs::KernFSInode,
H A Di8042_driver.rs15 filesystem::kernfs::KernFSInode,
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs15 filesystem::kernfs::KernFSInode,
H A Draw_device.rs15 filesystem::{kernfs::KernFSInode, sysfs::AttributeGroup},
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs384 fn set_inode(&self, inode: Option<Arc<crate::filesystem::kernfs::KernFSInode>>) { in set_inode()
388 fn inode(&self) -> Option<Arc<crate::filesystem::kernfs::KernFSInode>> { in inode()
/DragonOS/kernel/src/driver/base/
H A Dkset.rs13 filesystem::kernfs::KernFSInode,
H A Dkobject.rs13 kernfs::KernFSInode,
H A Dcpu.rs10 filesystem::kernfs::KernFSInode,
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs29 filesystem::kernfs::KernFSInode,
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs422 let kernfs = parent in new() localVariable
428 *inode.fs.write() = Arc::downgrade(&kernfs); in new()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs19 filesystem::kernfs::KernFSInode,
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs29 filesystem::kernfs::KernFSInode,

12