函数逻辑报告 |
Source Code:mm\kasan\common.c |
Create Date:2022-07-27 17:25:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kasan_kmalloc
函数原型:void *__must_check kasan_kmalloc(struct kmem_cache *cache, const void *object, size_t size, gfp_t flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmem_cache * | cache | |
| const void * | object | |
| size_t | size | |
| gfp_t | flags |
| 527 | 返回:__kasan_kmalloc(cache, object, size, flags, true) |
| 名称 | 描述 |
|---|---|
| __do_kmalloc | __do_kmalloc - allocate memory*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).*@caller: function caller for debug tracking of the caller* Return: pointer to the allocated memory or %NULL in case of error |
| early_kmem_cache_node_alloc | No kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node |
| __kmalloc | 开辟内存 |
| __kmalloc_node |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |