Function report | 
Source Code:lib\test_meminit.c | 
Create Date:2022-07-28 06:37:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Calculate the number of uninitialized bytes in the buffer.
Proto:static int __init count_nonzero_bytes(void *ptr, size_t size)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | ptr | |
| size_t | size | 
| 31 | ret = 0 | 
| 36 | ret++ | 
| 37 | Return ret | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |