Function report |
Source Code:mm\kasan\common.c |
Create Date:2022-07-28 15:51:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kasan_kmalloc_large
Proto:void *__must_check kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | ptr | |
| size_t | size | |
| gfp_t | flags |
| 538 | If gfpflags_allow_blocking(flags) Then quarantine_reduce() |
| 541 | If Value for the false possibility is greater at compile time(ptr == NULL) Then Return NULL |
| 544 | page = virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(ptr) |
| 549 | kasan_unpoison_shadow(ptr, size) |
| 553 | Return ptr |
| Name | Describe |
|---|---|
| kmalloc_large_node_hook | Hooks for other subsystems that check memory allocations. In a typical* production configuration these hooks all should produce no code at all. |
| kasan_krealloc |
| 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 |