函数逻辑报告 |
Source Code:lib\test_meminit.c |
Create Date:2022-07-27 07:35:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Calculate the number of uninitialized bytes in the buffer.
函数原型:static int __init count_nonzero_bytes(void *ptr, size_t size)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | ptr | |
| size_t | size |
| 31 | ret等于0 |
| 36 | ret自加 |
| 37 | 返回:ret |
| 名称 | 描述 |
|---|---|
| do_alloc_pages_order | |
| do_kmalloc_size | Test kmalloc() with given parameters. |
| do_vmalloc_size | Test vmalloc() with given parameters. |
| check_buf | Check the invariants for the buffer allocated from a slab cache.* If the cache has a test constructor, the first 4 bytes of the object must* always remain equal to CTOR_PATTERN.* If the cache isn't an RCU-typesafe one, or if the allocation is done with |
| do_kmem_cache_size_bulk |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |