Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swapops.h Create Date:2022-07-28 10:01:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Convert the arch-independent representation of a swp_entry_t into the* arch-dependent pte representation.

Proto:static inline pte_t swp_entry_to_pte(swp_entry_t entry)

Type:pte_t

Parameter:

TypeParameterName
swp_entry_tentry
83  arch_entry = __swp_entry(Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format, Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format)
84  Return __swp_entry_to_pte(arch_entry)
Caller
NameDescribe
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.
change_pte_range
try_to_unmap_one@arg: enum ttu_flags will be passed to this argument
unuse_pteNo need to decide whether this PTE shares the swap entry with others,* just let do_wp_page work it out if a write is requested later - to* force COW, vm_page_prot omits write permission from any private vma.
generic_max_swapfile_sizeFind out how many pages are allowed for a single swap device
copy_hugetlb_page_range
hugetlb_change_protection
remove_migration_pteRestore a potential migration pte to a working pte entry
__split_huge_pmd_locked