Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\globtest.c Create Date:2022-07-28 07:18:04
Last Modify:2022-05-21 14:41:25 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:glob_init

Proto:static int __init glob_init(void)

Type:int

Parameter:Nothing

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  When p cycle
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  Return If n Then -ECANCELED Else 0