crash.types.page module
***********************

class crash.types.page.Page(obj: Value, pfn: int)

   Bases: "object"

   BITS_PER_LONG = -1

   NODES_WIDTH = -1

   PAGE_SHIFT = 12

   PAGE_SIZE = 4096

   PG_lru = -1

   PG_slab = -1

   PG_tail = -1

   SECTIONS_PER_ROOT = -1

   SECTION_SIZE_BITS = -1

   ZONES_WIDTH = -1

   compound_head() -> Page

   compound_head_name = None

   directmap_base = 18446612132314218496

   classmethod from_obj(page: Value) -> Page

   classmethod from_page_addr(addr: int) -> Page

   get_nid() -> int

   get_slab_cache() -> Value

   get_slab_page() -> Value

   get_zid() -> int

   is_anon() -> bool

   is_lru() -> bool

   is_slab() -> bool

   is_tail() -> bool

   pageflags: Dict[str, int] = {}

   classmethod pfn_to_page(pfn: int) -> Value

   classmethod setup_directmap_base(symbol: Symbol) -> None

   classmethod setup_mem_section(gdbtype: Type) -> None

   classmethod setup_nodes_width(symbol: Symbol | MinSymbol) -> None

      Detect NODES_WITH from the in-kernel config table

      Parameters:
         **symbol** -- The "kernel_config_data" symbol or minimal
         symbol. It is not used directly.  It is used to determine
         whether the config data should be available.

   classmethod setup_page_type(gdbtype: Type) -> None

   setup_page_type_done = False

   classmethod setup_pageflags(gdbtype: Type) -> None

   setup_pageflags_done = False

   classmethod setup_pageflags_finish() -> None

   setup_pageflags_finish_done = False

   classmethod setup_vmemmap_base(symbol: Symbol) -> None

   classmethod setup_zone_type(gdbtype: Type) -> None

   slab_cache_name = None

   slab_page_name = None

   sparsemem = False

   vmemmap: Value

   vmemmap_base = 18446719884453740544

crash.types.page.for_each_page() -> Iterable[Page]

crash.types.page.for_each_page_flag(flag: int) -> Iterable[Page]

crash.types.page.for_each_struct_page_pfn() -> Iterable[Tuple[Value, int]]

crash.types.page.page_addr(struct_page_addr: int) -> int

crash.types.page.page_from_addr(addr: int) -> Page

crash.types.page.page_from_gdb_obj(gdb_obj: Value) -> Page

crash.types.page.pfn_to_page(pfn: int) -> Page

crash.types.page.safe_page_from_page_addr(addr: int) -> Page | None
