Searched refs:bpf_map__update_elem (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | for_each.c | 33 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 D | core_retro.c | 17 err = bpf_map__update_elem(skel->maps.exp_tgid_map, &zero, sizeof(zero), in test_core_retro()
|
H A D | map_kptr.c | 51 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 D | xdp_metadata.c | 339 if (!ASSERT_ERR(bpf_map__update_elem(prog_arr, &key, sizeof(key), in test_xdp_metadata()
|
H A D | linked_list.c | 139 …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 D | libbpf.map | 344 bpf_map__update_elem;
|
H A D | libbpf.h | 1093 LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
|
H A D | libbpf.c | 9865 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem() function
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_features.c | 290 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 D | builtin-trace.c | 3919 bpf_map__update_elem(trace->skel->maps.__augmented_syscalls__,
|