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:do_alloc_pages_order
Proto:static int __init do_alloc_pages_order(int order, int *total_failures)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | order | |
| int * | total_failures |
| 69 | page = alloc_pages(GFP_KERNEL, order) |
| 70 | buf = page_address(page) |
| 71 | fill_with_garbage(buf, size) |
| 72 | __free_pages(page, order) |
| 74 | page = alloc_pages(GFP_KERNEL, order) |
| 75 | buf = page_address(page) |
| 78 | fill_with_garbage(buf, size) |
| 79 | __free_pages(page, order) |
| 80 | Return 1 |
| Name | Describe |
|---|---|
| test_pages | Test the page allocator by calling alloc_pages with different orders. |
| 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 |