/linux-master/samples/bpf/ |
H A D | xdp_sample.bpf.h | 20 __uint(type, BPF_MAP_TYPE_ARRAY);
|
/linux-master/tools/bpf/bpftool/ |
H A D | feature.c | 625 case BPF_MAP_TYPE_ARRAY:
|
H A D | prog.c | 268 if (map_info->type != BPF_MAP_TYPE_ARRAY ||
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 967 BPF_MAP_TYPE_ARRAY, enumerator in enum:bpf_map_type 1859 * **BPF_MAP_TYPE_ARRAY** or **BPF_MAP_TYPE_PERCPU_ARRAY** (all 3823 * types **BPF_MAP_TYPE_HASH** and **BPF_MAP_TYPE_ARRAY** (this 5115 * BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_PERCPU_ARRAY
|
/linux-master/tools/lib/bpf/ |
H A D | features.c | 67 map = bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_global", sizeof(int), 32, 1, &map_opts); 222 fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_mmap", sizeof(int), sizeof(int), 1, &opts); 285 map = bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_det_bind", sizeof(int), 32, 1, &map_opts);
|
H A D | libbpf.c | 157 [BPF_MAP_TYPE_ARRAY] = "array", 1715 case BPF_MAP_TYPE_ARRAY: 1861 def->type = BPF_MAP_TYPE_ARRAY; 2331 * encodes specified integer value. E.g., int (*type)[BPF_MAP_TYPE_ARRAY]; 2332 * encodes `type => BPF_MAP_TYPE_ARRAY` key/value pair completely using BTF 10109 if (map->def.type != BPF_MAP_TYPE_ARRAY)
|
H A D | libbpf_probes.c | 349 case BPF_MAP_TYPE_ARRAY:
|
H A D | skel_internal.h | 158 if (map->map_type != BPF_MAP_TYPE_ARRAY) 316 err = map_fd = skel_map_create(BPF_MAP_TYPE_ARRAY, "__loader.map", 4, opts->data_sz, 1);
|
H A D | usdt.bpf.h | 64 __uint(type, BPF_MAP_TYPE_ARRAY);
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | kwork_trace.bpf.c | 64 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | sample_filter.bpf.c | 12 __uint(type, BPF_MAP_TYPE_ARRAY);
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | array_map_batch_ops.c | 83 map_fd = bpf_map_create(is_pcpu ? BPF_MAP_TYPE_PERCPU_ARRAY : BPF_MAP_TYPE_ARRAY,
|
H A D | map_in_map_batch_ops.c | 240 _map_in_map_batch_ops(BPF_MAP_TYPE_ARRAY_OF_MAPS, BPF_MAP_TYPE_ARRAY); 248 _map_in_map_batch_ops(BPF_MAP_TYPE_HASH_OF_MAPS, BPF_MAP_TYPE_ARRAY);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_iter.c | 652 map1_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL); 655 map2_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL);
|
H A D | bpf_obj_id.c | 86 !ASSERT_EQ(map_infos[i].type, BPF_MAP_TYPE_ARRAY, "map_type") ||
|
H A D | bpf_obj_pinning.c | 75 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, map_name, 4, 4, 1, NULL); 250 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, map_name, 4, 4, 1, NULL);
|
H A D | btf.c | 134 .map_type = BPF_MAP_TYPE_ARRAY, 189 .map_type = BPF_MAP_TYPE_ARRAY, 214 .map_type = BPF_MAP_TYPE_ARRAY, 255 .map_type = BPF_MAP_TYPE_ARRAY, 300 .map_type = BPF_MAP_TYPE_ARRAY, 322 .map_type = BPF_MAP_TYPE_ARRAY, 344 .map_type = BPF_MAP_TYPE_ARRAY, 366 .map_type = BPF_MAP_TYPE_ARRAY, 391 .map_type = BPF_MAP_TYPE_ARRAY, 416 .map_type = BPF_MAP_TYPE_ARRAY, [all...] |
H A D | cgroup_attach_multi.c | 18 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL);
|
H A D | map_in_map.c | 36 fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
|
H A D | obj_name.c | 54 attr.map_type = BPF_MAP_TYPE_ARRAY;
|
H A D | pinning.c | 244 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(__u32),
|
H A D | test_bpffs.c | 89 map = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
|
H A D | unpriv_bpf_disabled.c | 178 for (i = BPF_MAP_TYPE_HASH; i <= BPF_MAP_TYPE_ARRAY; i++)
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | access_map_in_map.c | 10 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | bloom_filter_bench.c | 18 __uint(type, BPF_MAP_TYPE_ARRAY);
|