Home
last modified time | relevance | path

Searched refs:percpu_map (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dfor_each_array_map_elem.c20 } percpu_map SEC(".maps");
71 bpf_for_each_map_elem(&percpu_map, check_percpu_elem, (void *)0, 0); in test_pkt_access()
H A Dfor_each_hash_map_elem.c20 } percpu_map SEC(".maps");
92 percpu_map_elems = bpf_for_each_map_elem(&percpu_map, check_percpu_elem, in test_pkt_access()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfor_each.c49 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_hash_map()
119 err = bpf_map__update_elem(skel->maps.percpu_map, &key, sizeof(key), in test_array_map()
H A Dbtf.c77 bool percpu_map; member
5257 bool percpu_map; member
5265 .percpu_map = false,
5274 .percpu_map = false,
5283 .percpu_map = false,
5292 .percpu_map = true,
5301 .percpu_map = true,
5310 .percpu_map = true,
5374 bool percpu_map, unsigned int next_key, in get_pprint_expected_line() argument
5386 percpu_map ? "\tcpu" : "", in get_pprint_expected_line()
[all …]
/linux/samples/bpf/
H A Dsockex3_kern.c67 } percpu_map SEC(".maps");
74 return bpf_map_lookup_elem(&percpu_map, &key); in this_cpu_globals()