函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swapops.h Create Date:2022-07-27 11:01:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t.

函数原型:static inline swp_entry_t pte_to_swp_entry(pte_t pte)

返回类型:swp_entry_t

参数:

类型参数名称
pte_tpte
69  如果pte_swp_soft_dirty(pte)则pte等于pte_swp_clear_soft_dirty(pte)
71  arch_entry等于__pte_to_swp_entry(pte)
72  返回:Store a type+offset into a swp_entry_t in an arch-independent format
调用者
名称描述
follow_page_pte
copy_one_ptepy one vm_area from one task to the other. Assumes the page tables* already present in the new task to be cleared in the whole range* covered by this vma.
zap_pte_range
do_swap_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 pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases
mincore_pte_range
change_pte_range
map_pte
check_pteheck_pte - check if @pvmw->page is mapped at the @pvmw->pte* page_vma_mapped_walk() found a place where @pvmw->page is *potentially** mapped
madvise_free_pte_range
swap_ra_info
swap_vma_readaheadswap_vma_readahead - swap in pages in hope we need them soon*@entry: swap entry of this memory*@gfp_mask: memory allocation flags*@vmf: fault information* Returns the struct page for entry and addr, after queueing swapin.* Primitive swap readahead code
unuse_pte_range
generic_max_swapfile_sizeFind out how many pages are allowed for a single swap device
is_hugetlb_entry_migration
is_hugetlb_entry_hwpoisoned
copy_hugetlb_page_range
hugetlb_change_protection
remove_migration_pteRestore a potential migration pte to a working pte entry
__migration_entry_waitSomething used the pte of a page under migration. We need to* get to the page and wait until migration is finished.* When we return from this function the fault will be retried.
hmm_vma_handle_pte