Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dfor_each.c34 err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key), in test_hash_map()
49 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_hash_map()
104 err = bpf_map__update_elem(skel->maps.arraymap, &key, sizeof(key), in test_array_map()
119 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_array_map()
170 err = bpf_map__update_elem(skel->maps.arraymap, &key, sizeof(key), in test_multi_maps()
182 err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key), in test_multi_maps()
Dcore_retro.c17 err = bpf_map__update_elem(skel->maps.exp_tgid_map, &zero, sizeof(zero), in test_core_retro()
Dmap_kptr.c51 ret = bpf_map__update_elem(skel->maps.array_map, in test_map_kptr_success()
59 ret = bpf_map__update_elem(skel->maps.pcpu_array_map, in test_map_kptr_success()
Dtest_mmap_inner_array.c39 err = bpf_map__update_elem(skel->maps.outer_map, in test_mmap_inner_array()
Dcgroup_storage.c78 err = bpf_map__update_elem(skel->maps.cgroup_storage, &key, sizeof(key), in test_cgroup_storage()
Dxdp_metadata.c438 if (!ASSERT_ERR(bpf_map__update_elem(prog_arr, &key, sizeof(key), in test_xdp_metadata()
Dlinked_list.c139 …ASSERT_OK(bpf_map__update_elem(map, &key, sizeof(key), buf, sizeof(buf), 0), "check_and_free_field… in clear_fields()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map342 bpf_map__update_elem;
Dlibbpf.h1170 LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
Dlibbpf.c10498 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem() function
/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_features.c290 err = bpf_map__update_elem(skel->maps.dev_map, in dut_attach_xdp_prog()
319 err = bpf_map__update_elem(skel->maps.cpu_map, in dut_attach_xdp_prog()
/linux-6.12.1/tools/perf/
Dbuiltin-trace.c4322 bpf_map__update_elem(trace->skel->maps.__augmented_syscalls__,