Function report |
Source Code:lib\genalloc.c |
Create Date:2022-07-28 06:57:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gen_pool_first_fit_align - find the first available region* of memory matching the size requirement (alignment constraint)*@map: The address to base the search on*@size: The bitmap size in bits*@start: The bitnumber to start searching at*@nr: The number
Proto:unsigned long gen_pool_first_fit_align(unsigned long *map, unsigned long size, unsigned long start, unsigned int nr, void *data, struct gen_pool *pool, unsigned long start_addr)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long * | map | |
unsigned long | size | |
unsigned long | start | |
unsigned int | nr | |
void * | data | |
struct gen_pool * | pool | |
unsigned long | start_addr |
672 | align_mask = ( alignment by bytes for starting address + (1UL << order) - 1 >> order) - 1 |
673 | align_off = (start_addr & alignment by bytes for starting address - 1 ) >> order |
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 |