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()
1617 let nod = guard.children.remove(&to_search_name(name)); in unlink() localVariable1620 if nod.is_some() { in unlink()1810 let nod = LockedFATInode::new( in mknod() localVariable1818 nod.0.lock().metadata.file_type = FileType::Pipe; in mknod()1822 nod.0.lock().special_node = Some(SpecialNodeData::Pipe(pipe_inode)); in mknod()1824 nod.0.lock().metadata.file_type = FileType::BlockDevice; in mknod()1827 nod.0.lock().metadata.file_type = FileType::CharDevice; in mknod()1833 inode.children.insert(to_search_name(filename), nod.clone()); in mknod()1834 Ok(nod) in mknod()