函数逻辑报告

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-independent representation of a swp_entry_t into the* arch-dependent pte representation.

函数原型:static inline pte_t swp_entry_to_pte(swp_entry_t entry)

返回类型:pte_t

参数:

类型参数名称
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  返回:__swp_entry_to_pte(arch_entry)
调用者
名称描述
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