Home
last modified time | relevance | path

Searched refs:bpf_map_def (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/tools/perf/util/
Dbpf_map.c12 static bool bpf_map_def__is_per_cpu(const struct bpf_map_def *def) in bpf_map_def__is_per_cpu()
20 static void *bpf_map_def__alloc_value(const struct bpf_map_def *def) in bpf_map_def__alloc_value()
30 const struct bpf_map_def *def = bpf_map__def(map); in bpf_map__fprintf()
Dbpf-loader.c1002 const struct bpf_map_def *def = bpf_map__def(map); in __bpf_map__config_value()
1062 const struct bpf_map_def *def; in __bpf_map__config_event()
1133 const struct bpf_map_def *def; in config_map_indices_range_check()
1249 const struct bpf_map_def *pdef,
1256 int map_fd, const struct bpf_map_def *pdef, in foreach_key_array_all()
1276 const struct bpf_map_def *pdef, in foreach_key_array_ranges()
1307 const struct bpf_map_def *def; in bpf_map_config_foreach_key()
1452 const struct bpf_map_def *pdef, in apply_obj_config_map_for_key()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dsample_map_ret0.c5 struct bpf_map_def SEC("maps") htab = {
12 struct bpf_map_def SEC("maps") array = {
Dfreplace_cls_redirect.c10 struct bpf_map_def SEC("maps") sock_map = {
Dtest_btf_nokv.c13 struct bpf_map_def SEC("maps") btf_map = {
Dtest_btf_haskv.c14 struct bpf_map_def SEC("maps") btf_map = {
Dtest_tc_peer.c16 struct bpf_map_def SEC("maps") ifindex_map = {
Dtest_skb_cgroup_id_kern.c13 struct bpf_map_def SEC("maps") cgroup_ids = {
Dtest_btf_newkv.c15 struct bpf_map_def SEC("maps") btf_map_legacy = {
Dtest_tc_edt.c20 struct bpf_map_def SEC("maps") flow_map = {
Dtest_tc_neigh.c41 struct bpf_map_def SEC("maps") ifindex_map = {
Dtest_tcp_check_syncookie_kern.c19 struct bpf_map_def SEC("maps") results = {
/Linux-v5.10/tools/perf/tests/
Dbpf-script-test-relocation.c20 struct bpf_map_def { struct
28 struct bpf_map_def SEC("maps") my_table = { argument
Dbpf-script-example.c20 struct bpf_map_def { struct
28 struct bpf_map_def SEC("maps") flip_table = { argument
/Linux-v5.10/samples/bpf/
Dibumad_kern.c19 struct bpf_map_def SEC("maps") read_count = {
26 struct bpf_map_def SEC("maps") write_count = {
/Linux-v5.10/tools/lib/bpf/
Dbpf_helpers.h108 struct bpf_map_def { struct
Dlibbpf.h398 struct bpf_map_def { struct
438 LIBBPF_API const struct bpf_map_def *bpf_map__def(const struct bpf_map *map);
Dlibbpf.c341 struct bpf_map_def def;
1363 struct bpf_map_def *def; in bpf_object__init_internal_map()
1800 struct bpf_map_def *def; in bpf_object__init_user_maps()
1836 def = (struct bpf_map_def *)(data->d_buf + sym.st_value); in bpf_object__init_user_maps()
1843 if (map_def_sz <= sizeof(struct bpf_map_def)) { in bpf_object__init_user_maps()
1854 for (b = ((char *)def) + sizeof(struct bpf_map_def); in bpf_object__init_user_maps()
1863 memcpy(&map->def, def, sizeof(struct bpf_map_def)); in bpf_object__init_user_maps()
3582 struct bpf_map_def *def = &map->def; in bpf_map_find_btf_info()
4124 struct bpf_map_def *def = &map->def; in bpf_object__create_map()
8743 const struct bpf_map_def *bpf_map__def(const struct bpf_map *map) in bpf_map__def()
/Linux-v5.10/tools/bpf/bpftool/
Dstruct_ops.c483 const struct bpf_map_def *def; in do_register()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c1423 const struct bpf_map_def *def; in test_ops_cleanup()
1451 const struct bpf_map_def *def; in map_type_str()
/Linux-v5.10/Documentation/bpf/
Dbtf.rst517 struct bpf_map_def SEC("maps") btf_map = {
776 struct bpf_map_def SEC("maps") tmpmap = {