Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:02:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:filemap_map_pages
Proto:void filemap_map_pages(struct vm_fault *vmf, unsigned long start_pgoff, unsigned long end_pgoff)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_fault * | vmf | |
unsigned long | start_pgoff | |
unsigned long | end_pgoff |
2607 | last_pgoff = start_pgoff |
2616 | If xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer. Then Go to next |
2623 | If PageLocked(page) Then Go to next |
2625 | If Not page_cache_get_speculative(page) Then Go to next |
2629 | If Value for the false possibility is greater at compile time(page != xas_reload() - Refetch an entry from the xarray) Then Go to skip |
2631 | page = find_subpage(page, xa_index) |
2633 | If Not PageUptodate(page) || PageReadahead(page) || PageHWPoison(page) Then Go to skip |
2637 | If Not Return true if the page was successfully locked Then Go to skip |
2640 | If See page-flags.h for PAGE_MAPPING_FLAGS != mapping || Not PageUptodate(page) Then Go to unlock |
2644 | If Our offset within mapping. >= max_idx Then Go to unlock |
2647 | If Cache miss stat for mmap accesses > 0 Then Cache miss stat for mmap accesses -- |
2653 | last_pgoff = xa_index |
2654 | If alloc_set_pte(vmf, NULL, page) Then Go to unlock |
2657 | Go to next |
2658 | unlock : |
2660 | skip : |
2662 | next : |
2664 | If pmd_trans_huge( * Pointer to pmd entry matching* the 'address' ) Then Break |
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 |