Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:40:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_pmd_range
Proto:static inline int copy_pmd_range(struct mm_struct *dst_mm, struct mm_struct *src_mm, pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, unsigned long addr, unsigned long end)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | dst_mm | |
struct mm_struct * | src_mm | |
pud_t * | dst_pud | |
pud_t * | src_pud | |
struct vm_area_struct * | vma | |
unsigned long | addr | |
unsigned long | end |
875 | src_pmd = pmd_offset(src_pud, addr) |
876 | Do |
877 | next = pmd_addr_end(addr, end) |
878 | If is_swap_pmd( * src_pmd) || pmd_trans_huge( * src_pmd) || pmd_devmap( * src_pmd) Then |
881 | VM_BUG_ON_VMA(next - addr != HPAGE_PMD_SIZE, vma) |
886 | If Not err Then Continue |
890 | If pmd_none_or_clear_bad(src_pmd) Then Continue |
896 | Return 0 |
Name | Describe |
---|---|
copy_pud_range |
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 |