Searched refs:nod (Results 1 – 2 of 2) sorted by relevance
583 let nod = Arc::new(LockedRamFSInode(SpinLock::new(RamFSInode { in mknod() localVariable609 nod.0.lock().self_ref = Arc::downgrade(&nod); in mknod()612 nod.0.lock().metadata.file_type = FileType::Pipe; in mknod()616 nod.0.lock().special_node = Some(SpecialNodeData::Pipe(pipe_inode)); in mknod()618 nod.0.lock().metadata.file_type = FileType::BlockDevice; in mknod()621 nod.0.lock().metadata.file_type = FileType::CharDevice; in mknod()625 inode.children.insert(filename, nod.clone()); in mknod()626 Ok(nod) in mknod()
1619 let nod = guard.children.remove(&to_search_name(name)); in unlink() localVariable1622 if nod.is_some() { in unlink()1812 let nod = LockedFATInode::new( in mknod() localVariable1820 nod.0.lock().metadata.file_type = FileType::Pipe; in mknod()1824 nod.0.lock().special_node = Some(SpecialNodeData::Pipe(pipe_inode)); in mknod()1826 nod.0.lock().metadata.file_type = FileType::BlockDevice; in mknod()1829 nod.0.lock().metadata.file_type = FileType::CharDevice; in mknod()1835 inode.children.insert(to_search_name(filename), nod.clone()); in mknod()1836 Ok(nod) in mknod()