Searched refs:temp (Results 1 – 9 of 9) sorted by relevance
/DragonOS/kernel/src/libs/ |
H A D | rbtree.rs | 161 let mut temp = self; 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; 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/kernel/src/driver/video/fbdev/base/ |
H A D | render_helper.rs | 99 let mut temp; in full_buffer() localVariable 106 temp = color & mask; in full_buffer() 108 temp <<= (4 - self.byte_per_pixel) * 8; in full_buffer() 109 temp >>= buffer_pointer * 8; in full_buffer() 110 self.buffer |= temp; in full_buffer()
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 80 char temp[len - i]; in read_symbol() local 81 memcpy(temp, symbol_name + i, len - i); in read_symbol() 83 memcpy(symbol_name + i + 1, temp, len - i); in read_symbol()
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | block_device.rs | 438 let mut temp = vec![0; 1usize << self.blk_size_log2()]; in write_at_bytes() localVariable 440 self.read_at(range.lba_start, 1, &mut temp[..])?; in write_at_bytes() 442 temp[range.begin..range.end].copy_from_slice(buf_slice); in write_at_bytes() 443 self.write_at(range.lba_start, 1, &temp[..])?; in write_at_bytes() 480 let mut temp = vec![0; 1usize << self.blk_size_log2()]; in read_at_bytes() localVariable 481 self.read_at(range.lba_start, 1, &mut temp[..])?; in read_at_bytes() 484 buf_slice.copy_from_slice(&temp[range.begin..range.end]); in read_at_bytes()
|
/DragonOS/kernel/src/arch/x86_64/pci/ |
H A D | pci.rs | 49 let temp = CurrentPortIOArch::in32(PORT_PCI_CONFIG_DATA); in read_config() localVariable 50 temp in read_config()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci_irq.rs | 446 let temp = message_control & (!0x0070); in msi_install() localVariable 450 (temp as u32) << 16, in msi_install() 454 let temp = message_control & (!0x0070); in msi_install() localVariable 458 ((temp | (0x0001 << 4)) as u32) << 16, in msi_install() 462 let temp = message_control & (!0x0070); in msi_install() localVariable 466 ((temp | (0x0002 << 4)) as u32) << 16, in msi_install() 470 let temp = message_control & (!0x0070); in msi_install() localVariable 474 ((temp | (0x0003 << 4)) as u32) << 16, in msi_install() 478 let temp = message_control & (!0x0070); in msi_install() localVariable 482 ((temp | (0x0004 << 4)) as u32) << 16, in msi_install() [all …]
|
/DragonOS/kernel/src/time/ |
H A D | timekeeping.rs | 126 let mut temp = NTP_INTERVAL_LENGTH << clock_data.shift; in timekeeper_setup_internals() localVariable 127 let ntpinterval = temp; in timekeeper_setup_internals() 128 temp += (clock_data.mult / 2) as u64; in timekeeper_setup_internals() 131 timekeeper.cycle_interval = CycleNum::new(temp); in timekeeper_setup_internals() 132 timekeeper.xtime_interval = temp * clock_data.mult as u64; in timekeeper_setup_internals()
|
/DragonOS/docs/kernel/locking/ |
H A D | rwlock.md | 182 "Upgrader1 after upgrade: the value is {temp} 184 temp = *upgraded_guard
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.9.md | 1934 * temp fix
|