Searched refs:BPF_MAP_TYPE_ARRAY (Results 26 - 50 of 150) sorted by path

123456

/linux-master/samples/bpf/
H A Dxdp_sample.bpf.h20 __uint(type, BPF_MAP_TYPE_ARRAY);
/linux-master/tools/bpf/bpftool/
H A Dfeature.c625 case BPF_MAP_TYPE_ARRAY:
H A Dprog.c268 if (map_info->type != BPF_MAP_TYPE_ARRAY ||
/linux-master/tools/include/uapi/linux/
H A Dbpf.h967 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 Dfeatures.c67 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 Dlibbpf.c157 [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 Dlibbpf_probes.c349 case BPF_MAP_TYPE_ARRAY:
H A Dskel_internal.h158 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 Dusdt.bpf.h64 __uint(type, BPF_MAP_TYPE_ARRAY);
/linux-master/tools/perf/util/bpf_skel/
H A Dkwork_trace.bpf.c64 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dsample_filter.bpf.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Darray_map_batch_ops.c83 map_fd = bpf_map_create(is_pcpu ? BPF_MAP_TYPE_PERCPU_ARRAY : BPF_MAP_TYPE_ARRAY,
H A Dmap_in_map_batch_ops.c240 _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 Dbpf_iter.c652 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 Dbpf_obj_id.c86 !ASSERT_EQ(map_infos[i].type, BPF_MAP_TYPE_ARRAY, "map_type") ||
H A Dbpf_obj_pinning.c75 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 Dbtf.c134 .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 Dcgroup_attach_multi.c18 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL);
H A Dmap_in_map.c36 fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
H A Dobj_name.c54 attr.map_type = BPF_MAP_TYPE_ARRAY;
H A Dpinning.c244 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(__u32),
H A Dtest_bpffs.c89 map = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
H A Dunpriv_bpf_disabled.c178 for (i = BPF_MAP_TYPE_HASH; i <= BPF_MAP_TYPE_ARRAY; i++)
/linux-master/tools/testing/selftests/bpf/progs/
H A Daccess_map_in_map.c10 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dbloom_filter_bench.c18 __uint(type, BPF_MAP_TYPE_ARRAY);

Completed in 507 milliseconds

123456