Searched refs:temp (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.7/kernel/src/libs/ |
D | rbtree.rs | 161 let mut temp = self.clone(); in min_node() localVariable 162 while !temp.left().is_null() { in min_node() 163 temp = temp.left(); in min_node() 165 return temp; in min_node() 170 let mut temp = self.clone(); in max_node() localVariable 171 while !temp.right().is_null() { in max_node() 172 temp = temp.right(); in max_node() 174 return temp; in max_node() 182 let mut temp = self; in next() localVariable 184 if temp.parent().is_null() { in next() [all …]
|
/DragonOS-0.1.7/kernel/src/io/ |
D | device.rs | 134 let mut temp = Vec::new(); in read_at() localVariable 135 temp.resize(1usize << self.blk_size_log2(), 0); in read_at() 136 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in read_at() 138 buf_slice.copy_from_slice(&temp[range.begin..range.end]); in read_at() 168 let mut temp = Vec::new(); in write_at() localVariable 169 temp.resize(1usize << self.blk_size_log2(), 0); in write_at() 171 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in write_at() 173 temp[range.begin..range.end].copy_from_slice(&buf_slice); in write_at() 174 BlockDevice::write_at(self, range.lba_start, 1, &temp[..])?; in write_at()
|
/DragonOS-0.1.7/kernel/src/arch/x86_64/pci/ |
D | pci.rs | 24 let temp = io_in32(PORT_PCI_CONFIG_DATA); in read_config() localVariable 25 temp in read_config()
|
/DragonOS-0.1.7/docs/kernel/locking/ |
D | rwlock.md | 182 "Upgrader1 after upgrade: the value is {temp} 184 temp = *upgraded_guard
|