Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:25:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Delete the specified range [f, t) from the reserve map. If the* t parameter is LONG_MAX, this indicates that ALL regions after f* should be deleted. Locate the regions which intersect [f, t)* and either trim, delete or split the existing regions.
Proto:static long region_del(struct resv_map *resv, long f, long t)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct resv_map * | resv | |
long | f | |
long | t |
443 | struct file_region * nrg = NULL |
444 | del = 0 |
446 | retry : |
467 | If Not nrg && region_cache_count > adds_in_progress Then |
473 | region_cache_count-- |
476 | If Not nrg Then |
495 | nrg = NULL |
496 | Break |
509 | Else |
515 | spin_unlock( & lock) |
517 | Return del |
Name | Describe |
---|---|
resv_map_release | |
__vma_reservation_common | |
hugetlb_unreserve_pages |
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 |