函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:58:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This routine is called to restore a reservation on error paths
函数原型:static void restore_reserve_on_error(struct hstate *h, struct vm_area_struct *vma, unsigned long address, struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hstate * | h | |
struct vm_area_struct * | vma | |
unsigned long | address | |
struct page * | page |
1967 | rc等于vma_needs_reservation(h, vma, address) |
1969 | 如果此条件成立可能性小(为编译器优化)(rc < 0)则 |
1982 | 否则如果rc则 |
1983 | rc等于vma_add_reservation(h, vma, address) |
1990 | 否则vma_end_reservation(h, vma, address) |
名称 | 描述 |
---|---|
hugetlb_cow | Hugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration. |
hugetlb_no_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |