Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_list_sort.c Create Date:2022-07-28 06:29:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check

Proto:static int __init check(struct debug_el *ela, struct debug_el *elb)

Type:int

Parameter:

TypeParameterName
struct debug_el *ela
struct debug_el *elb
34  If serial >= including head Then
35  pr_err("error: incorrect serial %d\n", serial)
36  Return -EINVAL
38  If serial >= including head Then
39  pr_err("error: incorrect serial %d\n", serial)
40  Return -EINVAL
42  If Array, containing pointers to all elements in the test list [serial] != ela || Array, containing pointers to all elements in the test list [serial] != elb Then
43  pr_err("error: phantom element\n")
44  Return -EINVAL
46  If poison1 != TEST_POISON1 || poison2 != TEST_POISON2 Then
47  pr_err("error: bad poison: %#x/%#x\n", poison1, poison2)
49  Return -EINVAL
51  If poison1 != TEST_POISON1 || poison2 != TEST_POISON2 Then
52  pr_err("error: bad poison: %#x/%#x\n", poison1, poison2)
54  Return -EINVAL
56  Return 0
Caller
NameDescribe
cmp
list_sort_test