Lines Matching refs:page_ext
69 def page_ext_invalid(self, page_ext): argument
70 if page_ext == gdb.Value(0):
72 if page_ext.cast(utils.get_ulong_type()) & PAGE_EXT_INVALID == PAGE_EXT_INVALID:
82 page_ext = section["page_ext"]
83 if self.page_ext_invalid(page_ext):
85 return self.get_entry(page_ext, pfn)
88 page_ext = self.lookup_page_ext(page)
89 if page_ext != gdb.Value(0):
90 return page_ext
94 def get_page_owner(self, page_ext): argument
95 …addr = page_ext.cast(utils.get_ulong_type()) + gdb.parse_and_eval("page_owner_ops")["offset"].cast…
107 page_ext = self.page_ext_get(page)
109 if page_ext == gdb.Value(0):
113 if not (page_ext['flags'] & (1 << PAGE_EXT_OWNER)):
117 if mm.test_bit(PAGE_EXT_OWNER_ALLOCATED, page_ext['flags'].address):
122 if not (page_ext['flags'] & (1 << PAGE_EXT_OWNER_ALLOCATED)):
126 page_owner = self.get_page_owner(page_ext)
164 page_ext = self.page_ext_get(page)
165 if page_ext == gdb.Value(0):
169 if not (page_ext['flags'] & (1 << PAGE_EXT_OWNER)):
172 if not (page_ext['flags'] & (1 << PAGE_EXT_OWNER_ALLOCATED)):
177 page_owner = self.get_page_owner(page_ext)