Function report |
Source Code:mm\kasan\init.c |
Create Date:2022-07-28 15:52:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kasan_add_zero_shadow
Proto:int kasan_add_zero_shadow(void *start, unsigned long size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | start | |
unsigned long | size |
492 | shadow_start = kasan_mem_to_shadow(start) |
493 | shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT) |
495 | If WARN_ON((unsignedlong)start % (KASAN_SHADOW_SCALE_SIZE * PAGE_SIZE)) || WARN_ON(size % (KASAN_SHADOW_SCALE_SIZE * PAGE_SIZE)) Then Return -EINVAL |
501 | If ret Then kasan_remove_zero_shadow(shadow_start, size >> KASAN_SHADOW_SCALE_SHIFT) |
504 | Return ret |
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 |