Searched refs:add_dev (Results 1 – 1 of 1) sorted by relevance
87 .add_dev("null", LockedNullInode::new()) in register_bultinin_device()90 .add_dev("zero", LockedZeroInode::new()) in register_bultinin_device()118 dev_char_inode.add_dev(name, device.clone())?; in register_device()122 dev_root_inode.add_dev(name, device.clone())?; in register_device()137 dev_block_inode.add_dev(name, device.clone())?; in register_device()265 pub fn add_dev(&self, name: &str, dev: Arc<dyn IndexNode>) -> Result<(), SystemError> { in add_dev() method