Function report |
Source Code:lib\test_meminit.c |
Create Date:2022-07-28 06:37:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Test kmalloc() with given parameters.
Proto:static int __init do_kmalloc_size(size_t size, int *total_failures)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
size_t | size | |
int * | total_failures |
102 | buf = kmalloc(size, GFP_KERNEL) |
103 | fill_with_garbage(buf, size) |
106 | buf = kmalloc(size, GFP_KERNEL) |
109 | fill_with_garbage(buf, size) |
111 | Return 1 |
Name | Describe |
---|---|
test_kvmalloc | Test kmalloc()/vmalloc() by allocating objects of different sizes. |
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 |