Function report |
Source Code:mm\hmm.c |
Create Date:2022-07-28 16:37:05 |
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_handle_pmd
Proto:static int hmm_vma_handle_pmd(struct mm_walk *walk, unsigned long addr, unsigned long end, uint64_t *pfns, pmd_t pmd)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_walk * | walk | |
unsigned long | addr | |
unsigned long | end | |
uint64_t * | pfns | |
pmd_t | pmd |
218 | hmm_vma_walk = private |
224 | npages = end - addr >> PAGE_SHIFT determines the page size |
225 | cpu_flags = pmd_to_hmm_pfn_flags(range, pmd) |
226 | hmm_range_need_fault(hmm_vma_walk, pfns, npages, cpu_flags, & fault, & write_fault) |
234 | If pmd_devmap(pmd) Then |
235 | pgmap = get_dev_pagemap(pfn, pgmap) |
237 | If Value for the false possibility is greater at compile time(!pgmap) Then Return -EBUSY |
242 | If pgmap Then |
243 | put_dev_pagemap(pgmap) |
244 | pgmap = NULL |
247 | Return 0 |
Name | Describe |
---|---|
hmm_vma_walk_pmd |
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 |