Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 14:58:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:is_within_this_va
Proto:static __always_inline bool is_within_this_va(struct vmap_area *va, unsigned long size, unsigned long align, unsigned long vstart)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vmap_area * | va | |
| unsigned long | size | |
| unsigned long | align | |
| unsigned long | vstart |
| 775 | If va_start > vstart Then nva_start_addr = @a is a power of 2 value (va_start, align) |
| 777 | Else nva_start_addr = @a is a power of 2 value (vstart, align) |
| 781 | If nva_start_addr + size < nva_start_addr || nva_start_addr < vstart Then Return false |
| 785 | Return nva_start_addr + size <= va_end |
| Name | Describe |
|---|---|
| find_vmap_lowest_match | Find the first free block(lowest start address) in the tree,* that will accomplish the request corresponding to passing* parameters. |
| 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 |