Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:25:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dequeue_huge_page_vma
Proto:static struct page *dequeue_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, unsigned long address, int avoid_reserve, long chg)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hstate * | h | |
| struct vm_area_struct * | vma | |
| unsigned long | address | |
| int | avoid_reserve | |
| long | chg |
| 909 | If Not Returns true if the VMA has associated reserve pages && free_huge_pages - resv_huge_pages == 0 Then Go to err |
| 914 | If avoid_reserve && free_huge_pages - resv_huge_pages == 0 Then Go to err |
| 920 | If page && Not avoid_reserve && Returns true if the VMA has associated reserve pages Then |
| 922 | resv_huge_pages-- |
| 925 | mpol_cond_put(mpol) |
| 926 | Return page |
| 928 | err : |
| 929 | Return NULL |
| Name | Describe |
|---|---|
| alloc_huge_page |
| 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 |