函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:28:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:We should probably have a fallback mechanism to allocate virtual memory* out of partially filled vmap blocks. However vmap block sizing should be* fairly reasonable according to the vmalloc size, so it shouldn't be a* big problem.
函数原型:static unsigned long addr_to_vb_idx(unsigned long addr)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | addr |
1468 | addr减等于VMALLOC_START按位与VMAP_BLOCK_SIZE减1的差的反 |
1469 | addr除等于VMAP_BLOCK_SIZE |
1470 | 返回:addr |
名称 | 描述 |
---|---|
vmap_block_vaddr | |
new_vmap_block | w_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block |
free_vmap_block | |
vb_free |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |