Function report |
Source Code:kernel\kexec_file.c |
Create Date:2022-07-28 11:04:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:locate_mem_hole_bottom_up
Proto:static int locate_mem_hole_bottom_up(unsigned long start, unsigned long end, struct kexec_buf *kbuf)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | start | |
| unsigned long | end | |
| struct kexec_buf * | kbuf |
| 504 | temp_start = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(start, buf_min) |
| 506 | Do |
| 508 | temp_end = temp_start + memsz - 1 |
| 516 | If kimage_is_destination_range(image, temp_start, temp_end) Then |
| 517 | temp_start = temp_start + PAGE_SIZE |
| 518 | Continue |
| 522 | Break |
| 523 | When 1 cycle |
| 526 | mem = temp_start |
| 529 | Return 1 |
| Name | Describe |
|---|---|
| locate_mem_hole_callback |
| 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 |