Home
last modified time | relevance | path

Searched refs:global_map (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_tcpbpf_kern.c22 } global_map SEC(".maps");
36 gp = bpf_map_lookup_elem(&global_map, &key); in update_event_map()
41 bpf_map_update_elem(&global_map, &key, &g, in update_event_map()
46 bpf_map_update_elem(&global_map, &key, &g, in update_event_map()
81 gp = bpf_map_lookup_elem(&global_map, &key); in bpf_testcb()
87 bpf_map_update_elem(&global_map, &key, &g, in bpf_testcb()
121 gp = bpf_map_lookup_elem(&global_map, &key); in bpf_testcb()
135 bpf_map_update_elem(&global_map, &key, &g, in bpf_testcb()
Dtest_tcpnotify_kern.c22 } global_map SEC(".maps");
76 gp = bpf_map_lookup_elem(&global_map, &key); in bpf_testcb()
82 bpf_map_update_elem(&global_map, &key, &g, in bpf_testcb()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c73 struct bpf_map *perf_map, *global_map; in main() local
117 global_map = bpf_object__find_map_by_name(obj, "global_map"); in main()
118 if (!global_map) { in main()
145 rv = bpf_map_lookup_elem(bpf_map__fd(global_map), &key, &g); in main()