Home
last modified time | relevance | path

Searched refs:key_sum (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_test_kern5.c22 __u32 key_sum = 0; variable
33 key_sum += *(__u32 *)(key + sizeof(struct key_t)); in dump_bpf_hash_map()
H A Dbpf_iter_bpf_percpu_array_map.c25 __u32 key_sum = 0, val_sum = 0; variable
38 key_sum += *key; in dump_bpf_percpu_array_map()
H A Dbpf_iter_bpf_array_map.c29 __u32 key_sum = 0; variable
43 key_sum += *key; in dump_bpf_array_map()
/openbmc/linux/fs/befs/
H A Dbtree.c424 uint key_sum = 0; in befs_btree_read() local
459 while (key_sum + this_node->head.all_key_count <= key_no) { in befs_btree_read()
468 key_sum + this_node->head.all_key_count); in befs_btree_read()
474 key_sum += this_node->head.all_key_count; in befs_btree_read()
485 cur_key = key_no - key_sum; in befs_btree_read()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c1001 if (!ASSERT_EQ(skel->bss->key_sum, expected_key, "key_sum")) in test_bpf_array_map()
1101 if (!ASSERT_EQ(skel->bss->key_sum, expected_key, "key_sum")) in test_bpf_percpu_array_map()