Searched refs:bpf_map__update_elem (Results 1 – 14 of 14) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | for_each.c | 35 err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key), in test_hash_map() 50 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_hash_map() 105 err = bpf_map__update_elem(skel->maps.arraymap, &key, sizeof(key), in test_array_map() 120 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_array_map() 171 err = bpf_map__update_elem(skel->maps.arraymap, &key, sizeof(key), in test_multi_maps() 183 err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key), in test_multi_maps() 227 err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key), in test_hash_modify()
|
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 | test_mmap_inner_array.c | 39 err = bpf_map__update_elem(skel->maps.outer_map, in test_mmap_inner_array()
|
H A D | cgroup_storage.c | 78 err = bpf_map__update_elem(skel->maps.cgroup_storage, &key, sizeof(key), in test_cgroup_storage()
|
H A D | xdp_metadata.c | 429 if (!ASSERT_ERR(bpf_map__update_elem(prog_arr, &key, sizeof(key), in test_xdp_metadata() 440 if (!ASSERT_ERR(bpf_map__update_elem(devmap, &key, sizeof(key), in test_xdp_metadata()
|
H A D | linked_list.c | 140 ASSERT_OK(bpf_map__update_elem(map, &key, sizeof(key), buf, sizeof(buf), 0), "check_and_free_fields"); in clear_fields()
|
/linux/tools/perf/util/ |
H A D | bpf_trace_augment.c | 75 bpf_map__update_elem(skel->maps.__augmented_syscalls__, in augmented_syscalls__setup_bpf_output() 92 err = bpf_map__update_elem(skel->maps.pids_filtered, &pids[i], in augmented_syscalls__set_filter_pids()
|
H A D | bpf_off_cpu.c | 94 err = bpf_map__update_elem(skel->maps.offcpu_output, &cpu_nr, sizeof(int), in off_cpu_start()
|
/linux/tools/tracing/rtla/src/ |
H A D | timerlat_bpf.c | 117 return bpf_map__update_elem(bpf->maps.stop_tracing, in timerlat_bpf_restart_tracing()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.map | 342 bpf_map__update_elem;
|
H A D | libbpf.h | 1191 * @brief **bpf_map__update_elem()** allows to insert or update value in BPF 1207 * **bpf_map__update_elem()** is high-level equivalent of 1210 LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
|
H A D | libbpf.c | 10654 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem() function
|
/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()
|