函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Update an object's checksum and return true if it was modified.

函数原型:static bool update_checksum(struct kmemleak_object *object)

返回类型:bool

参数:

类型参数名称
struct kmemleak_object *object
1169  old_csum等于checksum for detecting modified objects
1171  kasan_disable_current()
1172  checksum for detecting modified objects 等于crc32(0, (void * )pointer, size)
1173  kasan_enable_current()
1175  返回:checksum for detecting modified objects 不等于old_csum
调用者
名称描述
kmemleak_scanScan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held.