函数逻辑报告 |
Source Code:include\linux\pagemap.h |
Create Date:2022-07-27 06:45:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get the offset in PAGE_SIZE.* (TODO: hugepage should have ->index in PAGE_SIZE)
函数原型:static inline unsigned long page_to_pgoff(struct page *page)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
425 | 如果此条件成立可能性小(为编译器优化)(PageHeadHuge() only returns true for hugetlbfs head page, but not for* normal or transparent huge pages.)则返回: Our offset within mapping. 左移compound_order(page)位 |
名称 | 描述 |
---|---|
find_lock_entry | d_lock_entry - locate, pin and lock a page cache entry*@mapping: the address_space to search*@offset: the page cache index* Looks up the page cache slot at @mapping & @offset. If there is a* page cache page, it is returned locked and with an increased |
filemap_fault | lemap_fault - read in file data for page fault handling*@vmf: struct vm_fault containing details of the fault* filemap_fault() is invoked via the vma operations vector for a* mapped memory region to read in file data during a page fault |
__dump_page | |
__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 |
rmap_walk_anon | map_walk_anon - do something to anonymous page using the object-based* rmap method*@page: the page to be handled*@rwc: control variable according to each walk type* Find all the mappings of a page using the mapping pointer and the vma chains |
rmap_walk_file | map_walk_file - do something to file page using the object-based rmap method*@page: the page to be handled*@rwc: control variable according to each walk type* Find all the mappings of a page using the mapping pointer and the vma chains |
collect_procs_anon | Collect processes when the error hit an anonymous page. |
collect_procs_file | Collect processes when the error hit a file mapped page. |
__vma_address | At what user virtual address is page expected in @vma? |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |