函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:56:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Must be called with resv->lock held. Calling this with count_only == true* will count the number of pages to be added but will not modify the linked* list.
函数原型:static long add_reservation_in_range(struct resv_map *resv, long f, long t, bool count_only)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct resv_map * | resv | |
long | f | |
long | t | |
bool | count_only |
255 | chg等于0 |
288 | 如果非count_only且rg不等于nrg则 |
294 | 如果非count_only则 |
299 | 返回:chg |
名称 | 描述 |
---|---|
region_add | Add the huge page range represented by [f, t) to the reserve* map |
region_chg | Examine the existing reserve map and determine how many* huge pages in the specified range [f, t) are NOT currently* represented. This routine is called before a subsequent* call to region_add that will actually modify the reserve |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |