函数逻辑报告 |
Source Code:lib\bitmap.c |
Create Date:2022-07-27 07:17:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__reg_op
函数原型:static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long * | bitmap | |
unsigned int | pos | |
int | order | |
int | reg_op |
1053 | ret等于0 |
1060 | index等于pos除BITS_PER_LONG |
1061 | offset等于pos减index乘BITS_PER_LONG |
1062 | nlongs_reg等于BITS_TO_LONGS(nbits_reg) |
1063 | nbitsinlong等于两数取小(nbits_reg, BITS_PER_LONG) |
1069 | mask等于1UL左移nbitsinlong减1位 |
1074 | 当:reg_op恒等于REG_OP_ISFREE |
1082 | 当:reg_op恒等于REG_OP_ALLOC |
1087 | 当:reg_op恒等于REG_OP_RELEASE |
1092 | done : |
1093 | 返回:ret |
名称 | 描述 |
---|---|
bitmap_find_free_region | map_find_free_region - find a contiguous aligned mem region*@bitmap: array of unsigned longs corresponding to the bitmap*@bits: number of bits in the bitmap*@order: region size (log base 2 of number of bits) to find* Find a region of free (zero) bits in a |
bitmap_release_region | map_release_region - release allocated bitmap region*@bitmap: array of unsigned longs corresponding to the bitmap*@pos: beginning of bit region to release*@order: region size (log base 2 of number of bits) to release* This is the complement to |
bitmap_allocate_region | map_allocate_region - allocate bitmap region*@bitmap: array of unsigned longs corresponding to the bitmap*@pos: beginning of bit region to allocate*@order: region size (log base 2 of number of bits) to allocate |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |