函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:50:51 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_find_zero_area - modified from bitmap_find_next_zero_area_off()*@map: the address to base the search on*@size: the bitmap size in bits*@start: the bitnumber to start searching at*@nr: the number of zeroed bits we're looking for*@align_mask: alignment
函数原型:static unsigned long pcpu_find_zero_area(unsigned long *map, unsigned long size, unsigned long start, unsigned long nr, unsigned long align_mask, unsigned long *largest_off, unsigned long *largest_bits)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long * | map | |
unsigned long | size | |
unsigned long | start | |
unsigned long | nr | |
unsigned long | align_mask | |
unsigned long * | largest_off | |
unsigned long * | largest_bits |
1140 | again : |
1141 | index等于在内存区域中查找下一个零位 |
1144 | index等于__ALIGN_MASK(index, align_mask) |
1150 | i等于在内存区域中找到下一个设置位 |
1154 | 如果area_bits大于largest_bits或area_bits恒等于largest_bits且largest_off且非area_off或在字中找到第一个指定位大于在字中找到第一个指定位的值则 |
1157 | largest_off等于area_off |
1158 | largest_bits等于area_bits |
1162 | 转到:again |
1164 | 返回:index |
名称 | 描述 |
---|---|
pcpu_alloc_area | pcpu_alloc_area - allocates an area from a pcpu_chunk*@chunk: chunk of interest*@alloc_bits: size of request in allocation units*@align: alignment of area (max PAGE_SIZE)*@start: bit_off to start searching* This function takes in a @start offset to begin |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |