Function report | 
Source Code:mm\mmap.c | 
Create Date:2022-07-28 14:47:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:If the vma has a ->close operation then the driver probably needs to release* per-vma resources, so we don't attempt to merge those.
Proto:static inline int is_mergeable_vma(struct vm_area_struct *vma, struct file *file, unsigned long vm_flags, struct vm_userfaultfd_ctx vm_userfaultfd_ctx)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | |
| struct file * | file | |
| unsigned long | vm_flags | |
| struct vm_userfaultfd_ctx | vm_userfaultfd_ctx | 
| 997 | If (Flags, see mm.h. ^ vm_flags) & ~VM_SOFTDIRTY Then Return 0 | 
| 999 | If File we map to (can be NULL). != file Then Return 0 | 
| 1001 | If Function pointers to deal with this struct. && close Then Return 0 | 
| 1003 | If Not mm helpers Then Return 0 | 
| 1005 | Return 1 | 
| Name | Describe | 
|---|---|
| can_vma_merge_before | Return true if we can merge this (vm_flags,anon_vma,file,vm_pgoff)* in front of (at a lower virtual address and file offset than) the vma.* We cannot merge two vmas if they have differently assigned (non-NULL) | 
| can_vma_merge_after | Return true if we can merge this (vm_flags,anon_vma,file,vm_pgoff)* beyond (at a higher virtual address and file offset than) the vma.* We cannot merge two vmas if they have differently assigned (non-NULL) | 
| 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  |