Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dcore_retro.c17 err = bpf_map__update_elem(skel->maps.exp_tgid_map, &zero, sizeof(zero), in test_core_retro()
H A 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()
H A Dxdp_metadata.c339 if (!ASSERT_ERR(bpf_map__update_elem(prog_arr, &key, sizeof(key), in test_xdp_metadata()
H A Dlinked_list.c139 …ASSERT_OK(bpf_map__update_elem(map, &key, sizeof(key), buf, sizeof(buf), 0), "check_and_free_field… in clear_fields()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map344 bpf_map__update_elem;
H A Dlibbpf.h1093 LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
H A Dlibbpf.c9865 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem() function
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
/openbmc/linux/tools/perf/
H A Dbuiltin-trace.c3919 bpf_map__update_elem(trace->skel->maps.__augmented_syscalls__,