Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:40:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zap_pud_range
Proto:static inline unsigned long zap_pud_range(struct mmu_gather *tlb, struct vm_area_struct *vma, p4d_t *p4d, 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 | |
| p4d_t * | p4d | |
| unsigned long | addr | |
| unsigned long | end | |
| struct zap_details * | details |
| 1200 | pud = pud_offset(p4d, addr) |
| 1201 | Do |
| 1202 | next = pud_addr_end(addr, end) |
| 1203 | If pud_trans_huge( * pud) || pud_devmap( * pud) Then |
| 1204 | If next - addr != HPAGE_PUD_SIZE Then |
| 1206 | split_huge_pud(vma, pud, addr) |
| 1211 | If pud_none_or_clear_bad(pud) Then Continue |
| 1214 | next : |
| 1215 | cond_resched() |
| 1218 | Return addr |
| Name | Describe |
|---|---|
| zap_p4d_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 |