Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:40:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zap_pmd_range
Proto:static inline unsigned long zap_pmd_range(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud, unsigned long addr, unsigned long end, struct zap_details *details)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mmu_gather * | tlb | |
| struct vm_area_struct * | vma | |
| pud_t * | pud | |
| unsigned long | addr | |
| unsigned long | end | |
| struct zap_details * | details |
| 1165 | pmd = pmd_offset(pud, addr) |
| 1166 | Do |
| 1167 | next = pmd_addr_end(addr, end) |
| 1168 | If is_swap_pmd( * pmd) || pmd_trans_huge( * pmd) || pmd_devmap( * pmd) Then |
| 1182 | If This function is meant to be used by sites walking pagetables with* the mmap_sem hold in read mode to protect against MADV_DONTNEED and* transhuge page faults Then Go to next |
| 1185 | next : |
| 1186 | cond_resched() |
| 1189 | Return addr |
| Name | Describe |
|---|---|
| zap_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 |