Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/devfs/
H A Dmod.rs126 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_device() localVariable
131 if dev_root_inode.find("char").is_err() { in register_device()
132 dev_root_inode.create( in register_device()
139 let any_char_inode = dev_root_inode.find("char")?; in register_device()
149 dev_root_inode.add_dev(name, device.clone())?; in register_device()
153 dev_root_inode.add_dev(name, device.clone())?; in register_device()
158 if dev_root_inode.find("block").is_err() { in register_device()
159 dev_root_inode.create( in register_device()
166 let any_block_inode = dev_root_inode.find("block")?; in register_device()
176 dev_root_inode in register_device()
[all …]