Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:42:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pte_alloc_one_map
Proto:static vm_fault_t pte_alloc_one_map(struct vm_fault *vmf)
Type:vm_fault_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_fault * | vmf |
| 3293 | vma = Target VMA |
| 3295 | If Not pmd_none( * Pointer to pmd entry matching* the 'address' ) Then Go to map_pte |
| 3298 | Page table lock.* Protects pte page table if 'pte'* is not NULL, otherwise pmd. = pmd_lock(The address space we belong to. , Pointer to pmd entry matching* the 'address' ) |
| 3301 | Go to map_pte |
| 3309 | Return VM_FAULT_OOM |
| 3311 | map_pte : |
| 3337 | Return 0 |
| Name | Describe |
|---|---|
| alloc_set_pte | alloc_set_pte - setup new PTE entry for given page and add reverse page* mapping |
| 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 |