Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:25:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Convert the address within this vma to the page offset within* the mapping, in pagecache page units; huge pages here.
Proto:static unsigned long vma_hugecache_offset(struct hstate *h, struct vm_area_struct *vma, unsigned long address)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hstate * | h | |
| struct vm_area_struct * | vma | |
| unsigned long | address |
| 580 | Return ( address - Our start address within vm_mm. >> huge_page_shift(h)) + (Offset (within vm_file) in PAGE_SIZEunits >> huge_page_order(h)) |
| Name | Describe |
|---|---|
| linear_hugepage_index | |
| __vma_reservation_common | |
| hugetlb_vm_op_close | |
| hugetlbfs_pagecache_page | Return the pagecache page at a given address within a VMA |
| hugetlbfs_pagecache_present | Return whether there is a pagecache page to back given address within VMA.* Caller follow_hugetlb_page() holds page_table_lock so we cannot lock_page. |
| hugetlb_fault | |
| hugetlb_mcopy_atomic_pte | Used by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge 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 |