函数逻辑报告 |
Source Code:mm\kasan\common.c |
Create Date:2022-07-27 17:25:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kasan_kmalloc_large
函数原型:void *__must_check kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | ptr | |
size_t | size | |
gfp_t | flags |
541 | 如果此条件成立可能性小(为编译器优化)(ptr == NULL)则返回:NULL |
544 | page等于virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(ptr) |
549 | kasan_unpoison_shadow(ptr, size) |
553 | 返回:ptr |
名称 | 描述 |
---|---|
kmalloc_large_node_hook | Hooks for other subsystems that check memory allocations. In a typical* production configuration these hooks all should produce no code at all. |
kasan_krealloc | |
kmalloc_order | To avoid unnecessary overhead, we pass through large allocation requests* directly to the page allocator. We use __GFP_COMP, because we will need to* know the allocation order to free the pages properly in kfree. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |