kernel ¤
Modules:
-
bpf– -
buddydump– -
dmabuf– -
kallsyms– -
kmod– -
macros– -
nftables– -
paging– -
rbtree– -
slab– -
symbol– -
vmmap–
Classes:
-
ArchOps– -
x86Ops– -
i386Ops– -
x86_64Ops– -
Aarch64Ops–
Functions:
-
BIT– -
has_debug_symbols– -
has_debug_info– -
requires_debug_symbols– -
requires_debug_info– -
nproc–Returns the number of processing units available, similar to nproc(1)
-
first_kernel_ro_page–Returns the first kernel mapping which contains the linux_banner
-
kconfig– -
kcmdline– -
kversion– -
krelease– -
get_idt_entries–Retrieves the IDT entries from memory.
-
arch_paginginfo– -
arch_ops– -
arch_symbols– -
ptr_size– -
page_size– -
per_cpu– -
virt_to_phys– -
phys_to_virt– -
phys_to_pfn– -
pfn_to_phys– -
pfn_to_page– -
page_to_pfn– -
phys_to_page– -
page_to_phys– -
virt_to_page– -
page_to_virt– -
pfn_to_virt– -
virt_to_pfn– -
kbase– -
pagewalk– -
paging_enabled– -
num_numa_nodes–Returns the number of NUMA nodes that are online on the system
-
node_data– -
slab_caches– -
per_cpu_offset– -
modules– -
db_list– -
prog_idr– -
map_idr– -
current_task–
Attributes:
ArchOps ¤
Bases: ABC
Methods:
-
per_cpu– -
virt_to_phys– -
phys_to_virt– -
phys_to_pfn– -
pfn_to_phys– -
pfn_to_page– -
page_to_pfn– -
virt_to_pfn– -
pfn_to_virt– -
phys_to_page– -
page_to_phys– -
virt_to_page– -
page_to_virt–
Attributes:
-
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
page_offset(int) – -
phys_offset(int) – -
page_shift(int) – -
vmemmap(int) – -
kbase(int | None) – -
ptr_size(int) – -
page_size(int) –
x86Ops ¤
Bases: ArchOps
Methods:
-
phys_to_virt– -
phys_to_pfn– -
pfn_to_phys– -
paging_enabled– -
per_cpu– -
virt_to_phys– -
pfn_to_page– -
page_to_pfn– -
virt_to_pfn– -
pfn_to_virt– -
phys_to_page– -
page_to_phys– -
virt_to_page– -
page_to_virt–
Attributes:
-
ptr_size(int) – -
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
page_offset(int) – -
phys_offset(int) – -
page_shift(int) – -
vmemmap(int) – -
kbase(int | None) – -
page_size(int) –
i386Ops ¤
Bases: x86Ops
Methods:
-
virt_to_phys– -
per_cpu– -
pfn_to_page– -
page_to_pfn– -
phys_to_virt– -
phys_to_pfn– -
pfn_to_phys– -
virt_to_pfn– -
pfn_to_virt– -
phys_to_page– -
page_to_phys– -
virt_to_page– -
page_to_virt– -
paging_enabled–
Attributes:
-
ptr_size(int) – -
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
page_offset(int) – -
phys_offset(int) – -
page_shift(int) – -
vmemmap(int) – -
kbase(int | None) – -
page_size(int) –
x86_64Ops ¤
Bases: x86Ops
Methods:
-
per_cpu– -
virt_to_phys– -
pfn_to_page– -
page_to_pfn– -
phys_to_virt– -
phys_to_pfn– -
pfn_to_phys– -
virt_to_pfn– -
pfn_to_virt– -
phys_to_page– -
page_to_phys– -
virt_to_page– -
page_to_virt– -
paging_enabled–
Attributes:
-
phys_base– -
ptr_size(int) – -
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
page_offset(int) – -
phys_offset(int) – -
page_shift(int) – -
vmemmap(int) – -
kbase(int | None) – -
page_size(int) –
Aarch64Ops ¤
Bases: ArchOps
Methods:
-
per_cpu– -
virt_to_phys– -
phys_to_virt– -
phys_to_pfn– -
pfn_to_phys– -
pfn_to_page– -
page_to_pfn– -
paging_enabled– -
virt_to_pfn– -
pfn_to_virt– -
phys_to_page– -
page_to_phys– -
virt_to_page– -
page_to_virt–
Attributes:
-
ptr_size– -
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
page_offset(int) – -
phys_offset(int) – -
page_shift(int) – -
vmemmap(int) – -
kbase(int | None) – -
page_size(int) –
requires_debug_symbols ¤
requires_debug_symbols(
*required: str, checkall=False, default: D = None
) -> Callable[[Callable[P, T]], Callable[P, T | D]]
requires_debug_info ¤
first_kernel_ro_page ¤
first_kernel_ro_page() -> Page | None
Returns the first kernel mapping which contains the linux_banner
num_numa_nodes ¤
Returns the number of NUMA nodes that are online on the system