函数逻辑报告 |
Source Code:lib\genalloc.c |
Create Date:2022-07-27 07:54:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型: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)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
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位 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |