Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-28 10:58:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmemleak_load_module

Proto:static void kmemleak_load_module(const struct module *mod, const struct load_info *info)

Type:void

Parameter:

TypeParameterName
const struct module *mod
const struct load_info *info
2826  kmemleak_scan_area(mod, sizeof(structmodule), GFP_KERNEL)
2828  When i < e_shnum cycle
2830  If Not (sh_flags & SHF_ALLOC) || Not (sh_flags & sh_flags ) || sh_flags & SHF_EXECINSTR Then Continue
2835  kmemleak_scan_area((void * )sh_addr, sh_size, GFP_KERNEL)
Caller
NameDescribe
layout_and_allocate