函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\common.c Create Date:2022-07-27 17:24:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kasan_init_slab_obj

函数原型:void *__must_check kasan_init_slab_obj(struct kmem_cache *cache, const void *object)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cache
const void *object
411  如果非Used for retrieving partial slabs, etc. 按位与SLAB_KASAN的值则返回:object
414  alloc_info等于get_alloc_info(cache, object)
415  内存设置(alloc_info, 0, alloc_info的长度)
417  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_KASAN_SW_TAGS)则object等于set_tag(object, This function assigns a tag to an object considering the following:* 1)
421  返回:object
调用者
名称描述
setup_object