函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:strspn - Calculate the length of the initial substring of @s which only contain letters in @accept*@s: The string to be searched*@accept: The string to search for

函数原型:size_t strspn(const char *s, const char *accept)

返回类型:size_t

参数:

类型参数名称
const char *s
const char *accept
561  count等于0
563 p不等于'\0'循环
564 a不等于'\0'循环
565  如果p恒等于a退出
568  如果a恒等于'\0'则返回:count
570  count先自加
572  返回:count
调用者
名称描述
device_node_string
apm_setup
acpi_sleep_setup
ima_parse_add_rulema_parse_add_rule - add a rule to ima_policy_rules*@rule - ima measurement policy rule* Avoid locking by allowing just one writer at a time in ima_write_policy()* Returns the length of the rule parsed, an error code on failure