Searched refs:ela (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
H A D | test_list_sort.c | 32 static int __init check(struct debug_el *ela, struct debug_el *elb) in check() argument 34 if (ela->serial >= TEST_LIST_LEN) { in check() 35 pr_err("error: incorrect serial %d\n", ela->serial); in check() 42 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check() 46 if (ela->poison1 != TEST_POISON1 || ela->poison2 != TEST_POISON2) { in check() 48 ela->poison1, ela->poison2); in check() 62 struct debug_el *ela, *el in cmp() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_list_sort.c | 29 static void check(struct kunit *test, struct debug_el *ela, struct debug_el *elb) in check() argument 33 KUNIT_EXPECT_LT_MSG(test, ela->serial, (unsigned int)TEST_LIST_LEN, "incorrect serial"); in check() 36 KUNIT_EXPECT_PTR_EQ_MSG(test, elts[ela->serial], ela, "phantom element"); in check() 39 KUNIT_EXPECT_EQ_MSG(test, ela->poison1, TEST_POISON1, "bad poison"); in check() 40 KUNIT_EXPECT_EQ_MSG(test, ela->poison2, TEST_POISON2, "bad poison"); in check() 49 struct debug_el *ela, *elb; in cmp() local 51 ela = container_of(a, struct debug_el, list); in cmp() 54 check(priv, ela, elb); in cmp() 55 return ela in cmp() [all...] |
Completed in 1 milliseconds