函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kmemleak_free_percpu - unregister a previously registered __percpu object*@ptr: __percpu pointer to beginning of the object* This function is called from the kernel percpu allocator when an object* (memory block) is freed (free_percpu).

函数原型:void __ref kmemleak_free_percpu(const void __percpu *ptr)

返回类型:void

参数:

类型参数名称
const void __percpu *ptr
994  pr_debug("%s(0x%p)\n", __func__, ptr)
996  如果same as above but only for the kmemleak_free() callback ptr且非是错误遍历可用CPU(cpu)
998  Look up the metadata (struct kmemleak_object) corresponding to ptr and* delete it.
调用者
名称描述
free_percpu释放内存