kernel ¤
Modules:
Classes:
-
ArchOps– -
x86Ops– -
i386Ops– -
x86_64Ops– -
Aarch64Ops–
Functions:
-
BIT– -
has_debug_syms– -
requires_kconfig– -
requires_debug_syms– -
nproc–Returns the number of processing units available, similar to nproc(1)
-
get_first_kernel_ro–Returns the first kernel mapping which contains the linux_banner
-
load_kconfig– -
kconfig– -
kcmdline– -
kversion– -
krelease– -
is_kaslr_enabled– -
kbase– -
get_idt_entries–Retrieves the IDT entries from memory.
-
arch_ops– -
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– -
paging_enabled– -
num_numa_nodes–Returns the number of NUMA nodes that are online on the system
Attributes:
ArchOps ¤
Bases: ABC
Methods:
-
page_size– -
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–
x86Ops ¤
Bases: ArchOps
Methods:
-
page_size– -
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) – -
page_shift(int) – -
page_offset(int) –
i386Ops ¤
Bases: x86Ops
Methods:
-
virt_to_phys– -
per_cpu– -
pfn_to_page– -
page_to_pfn– -
page_size– -
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:
-
START_KERNEL_map– -
ptr_size(int) – -
page_offset(int) – -
page_shift(int) –
x86_64Ops ¤
Bases: x86Ops
Methods:
-
per_cpu– -
virt_to_phys– -
pfn_to_page– -
page_to_pfn– -
cpu_feature_capability– -
uses_5lvl_paging– -
page_size– -
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:
-
VMEMMAP_START– -
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
START_KERNEL_map– -
phys_base– -
ptr_size(int) – -
page_offset(int) – -
page_shift(int) –
Aarch64Ops ¤
Bases: ArchOps
Methods:
-
page_size– -
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:
-
STRUCT_PAGE_SIZE– -
STRUCT_PAGE_SHIFT– -
VA_BITS– -
PAGE_SHIFT– -
PHYS_OFFSET– -
PAGE_OFFSET– -
VMEMMAP_SHIFT– -
VMEMMAP_START–
requires_kconfig ¤
requires_debug_syms ¤
get_first_kernel_ro ¤
get_first_kernel_ro() -> 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