函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:56:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert the address within this vma to the page offset within* the mapping, in pagecache page units; huge pages here.
函数原型:static unsigned long vma_hugecache_offset(struct hstate *h, struct vm_area_struct *vma, unsigned long address)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hstate * | h | |
struct vm_area_struct * | vma | |
unsigned long | address |
580 | 返回:address减Our start address within vm_mm. 右移huge_page_shift(h)位的值加Offset (within vm_file) in PAGE_SIZEunits 右移huge_page_order(h)位的值 |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |