函数逻辑报告 |
Source Code:include\linux\pagemap.h |
Create Date:2022-07-27 06:45:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:linear_page_index
函数原型:static inline unsigned long linear_page_index(struct vm_area_struct *vma, unsigned long address)
返回类型:unsigned long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | address |
| 451 | 如果此条件成立可能性小(为编译器优化)(is_vm_hugetlb_page(vma))则返回:linear_hugepage_index(vma, address) |
| 455 | 返回:pgoff |
| 名称 | 描述 |
|---|---|
| print_bad_pte | This function is called to print an error when a bad pte* is found. For example, we might have a PFN-mapped pte in* a region that doesn't allow it.* The calling function must still handle the error. |
| __handle_mm_fault | By the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry(). |
| __mincore_unmapped_range | |
| __page_set_anon_rmap | __page_set_anon_rmap - set up new anonymous rmap*@page: Page or Hugepage to add to rmap*@vma: VM area to add page to.*@address: User virtual address of the mapping *@exclusive: the page is exclusively owned by the current process |
| __page_check_anon_rmap | __page_check_anon_rmap - sanity check anonymous rmap addition*@page: the page to add the mapping to*@vma: the vm area in which the mapping is added*@address: the user virtual address mapped |
| ksm_might_need_to_copy | |
| reuse_ksm_page | |
| remove_migration_pte | Restore a potential migration pte to a working pte entry |
| __collapse_huge_page_swapin | Bring missing pages in from swap, to complete THP collapse.* Only done if khugepaged_scan_pmd believes it is worthwhile.* Called and returns without pte mapped or spinlocks held,* but with mmap_sem held to protect against vma changes. |
| khugepaged_scan_mm_slot | |
| mc_handle_file_pte | |
| mcopy_atomic_pte | |
| mfill_zeropage_pte | |
| __mcopy_atomic_hugetlb | __mcopy_atomic processing for HUGETLB vmas. Note that this routine is* called with mmap_sem held, it will release mmap_sem before returning. |
| dax_associate_entry | TODO: for reflink+dax we need a way to associate a single page with* multiple address_space instances at different linear_page_index()* offsets. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |