Function report |
Source Code:mm\hmm.c |
Create Date:2022-07-28 16:37:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hmm_vma_walk_test
Proto:static int hmm_vma_walk_test(unsigned long start, unsigned long end, struct mm_walk *walk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | start | |
unsigned long | end | |
struct mm_walk * | walk |
592 | hmm_vma_walk = private |
600 | If Flags, see mm.h. & ( Memory mapped I/O or similar | Page-ranges managed without "struct page", just pure PFN | Can contain "struct page" and pure PFN pages ) Then Return -EFAULT |
608 | If Not (Flags, see mm.h. & currently active flags ) Then |
615 | hmm_range_need_fault(hmm_vma_walk, pfns + ((start - start) >> PAGE_SHIFT determines the page size ), (end - start) >> PAGE_SHIFT determines the page size , 0, & fault, & write_fault) |
619 | If fault || write_fault Then Return -EFAULT |
626 | Return 1 |
629 | Return 0 |
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 |