函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blacklisted

函数原型:static bool blacklisted(const char *module_name)

返回类型:bool

参数:

类型参数名称
const char *module_name
3394  如果非module_blacklist is a comma-separated list of module names 则返回:false
3397 p循环
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  如果strlen - Find the length of a string*@s: The string to be sized恒等于len且非内存比较则返回:true
3401  如果p[len]恒等于','则len自加
3404  返回:false
调用者
名称描述
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.