Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/devfs/
H A Dmod.rs75 DevFSInode::new(FileType::Dir, ModeType::from_bits_truncate(0o755), 0), in new()
84 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new()
239 pub struct LockedDevFSInode(SpinLock<DevFSInode>);
243 pub struct DevFSInode { struct
258 impl DevFSInode { argument
269 return DevFSInode { in new_with_parent()
297 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in add_dir()
344 mut guard: SpinLockGuard<DevFSInode>, in do_create_with_data() argument
360 let result: Arc<LockedDevFSInode> = Arc::new(LockedDevFSInode(SpinLock::new(DevFSInode { in do_create_with_data()
418 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in create_with_data()
[all …]