函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:50:22 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_block_update - updates a block given a free area*@block: block of interest*@start: start offset in block*@end: end offset in block* Updates a block given a known free area. The region [start, end) is
函数原型:static void pcpu_block_update(struct pcpu_block_md *block, int start, int end)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pcpu_block_md * | block | |
int | start | |
int | end |
614 | 如果contig大于contig hint for block 则 |
617 | 如果contig hint for block 大于scan hint for block 则 |
627 | scan hint for block 等于0 |
629 | 否则 |
630 | scan hint for block 等于0 |
633 | contig hint for block 等于contig |
634 | 否则如果contig恒等于contig hint for block 则 |
653 | 否则 |
名称 | 描述 |
---|---|
pcpu_block_update_scan | pcpu_block_update_scan - update a block given a free area from a scan*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of free area* Finding the final allocation spot first goes through pcpu_find_block_fit()* to find a block that can hold the |
pcpu_chunk_refresh_hint | pcpu_chunk_refresh_hint - updates metadata about a chunk*@chunk: chunk of interest*@full_scan: if we should scan from the beginning* Iterates over the metadata blocks to find the largest contig area |
pcpu_block_refresh_hint | pcpu_block_refresh_hint*@chunk: chunk of interest*@index: index of the metadata block* Scans over the block beginning at first_free and updates the block* metadata accordingly. |
pcpu_block_update_hint_free | pcpu_block_update_hint_free - updates the block hints on the free path*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of request* Updates metadata for the allocation path. This avoids a blind block |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |