Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:50:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vm_brk_flags
Proto:int vm_brk_flags(unsigned long addr, unsigned long request, unsigned long flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
unsigned long | request | |
unsigned long | flags |
3054 | If Not len Then Return 0 |
3057 | If lock for writing Then Return -EINTR |
3060 | ret = his is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here. |
3062 | lease a write lock |
3063 | userfaultfd_unmap_complete(mm, & uf) |
3064 | If populate && Not ret Then mm_populate(addr, len) |
3066 | Return ret |
Name | Describe |
---|---|
vm_brk | |
load_elf_interp | This is much more generalized than the library routine read function,so we keep this separate. Technically the library read functionis only provided so that we can read a.out libraries that havean ELF header |
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 |