Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kasan_init_slab_obj

Proto:void *__must_check kasan_init_slab_obj(struct kmem_cache *cache, const void *object)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cache
const void *object
411  If Not (Used for retrieving partial slabs, etc. & SLAB_KASAN) Then Return object
414  alloc_info = get_alloc_info(cache, object)
415  __memset(alloc_info, 0, size of alloc_info )
417  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_KASAN_SW_TAGS) Then object = set_tag(object, This function assigns a tag to an object considering the following:* 1)
421  Return object
Caller
NameDescribe
setup_object