函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:59:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Forward declaration
函数原型:static int hugetlb_acct_memory(struct hstate *h, long delta)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hstate * | h | |
long | delta |
3123 | 加自旋锁 |
3141 | 如果delta大于0则 |
3142 | 如果Increase the hugetlb pool such that it can accommodate a reservation* of size 'delta'.小于0则转到:out |
3145 | 如果delta大于cpuset_mems_nr(free_huge_pages_node)则 |
3151 | ret等于0 |
3152 | 如果delta小于0则This routine has two main purposes:* 1) Decrement the reservation count (resv_huge_pages) by the value passed* in unused_resv_pages |
3155 | out : |
3156 | 自旋锁解锁 |
3157 | 返回:ret |
名称 | 描述 |
---|---|
unlock_or_release_subpool | |
hugepage_new_subpool | |
hugetlb_fix_reserve_counts | A rare out of memory error was encountered which prevented removal of* the reserve map region for a page. The huge page itself was free'ed* and removed from the page cache. This routine will adjust the subpool |
alloc_huge_page | |
hugetlb_vm_op_close | |
hugetlb_reserve_pages | |
hugetlb_unreserve_pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |