Home
last modified time | relevance | path

Searched refs:DeviceINode (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs16 use super::{DevFS, DeviceINode};
64 impl DeviceINode for LockedNullInode {
Dzero_dev.rs16 use super::{DevFS, DeviceINode};
64 impl DeviceINode for LockedZeroInode {
Dmod.rs97 pub fn register_device<T: DeviceINode>(&self, name: &str, device: Arc<T>) -> Result<(), i32> { in register_device()
138 pub fn unregister_device<T: DeviceINode>(&self, name: &str, device: Arc<T>) -> Result<(), i32> { in unregister_device()
475 pub trait DeviceINode: IndexNode { trait
502 pub fn devfs_register<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), i32> { in devfs_register()
508 pub fn devfs_unregister<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), i32> { in devfs_unregister()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_inode.rs1 use crate::filesystem::devfs::{DevFS, DeviceINode};
69 impl DeviceINode for LockedAhciInode {
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs5 devfs::{devfs_register, DevFS, DeviceINode},
63 impl DeviceINode for LockedPS2KeyBoardInode {