Home
last modified time | relevance | path

Searched refs:list_sum (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Darena_list.c20 static int list_sum(struct arena_list_head *head) in list_sum() function
50 sum = list_sum(skel->bss->list_head); in test_arena_list_add_del()
57 sum = list_sum(skel->bss->list_head); in test_arena_list_add_del()
59 ASSERT_EQ(skel->bss->list_sum, expected_sum, "sum of list elems computed by prog"); in test_arena_list_add_del()
/linux/tools/testing/selftests/bpf/progs/
H A Darena_list.c30 int list_sum; variable
81 list_sum = sum; in arena_list_del()