Searched refs:dev_root_inode (Results 1 – 1 of 1) sorted by relevance
103 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_device() localVariable108 if let Err(_) = dev_root_inode.find("char") { in register_device()109 dev_root_inode.create("char", FileType::Dir, 0o755)?; in register_device()112 let any_char_inode = dev_root_inode.find("char")?; in register_device()122 dev_root_inode.add_dev(name, device.clone())?; in register_device()127 if let Err(_) = dev_root_inode.find("block") { in register_device()128 dev_root_inode.create("block", FileType::Dir, 0o755)?; in register_device()131 let any_block_inode = dev_root_inode.find("block")?; in register_device()154 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in unregister_device() localVariable158 if let Err(_) = dev_root_inode.find("char") { in unregister_device()[all …]