Function report | 
Source Code:mm\swapfile.c | 
Create Date:2022-07-28 15:18:21 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:unuse_pmd_range
Proto:static inline int unuse_pmd_range(struct vm_area_struct *vma, pud_t *pud, unsigned long addr, unsigned long end, unsigned int type, bool frontswap, unsigned long *fs_pages_to_unuse)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | |
| pud_t * | pud | |
| unsigned long | addr | |
| unsigned long | end | |
| unsigned int | type | |
| bool | frontswap | |
| unsigned long * | fs_pages_to_unuse | 
| 1986 | pmd = pmd_offset(pud, addr) | 
| 1987 | Do | 
| 1988 | cond_resched() | 
| 1989 | next = pmd_addr_end(addr, end) | 
| 1990 | 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 Continue | 
| 1992 | ret = unuse_pte_range(vma, pmd, addr, next, type, frontswap, fs_pages_to_unuse) | 
| 1997 | Return 0 | 
| Name | Describe | 
|---|---|
| unuse_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  |