Function report |
Source Code:arch\x86\kernel\vm86_32.c |
Create Date:2022-07-28 08:41:32 |
Last Modify:2022-05-22 10:11:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mark_screen_rdonly
Proto:static void mark_screen_rdonly(struct mm_struct *mm)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm |
175 | lock for writing |
176 | pgd = a shortcut to get a pgd_t in a given mm(mm, 0xA0000) |
177 | If pgd_none_or_clear_bad(pgd) Then Go to out |
179 | p4d = p4d_offset(pgd, 0xA0000) |
180 | If p4d_none_or_clear_bad(p4d) Then Go to out |
182 | pud = pud_offset(p4d, 0xA0000) |
183 | If pud_none_or_clear_bad(pud) Then Go to out |
185 | pmd = pmd_offset(pud, 0xA0000) |
187 | If pmd_trans_huge( * pmd) Then |
189 | split_huge_pmd(vma, pmd, 0xA0000) |
191 | If pmd_none_or_clear_bad(pmd) Then Go to out |
193 | pte = pte_offset_map_lock(mm, pmd, 0xA0000, & ptl) |
195 | If pte_present( * pte) Then set_pte(pte, pte_wrprotect( * pte)) |
197 | pte++ |
199 | pte_unmap_unlock(pte, ptl) |
200 | out : |
202 | flush_tlb_mm_range(mm, 0xA0000, 0xA0000 + 32 * PAGE_SIZE, PAGE_SHIFT determines the page size , false) |
Name | Describe |
---|---|
do_sys_vm86 |
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 |