Searched refs:unchecked_add (Results 1 – 6 of 6) sorted by relevance
156 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()162 base_mp = base_mp.unchecked_add(mem::size_of::<mpc_table>() as u64); in setup_mptable()185 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()199 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()211 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()223 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()239 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()257 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()276 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()294 base_mp = base_mp.unchecked_add(size as u64); in setup_mptable()[all …]
330 mem.write_obj_at_addr((i << 21) + 0x83u64, boot_pde_addr.unchecked_add(i * 8)) in setup_page_tables()
97 let len: u32 = mem.read_obj_from_addr(desc_head.unchecked_add(8)).unwrap(); in checked_new()98 let flags: u16 = mem.read_obj_from_addr(desc_head.unchecked_add(12)).unwrap(); in checked_new()99 let next: u16 = mem.read_obj_from_addr(desc_head.unchecked_add(14)).unwrap(); in checked_new()332 let avail_index_addr = self.avail_ring.unchecked_add(2); in get_avail_index()350 .unchecked_add(4 + 8 * u64::from(self.actual_size())); in set_avail_event()374 .unchecked_add(4 + 2 * u64::from(self.actual_size())); in get_used_event()387 let used_index_addr = self.used_ring.unchecked_add(2); in set_used_index()480 let used_elem = used_ring.unchecked_add((4 + next_used * 8) as u64); in add_used()484 mem.write_obj_at_addr(len as u32, used_elem.unchecked_add(4)) in add_used()
219 cmdline_address = cmdline_address.unchecked_add(1); in cmdline_write_end()222 cmdline_address = cmdline_address.unchecked_add(1); in cmdline_write_end()225 cmdline_address = cmdline_address.unchecked_add(1); in cmdline_write_end()228 cmdline_address = cmdline_address.unchecked_add(1); in cmdline_write_end()
43 pub fn unchecked_add(self, offset: u64) -> GuestAddress { in unchecked_add() method
110 self.guest_base.unchecked_add(self.mapping.size() as u64) in end()