函数逻辑报告 |
Source Code:mm\slab_common.c |
Create Date:2022-07-27 15:53:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Figure out what the alignment of the objects will be given a set of* flags, a user specified alignment and the size of the objects.
函数原型:static unsigned int calculate_alignment(slab_flags_t flags, unsigned int align, unsigned int size)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
slab_flags_t | flags | |
unsigned int | align | |
unsigned int | size |
291 | 如果flags按位与Align objs on cache lines 则 |
303 | 返回:@a is a power of 2 value (align, *的长度) |
名称 | 描述 |
---|---|
find_mergeable | |
kmem_cache_create_usercopy | kmem_cache_create_usercopy - Create a cache with a region suitable* for copying to userspace*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |