Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:find_module_sections

Proto:static int find_module_sections(struct module *mod, struct load_info *info)

Type:int

Parameter:

TypeParameterName
struct module *mod
struct load_info *info
3154  kp = Find a module section, or NULL. Fill in number of "objects" in section.
3156  Exported symbols = Find a module section, or NULL. Fill in number of "objects" in section.
3158  crcs = Find a module section, or NULL.
3159  gpl_syms = Find a module section, or NULL. Fill in number of "objects" in section.
3162  gpl_crcs = Find a module section, or NULL.
3163  symbols that will be GPL-only in the near future. = Find a module section, or NULL. Fill in number of "objects" in section.
3167  gpl_future_crcs = Find a module section, or NULL.
3240  extable = Find a module section, or NULL. Fill in number of "objects" in section.
3243  If Find a module section, or NULL. Then pr_warn("%s: Ignoring obsolete parameters\n", Unique handle for this module )
3246  debug = Find a module section, or NULL. Fill in number of "objects" in section.
3249  Return 0
Caller
NameDescribe
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.