Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:25:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static long add_reservation_in_range(struct resv_map *resv, long f, long t, bool count_only)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct resv_map * | resv | |
long | f | |
long | t | |
bool | count_only |
255 | chg = 0 |
288 | If Not count_only && rg != nrg Then |
294 | If Not count_only Then |
299 | Return chg |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |