Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\generic.c Create Date:2022-07-28 15:53:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:register_global

Proto:static void register_global(struct kasan_global *global)

Type:void

Parameter:

TypeParameterName
struct kasan_global *global
208  aligned_size = und_up - round up to next specified power of 2*@x: the value to round*@y: multiple to round up to (must be a power of 2)* Rounds @x up to next multiple of @y (which must be a power of 2).* To perform arbitrary rounding up, use roundup() below.(Size of the global variable. , KASAN_SHADOW_SCALE_SIZE)
210  kasan_unpoison_shadow(Address of the beginning of the global variable. , Size of the global variable. )
212  Poisons the shadow memory for 'size' bytes starting from 'addr'.* Memory addresses should be aligned to KASAN_SHADOW_SCALE_SIZE.
Caller
NameDescribe
__asan_register_globals