Lines Matching refs:virt_addr
230 def entry_index(self, virt_addr): argument
233 return (virt_addr >> self.addr_shift) & (self.num_entries - 1)
235 def has_entry(self, virt_addr): argument
238 index = self.entry_index(virt_addr)
242 def lookup(self, virt_addr): argument
247 index = self.entry_index(virt_addr)
251 def map(self, virt_addr, phys_addr, entry_flags): argument
258 index = self.entry_index(virt_addr)
262 phys_addr, virt_addr, dump_flags(entry_flags)))
267 def set_perms(self, virt_addr, entry_flags): argument
271 index = self.entry_index(virt_addr)
275 virt_addr, dump_flags(entry_flags)))
367 def is_mapped(self, virt_addr, level): argument
382 if table.has_entry(virt_addr):
386 table = self.tables[table.lookup(virt_addr)]
403 def new_child_table(self, table, virt_addr, depth): argument
410 table.map(virt_addr, new_table_addr, INT_FLAGS)
414 def map_page(self, virt_addr, phys_addr, flags, reserve, level=PT_LEVEL): argument
424 if not table.has_entry(virt_addr):
425 table = self.new_child_table(table, virt_addr, depth)
427 table = self.tables[table.lookup(virt_addr)]
431 table.map(virt_addr, phys_addr, flags)