/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 6 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 D | symlink.rs | 8 use crate::{driver::base::kobject::KObject, filesystem::kernfs::KernFSInode};
|
H A D | dir.rs | 12 kernfs::{callback::KernInodePrivateData, KernFSInode},
|
H A D | group.rs | 10 kernfs::{callback::KernInodePrivateData, KernFSInode},
|
/DragonOS/kernel/src/filesystem/ |
H A D | mod.rs | 5 pub mod kernfs; module
|
/DragonOS/docs/kernel/filesystem/ |
H A D | index.rst | 15 kernfs
|
H A D | kernfs.md | 10   KernFS是一个伪文件系统,它充当其它内核文件系统的容器,面向用户提供文件接口。其核心功能就是,当kernfs的文件被读/写或者触发回调点的时候,将会对预设的回调函数进行调…
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 28 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 D | tty_driver.rs | 378 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 D | device_node.rs | 6 filesystem::{kernfs::KernFSInode, sysfs::BinAttribute},
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 20 filesystem::kernfs::KernFSInode,
|
H A D | pt_device.rs | 20 kernfs::KernFSInode,
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 17 filesystem::kernfs::KernFSInode,
|
H A D | i8042_device.rs | 16 filesystem::kernfs::KernFSInode,
|
H A D | i8042_driver.rs | 15 filesystem::kernfs::KernFSInode,
|
/DragonOS/kernel/src/driver/pci/ |
H A D | device.rs | 15 filesystem::kernfs::KernFSInode,
|
H A D | raw_device.rs | 15 filesystem::{kernfs::KernFSInode, sysfs::AttributeGroup},
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 384 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 D | kset.rs | 13 filesystem::kernfs::KernFSInode,
|
H A D | kobject.rs | 13 kernfs::KernFSInode,
|
H A D | cpu.rs | 10 filesystem::kernfs::KernFSInode,
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 29 filesystem::kernfs::KernFSInode,
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 422 let kernfs = parent in new() localVariable 428 *inode.fs.write() = Arc::downgrade(&kernfs); in new()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 19 filesystem::kernfs::KernFSInode,
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 29 filesystem::kernfs::KernFSInode,
|