Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kmemleak_alloc_phys - similar to kmemleak_alloc but taking a physical* address argument*@phys: physical address of the object*@size: size of the object*@min_count: minimum number of references to this object

Proto:void __ref kmemleak_alloc_phys(phys_addr_t phys, size_t size, int min_count, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
phys_addr_tphys
size_tsize
intmin_count
gfp_tgfp
1121  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HIGHMEM) || PHYS_PFN(phys) < max_low_pfn Then kmemleak_alloc - register a newly allocated object*@ptr: pointer to beginning of the object*@size: size of the object*@min_count: minimum number of references to this object. If during memory* scanning a number of references less than @min_count is found,