Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 14:59:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We should probably have a fallback mechanism to allocate virtual memory* out of partially filled vmap blocks. However vmap block sizing should be* fairly reasonable according to the vmalloc size, so it shouldn't be a* big problem.
Proto:static unsigned long addr_to_vb_idx(unsigned long addr)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 1468 | addr -= VMALLOC_START & ~(VMAP_BLOCK_SIZE - 1) |
| 1469 | addr /= VMAP_BLOCK_SIZE |
| 1470 | Return addr |
| Name | Describe |
|---|---|
| vmap_block_vaddr | |
| new_vmap_block | w_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block |
| free_vmap_block | |
| vb_free |
| 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 |