Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:47:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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)
Proto:static int can_vma_merge_before(struct vm_area_struct *vma, unsigned long vm_flags, struct anon_vma *anon_vma, struct file *file, unsigned long vm_pgoff, struct vm_userfaultfd_ctx vm_userfaultfd_ctx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | vm_flags | |
struct anon_vma * | anon_vma | |
struct file * | file | |
unsigned long | vm_pgoff | |
struct vm_userfaultfd_ctx | vm_userfaultfd_ctx |
1041 | If Offset (within vm_file) in PAGE_SIZEunits == vm_pgoff Then Return 1 |
1044 | Return 0 |
Name | Describe |
---|---|
vma_merge | Given a mapping request (addr,end,vm_flags,file,pgoff), figure out* whether that can be merged with its predecessor or its successor |
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 |