Function report |
Source Code:mm\userfaultfd.c |
Create Date:2022-07-28 16:33:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mfill_zeropage_pte
Proto:static int mfill_zeropage_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, struct vm_area_struct *dst_vma, unsigned long dst_addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mm_struct * | dst_mm | |
| pmd_t * | dst_pmd | |
| struct vm_area_struct * | dst_vma | |
| unsigned long | dst_addr |
| 156 | If File we map to (can be NULL). Then |
| 159 | offset = linear_page_index(dst_vma, dst_addr) |
| 162 | If Value for the false possibility is greater at compile time(offset >= max_off) Then Go to out_unlock |
| 166 | If Not pte_none( * dst_pte) Then Go to out_unlock |
| 168 | set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte) |
| 171 | ret = 0 |
| 172 | out_unlock : |
| 173 | pte_unmap_unlock(dst_pte, ptl) |
| 174 | Return ret |
| Name | Describe |
|---|---|
| mfill_atomic_pte |
| 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 |