Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blacklisted

Proto:static bool blacklisted(const char *module_name)

Type:bool

Parameter:

TypeParameterName
const char *module_name
3394  If Not module_blacklist is a comma-separated list of module names Then Return false
3397  When p cycle
3398  len = strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject*@s: The string to be searched*@reject: The string to avoid
3399  If strlen - Find the length of a string*@s: The string to be sized == len && Not memcmp(module_name, p, len) Then Return true
3401  If p[len] == ',' Then len++
3404  Return false
Caller
NameDescribe
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.