Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-28 06:00:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pfn_pte

Proto:static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot)

Type:pte_t

Parameter:

TypeParameterName
unsigned longpage_nr
pgprot_tpgprot
567  pfn = page_nr << PAGE_SHIFT determines the page size
568  pfn ^= Entries that were set to PROT_NONE are inverted
569  pfn &= Extracts the PFN from a (pte|pmd|pud|pgd)val_t of a 4KB page
570  Return __pte(pfn | check_pgprot(pgprot))
Caller
NameDescribe
ioremap_pte_range
map_tboot_page
machine_kexec_page_table_set_one
is_crashed_pfn_valid
remap_pte_rangemaps a range of physical memory into the requested pages. the old* mappings are removed. any references to nonexistent pages results* in null mappings (currently treated as "copy-on-access")
do_anonymous_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with mmap_sem still held, but pte unmapped and unlocked.
vmemmap_pte_populate
replace_pageplace_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte
zero_pte_populate
__split_huge_zero_page_pmd
mfill_zeropage_pte