Home
last modified time | relevance | path

Searched refs:elb (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/lib/
H A Dtest_list_sort.c32 static int __init check(struct debug_el *ela, struct debug_el *elb) in check() argument
38 if (elb->serial >= TEST_LIST_LEN) { in check()
39 pr_err("error: incorrect serial %d\n", elb->serial); in check()
42 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check()
51 if (elb->poison1 != TEST_POISON1 || elb->poison2 != TEST_POISON2) { in check()
53 elb->poison1, elb->poison2); in check()
62 struct debug_el *ela, *elb; in cmp() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_list_sort.c29 static void check(struct kunit *test, struct debug_el *ela, struct debug_el *elb) in check() argument
34 KUNIT_EXPECT_LT_MSG(test, elb->serial, (unsigned int)TEST_LIST_LEN, "incorrect serial"); in check()
37 KUNIT_EXPECT_PTR_EQ_MSG(test, elts[elb->serial], elb, "phantom element"); in check()
42 KUNIT_EXPECT_EQ_MSG(test, elb->poison1, TEST_POISON1, "bad poison"); in check()
43 KUNIT_EXPECT_EQ_MSG(test, elb->poison2, TEST_POISON2, "bad poison"); in check()
49 struct debug_el *ela, *elb; in cmp() local
52 elb = container_of(b, struct debug_el, list); in cmp()
54 check(priv, ela, elb); in cmp()
55 return ela->value - elb in cmp()
[all...]

Completed in 1 milliseconds