Home
last modified time | relevance | path

Searched refs:LockedNullInode (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs23 self_ref: Weak<LockedNullInode>,
31 pub struct LockedNullInode(SpinLock<NullInode>); struct
33 impl LockedNullInode { implementation
57 let result = Arc::new(LockedNullInode(SpinLock::new(inode))); in new()
64 impl DeviceINode for LockedNullInode { implementation
70 impl IndexNode for LockedNullInode { implementation
H A Dmod.rs106 use null_dev::LockedNullInode; in register_bultinin_device()
110 .add_dev("null", LockedNullInode::new()) in register_bultinin_device()