Home
last modified time | relevance | path

Searched refs:bpf_map__update_elem (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dmap_kptr.c110 ret = bpf_map__update_elem(skel->maps.array_map, in test_map_kptr_success()
113 ret = bpf_map__update_elem(skel->maps.array_map, in test_map_kptr_success()
117 ret = bpf_map__update_elem(skel->maps.hash_map, in test_map_kptr_success()
123 ret = bpf_map__update_elem(skel->maps.hash_malloc_map, in test_map_kptr_success()
129 ret = bpf_map__update_elem(skel->maps.lru_hash_map, in test_map_kptr_success()
Dfor_each.c33 err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key), in test_hash_map()
48 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_hash_map()
103 err = bpf_map__update_elem(skel->maps.arraymap, &key, sizeof(key), in test_array_map()
118 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_array_map()
Dcore_retro.c17 err = bpf_map__update_elem(skel->maps.exp_tgid_map, &zero, sizeof(zero), in test_core_retro()
/Linux-v6.1/tools/lib/bpf/
Dlibbpf.map344 bpf_map__update_elem;
Dlibbpf.h879 LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
Dlibbpf.c9444 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem() function