函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\internal.h Create Date:2022-07-27 07:09:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline struct page *mem_map_offset(struct page *base, int offset)

返回类型:struct page

参数:

类型参数名称
struct page *base
intoffset
404  如果此条件成立可能性小(为编译器优化)(offset >= MAX_ORDER_NR_PAGES)则返回:nth_page(base, offset)
406  返回:baseoffset
调用者
名称描述
follow_hugetlb_page