Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:device_private_entry_to_page

Proto:static inline struct page *device_private_entry_to_page(swp_entry_t entry)

Type:struct page

Parameter:

TypeParameterName
swp_entry_tentry
130  Return pfn_to_page(Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format)
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.
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