Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 14:58:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Find the first free block(lowest start address) in the tree,* that will accomplish the request corresponding to passing* parameters.
Proto:static __always_inline struct vmap_area *find_vmap_lowest_match(unsigned long size, unsigned long align, unsigned long vstart)
Type:struct vmap_area
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | size | |
| unsigned long | align | |
| unsigned long | vstart |
| 810 | If get_subtree_max_size(rb_left) >= length && vstart < va_start Then |
| 813 | Else |
| 822 | If get_subtree_max_size(rb_right) >= length Then |
| 846 | Return NULL |
| Name | Describe |
|---|---|
| __alloc_vmap_area | Returns a start address of the newly allocated area, if success.* Otherwise a vend is returned that indicates failure. |
| 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 |