Function report |
Source Code:arch\x86\kernel\sys_x86_64.c |
Create Date:2022-07-28 07:42:14 |
Last Modify:2022-05-18 16:45:21 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:arch_get_unmapped_area_topdown
Proto:unsigned long arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, const unsigned long len, const unsigned long pgoff, const unsigned long flags)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
const unsigned long | addr0 | |
const unsigned long | len | |
const unsigned long | pgoff | |
const unsigned long | flags |
183 | addr = mpx_unmapped_area_check(addr, len, flags) |
184 | If IS_ERR_VALUE(addr) Then Return addr |
192 | If flags & Interpret addr exactly Then Return addr |
196 | If Not in_32bit_syscall() && flags & ly give out 32bit addresses Then Go to bottomup |
200 | If addr Then |
202 | If Not mmap_address_hint_valid(addr, len) Then Go to get_unmapped_area |
209 | get_unmapped_area : |
214 | high_limit = get_mmap_base(0) |
223 | If addr > DEFAULT_MAP_WINDOW && Not in_32bit_syscall() Then high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW |
226 | align_mask = 0 |
228 | If filp Then |
237 | bottomup : |
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 |