函数逻辑报告 |
Source Code:mm\slab_common.c |
Create Date:2022-07-27 15:54:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__do_krealloc
函数原型:static __always_inline void *__do_krealloc(const void *p, size_t new_size, gfp_t flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | p | |
size_t | new_size | |
gfp_t | flags |
1662 | ks等于0 |
1672 | ret等于kmalloc_track_caller(new_size, flags) |
1676 | 返回:ret |
名称 | 描述 |
---|---|
__krealloc | __krealloc - like krealloc() but don't free @p.*@p: object to reallocate memory for.*@new_size: how many bytes of memory are required.*@flags: the type of memory to allocate.* This function is like krealloc() except it never frees the originally |
krealloc | krealloc - reallocate memory. The contents will remain unchanged.*@p: object to reallocate memory for.*@new_size: how many bytes of memory are required.*@flags: the type of memory to allocate.* The contents of the object pointed to are preserved up to the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |