Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:flush_module_icache

Proto:static void flush_module_icache(const struct module *mod)

Type:void

Parameter:

TypeParameterName
const struct module *mod
3361  old_fs = get_fs()
3362  set_fs(KERNEL_DS)
3369  If The actual code + data. Then flush_icache_range((unsignedlong) The actual code + data. , (unsignedlong) The actual code + data. + Total size. )
3373  flush_icache_range((unsignedlong) The actual code + data. , (unsignedlong) The actual code + data. + Total size. )
3376  set_fs(old_fs)
Caller
NameDescribe
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.