Home
last modified time | relevance | path

Searched refs:hashmap__update (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c59 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
60 if (CHECK(err != -ENOENT, "hashmap__update", in test_hashmap_generic()
115 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
282 CHECK_STR("hashmap__update", old_key, "a"); in test_hashmap_ptr_iface()
283 CHECK_STR("hashmap__update", old_value, "apricot"); in test_hashmap_ptr_iface()
295 err = hashmap__update(map, "b", "blueberry", &old_key, &old_value); in test_hashmap_ptr_iface()
296 if (CHECK(err, "hashmap__update", "unexpected error: %d\n", err)) in test_hashmap_ptr_iface()
298 CHECK_STR("hashmap__update", old_key, "b"); in test_hashmap_ptr_iface()
299 CHECK_STR("hashmap__update", old_value, "breadfruit"); in test_hashmap_ptr_iface()
/linux/tools/perf/util/
H A Dhashmap.h144 #define hashmap__update(map, key, value, old_key, old_value) \ macro
/linux/tools/lib/bpf/
H A Dhashmap.h144 #define hashmap__update(map, key, value, old_key, old_value) \ macro