函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\globtest.c Create Date:2022-07-27 08:16:37
Last Modify:2022-05-21 14:41:25 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:glob_init

函数原型:static int __init glob_init(void)

返回类型:int

参数:

132  successes等于0
133  n等于0
134  p等于Multiple asterisks (complex backtracking)
135  static char const message[] __initconst = formational  "glob: %u self-tests passed, %u failed\n"
144 p循环
145  bool expected = * p++ & 1
146  pat等于p
148  p加等于strlen(p)加1
149  successes加等于test(pat, p, expected)
150  p加等于strlen(p)加1
151  n自加
154  n减等于successes
155  printk(message, successes, n)
158  返回:如果n则负ECANCELED否则0