Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\internal.h Create Date:2022-07-28 06:11:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.

Proto:static inline struct page *mem_map_next(struct page *iter, struct page *base, int offset)

Type:struct page

Parameter:

TypeParameterName
struct page *iter
struct page *base
intoffset
416  If Value for the false possibility is greater at compile time((offset & (MAX_ORDER_NR_PAGES - 1)) == 0) Then
417  pfn = page_to_pfn(base) + offset
418  If Not pfn_valid(pfn) Then Return NULL
420  Return pfn_to_page(pfn)
422  Return iter + 1
Caller
NameDescribe
clear_gigantic_page
copy_user_gigantic_page
prep_compound_gigantic_page
__copy_gigantic_pageGigantic pages are so large that we do not guarantee that page++ pointer* arithmetic will work across the entire page. We need something more* specialized.