Function report |
Source Code:lib\test_vmalloc.c |
Create Date:2022-07-28 06:30:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:full_fit_alloc_test
Proto:static int full_fit_alloc_test(void)
Type:int
Parameter:Nothing
| 227 | rv = -1 |
| 231 | junk_length *= 32 * 1024 * 1024 / PAGE_SIZE |
| 233 | ptr = vmalloc( size of * * junk_length) |
| 237 | junk_ptr = vmalloc( size of * * junk_length) |
| 238 | If Not junk_ptr Then |
| 243 | When i < junk_length cycle |
| 251 | When i < test_loop_count cycle |
| 262 | rv = 0 |
| 264 | error : |
| 271 | Return rv |
| 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 |