Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs26 struct LockedRamFSInode(SpinLock<RamFSInode>);
37 pub struct RamFSInode { struct
78 let root: Arc<LockedRamFSInode> = Arc::new(LockedRamFSInode(SpinLock::new(RamFSInode { in new()
105 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new()
128 let inode: SpinLockGuard<RamFSInode> = self.0.lock(); in read_at()
161 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in write_at()
182 let inode: SpinLockGuard<RamFSInode> = self.0.lock(); in poll()
249 let result: Arc<LockedRamFSInode> = Arc::new(LockedRamFSInode(SpinLock::new(RamFSInode { in create_with_data()
286 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in link()
287 let mut other_locked: SpinLockGuard<RamFSInode> = other.0.lock(); in link()
[all …]