Function report | 
Source Code:mm\memory.c | 
Create Date:2022-07-28 14:41:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__vm_insert_mixed
Proto:static vm_fault_t __vm_insert_mixed(struct vm_area_struct *vma, unsigned long addr, pfn_t pfn, bool mkwrite)
Type:vm_fault_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | addr | |
| pfn_t | pfn | |
| bool | mkwrite | 
| 1745 | BUG_ON(!vm_mixed_ok(vma, pfn)) | 
| 1747 | If addr < Our start address within vm_mm. || addr >= The first byte after our end addresswithin vm_mm. Then Return VM_FAULT_SIGBUS | 
| 1750 | track_pfn_insert(vma, & pgprot, pfn) | 
| 1752 | If Not pfn_modify_allowed(pfn_t_to_pfn(pfn), pgprot) Then Return VM_FAULT_SIGBUS | 
| 1771 | page = pfn_to_page(pfn_t_to_pfn(pfn)) | 
| 1773 | Else | 
| 1777 | If err == -ENOMEM Then Return VM_FAULT_OOM | 
| 1779 | If err < 0 && err != -EBUSY Then Return VM_FAULT_SIGBUS | 
| 1782 | Return VM_FAULT_NOPAGE | 
| Name | Describe | 
|---|---|
| vmf_insert_mixed | |
| vmf_insert_mixed_mkwrite | If the insertion of PTE failed because someone else already added a* different entry in the mean time, we treat that as success as we assume* the same entry was actually inserted. | 
| 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  |