函数逻辑报告 |
Source Code:mm\slab_common.c |
Create Date:2022-07-27 15:54:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void *krealloc(const void *p, size_t new_size, gfp_t flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const void * | p | |
| size_t | new_size | |
| gfp_t | flags |
| 1718 | 如果此条件成立可能性小(为编译器优化)(!new_size)则 |
| 1719 | 释放内存 |
| 1723 | ret等于__do_krealloc(p, new_size, flags) |
| 1724 | 如果ret且kasan_reset_tag(p)不等于kasan_reset_tag(ret)则释放内存 |
| 1727 | 返回:ret |
| 名称 | 描述 |
|---|---|
| kmalloc_oob_krealloc_less | |
| test_parman_resize | |
| parse_entry | Caller is responsible to free the *pentry. |
| push_jmp_history | r any branch, call, exit record the history of jmps in the given state |
| ima_collect_measurement | ma_collect_measurement - collect file measurement* Calculate the file hash, if it doesn't already exist,* storing the measurement and i_version in the iint.* Must be called with iint->mutex held.* Return 0 on success, error code otherwise |
| expand_corename | The maximal length of core_pattern is also specified in sysctl.c |
| kmalloc_oob_krealloc_more | |
| build_uv_gr_table | Build GAM range lookup table: |
| create_trace_option_files | |
| bio_find_or_create_slab | |
| deflate_compress | |
| vfs_getxattr_alloc | vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr* Allocate memory, if not already allocated, or re-allocate correct size,* before retrieving the extended attribute. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |