Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kmemleak_scan_area - limit the range to be scanned in an allocated object*@ptr: pointer to beginning or inside the object

Proto:void __ref kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
const void *ptr
size_tsize
gfp_tgfp
1084  pr_debug("%s(0x%p)\n", __func__, ptr)
1086  If set if tracing memory operations is enabled && ptr && size && Not IS_ERR(ptr) Then Add a scanning area to the object. If at least one such area is added,* kmemleak will only scan these ranges rather than the whole memory block.
Caller
NameDescribe
kmemleak_load_module