Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return the mem_map entry representing the 'offset' subpage within* the maximally aligned gigantic page 'base'. Handle any discontiguity* in the mem_map at MAX_ORDER_NR_PAGES boundaries.

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

Type:struct page

Parameter:

TypeParameterName
struct page *base
intoffset
404  If Value for the false possibility is greater at compile time(offset >= MAX_ORDER_NR_PAGES) Then Return nth_page(base, offset)
406  Return base + offset
Caller
NameDescribe
follow_hugetlb_page