函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:invoke_need_callbacks

函数原型:static bool __init invoke_need_callbacks(void)

返回类型:bool

参数:

77  entries等于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(struct page extension* This is the feature to manage memory for extended data per page.* Until now, we must modify struct page itself to store extra data per page.* This requires rebuilding the kernel and it is really time consuming process.)
78  bool need = false
80 i小于entries循环
81  如果needneed()则
82  offset等于page_ext_size
83  page_ext_size加等于size
84  need = true
88  返回:need
调用者
名称描述
page_ext_init_flatmem设置虚拟内存