Symbol: bpf_map_create
include/linux/lsm_hook_defs.h
444
LSM_HOOK(int, 0, bpf_map_create, struct bpf_map *map, union bpf_attr *attr,
samples/bpf/cookie_uid_helper_example.c
70
map_fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(uint32_t),
samples/bpf/fds_example.c
83
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(uint32_t),
samples/bpf/map_perf_test_user.c
147
bpf_map_create(BPF_MAP_TYPE_LRU_HASH,
samples/bpf/sock_example.c
41
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(key), sizeof(value),
samples/bpf/test_lru_dist.c
102
lru->map_fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL,
samples/bpf/test_lru_dist.c
209
map_fd = bpf_map_create(map_type, NULL, sizeof(unsigned long long),
security/security.c
5352
rc = call_int_hook(bpf_map_create, map, attr, token, kernel);
security/selinux/hooks.c
7834
LSM_HOOK_INIT(bpf_map_create, selinux_bpf_map_create),
tools/bpf/bpftool/feature.c
527
fd = bpf_map_create(map_type, NULL, key_size, value_size, max_entries,
tools/bpf/bpftool/map.c
1349
fd = bpf_map_create(map_type, map_name, key_size, value_size, max_entries, &attr);
tools/lib/bpf/bpf.h
79
LIBBPF_API int bpf_map_create(enum bpf_map_type map_type,
tools/lib/bpf/features.c
219
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_mmap", sizeof(int), sizeof(int), 1, &opts);
tools/lib/bpf/features.c
281
map = bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_det_bind", sizeof(int), 32, 1, &map_opts);
tools/lib/bpf/features.c
530
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr", sizeof(int), 1, 1, &map_opts);
tools/lib/bpf/features.c
65
map = bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_global", sizeof(int), 32, 1, &map_opts);
tools/lib/bpf/libbpf.c
5462
map_fd = bpf_map_create(def->type, map_name,
tools/lib/bpf/libbpf.c
5475
map_fd = bpf_map_create(def->type, map_name,
tools/lib/bpf/libbpf.c
6338
map_fd = bpf_map_create(BPF_MAP_TYPE_INSN_ARRAY, ".jumptables",
tools/lib/bpf/libbpf_probes.c
391
fd_inner = bpf_map_create(BPF_MAP_TYPE_HASH, NULL,
tools/lib/bpf/libbpf_probes.c
405
fd = bpf_map_create(map_type, NULL, key_size, value_size, max_entries, &opts);
tools/perf/util/bpf_counter.c
392
map_fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL,
tools/sched_ext/scx_pair.c
149
inner_fd = bpf_map_create(BPF_MAP_TYPE_QUEUE, NULL, 0,
tools/testing/selftests/bpf/benchs/bench_local_storage.c
147
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(int),
tools/testing/selftests/bpf/benchs/bench_local_storage.c
150
fd = bpf_map_create(BPF_MAP_TYPE_TASK_STORAGE, NULL, sizeof(int),
tools/testing/selftests/bpf/benchs/bench_xdp_lb.c
543
inner_fd = bpf_map_create(BPF_MAP_TYPE_LRU_HASH, "lru_inner",
tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c
83
map_fd = bpf_map_create(is_pcpu ? BPF_MAP_TYPE_PERCPU_ARRAY : BPF_MAP_TYPE_ARRAY,
tools/testing/selftests/bpf/map_tests/htab_map_batch_ops.c
92
map_fd = bpf_map_create(is_pcpu ? BPF_MAP_TYPE_PERCPU_HASH : BPF_MAP_TYPE_HASH,
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
255
map = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL,
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
365
map_fd_ipv4 = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL,
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
370
map_fd_ipv6 = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL,
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
452
map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL,
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
562
map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, key_size, sizeof(value), 100, &opts);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
774
map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, NULL, key_size, value_size, 100, &opts);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
797
fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, "lpm_trie", key_size, value_size, max_entries,
tools/testing/selftests/bpf/map_tests/lpm_trie_map_batch_ops.c
80
map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, "lpm_trie_map",
tools/testing/selftests/bpf/map_tests/lpm_trie_map_get_next_key.c
75
map_fd = bpf_map_create(BPF_MAP_TYPE_LPM_TRIE, "lpm_trie_map",
tools/testing/selftests/bpf/map_tests/map_in_map_batch_ops.c
41
map_fd = bpf_map_create(map_type, map_name, sizeof(__u32),
tools/testing/selftests/bpf/map_tests/map_in_map_batch_ops.c
72
outer_map_fd = bpf_map_create(map_type, "outer_map", sizeof(__u32),
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
152
map_fd = bpf_map_create(BPF_MAP_TYPE_HASH, "small", 4, 4, 4, NULL);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
349
map_fd = bpf_map_create(type, name, key_size, val_size, max_entries, map_opts);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
469
fd = bpf_map_create(map_types[i], NULL, sizeof(__u32), value_sz, 1, &opts);
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
151
map_fd = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &map_opts);
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
474
map_fd = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &map_opts);
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
565
err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &bad_xattr);
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
571
err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &bad_xattr);
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
575
err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 1, &map_opts);
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
581
err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &bad_xattr);
tools/testing/selftests/bpf/prog_tests/arena_direct_value.c
32
map_fd = bpf_map_create(BPF_MAP_TYPE_ARENA, "arena_direct_value",
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
116
inner_map_fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(*rand_vals),
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
20
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 4, sizeof(value), 100, NULL);
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
25
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, 0, 100, NULL);
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
30
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, INT32_MAX, 100, NULL);
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
35
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 0, NULL);
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
41
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, &opts);
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
45
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, NULL);
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
77
fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, &opts);
tools/testing/selftests/bpf/prog_tests/bpf_attr_size.c
77
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr", sizeof(int), 1, 1, &map_opts);
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
254
return bpf_map_create(BPF_MAP_TYPE_INSN_ARRAY, map_name,
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
13
return bpf_map_create(map_type, map_name, key_size, value_size, max_entries, NULL);
tools/testing/selftests/bpf/prog_tests/bpf_iter.c
736
map1_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL);
tools/testing/selftests/bpf/prog_tests/bpf_iter.c
739
map2_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL);
tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c
250
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, map_name, 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c
75
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, map_name, 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/btf.c
4476
map_fd = bpf_map_create(test->map_type, test->map_name,
tools/testing/selftests/bpf/prog_tests/btf.c
4705
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "test_btf_id",
tools/testing/selftests/bpf/prog_tests/btf.c
5529
map_fd = bpf_map_create(test->map_type, test->map_name,
tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
18
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 8, 1, NULL);
tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
24
cgroup_storage_fd = bpf_map_create(BPF_MAP_TYPE_CGROUP_STORAGE, NULL,
tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
31
percpu_cgroup_storage_fd = bpf_map_create(
tools/testing/selftests/bpf/prog_tests/fd_array.c
17
return bpf_map_create(BPF_MAP_TYPE_ARRAY, name,
tools/testing/selftests/bpf/prog_tests/fd_htab_lookup.c
108
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/fd_htab_lookup.c
74
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_btf.c
30
map_fd_arr[i] = bpf_map_create(BPF_MAP_TYPE_PERCPU_ARRAY, NULL, 4, 4, 256, NULL);
tools/testing/selftests/bpf/prog_tests/map_excl.c
105
excl_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "excl_iter", 4, 8, 3, &excl_opts);
tools/testing/selftests/bpf/prog_tests/map_excl.c
137
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "excl", 4, 4, 1, &o);
tools/testing/selftests/bpf/prog_tests/map_excl.c
144
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "excl", 4, 4, 1, &o);
tools/testing/selftests/bpf/prog_tests/map_excl.c
151
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "excl", 4, 4, 1, &o);
tools/testing/selftests/bpf/prog_tests/map_excl.c
158
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "excl", 4, 4, 1, &o);
tools/testing/selftests/bpf/prog_tests/map_excl.c
63
excl_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "excl_inner", 4, 4, 1, &excl_opts);
tools/testing/selftests/bpf/prog_tests/map_excl.c
68
err = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, "outer_from_excl",
tools/testing/selftests/bpf/prog_tests/map_excl.c
74
tmpl_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "tmpl", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_excl.c
79
outer_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, "outer", 4, 4, 1, &outer_opts);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
137
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr1", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
155
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr1", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
164
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr2", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
184
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr1", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
206
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr1", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
215
inner_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr2", 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_in_map.c
38
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/map_init.c
229
fd = bpf_map_create(map_type, map_name, key_size, value_size, max_entries, opts);
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
407
map_fd = bpf_map_create(map_type, "test_cpu_flag", sizeof(int), sizeof(u64), max_entries,
tools/testing/selftests/bpf/prog_tests/percpu_array_inner_map.c
16
tmpl_fd = bpf_map_create(BPF_MAP_TYPE_PERCPU_ARRAY, "tmpl",
tools/testing/selftests/bpf/prog_tests/percpu_array_inner_map.c
23
outer_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, "outer",
tools/testing/selftests/bpf/prog_tests/percpu_array_inner_map.c
34
good_fd = bpf_map_create(BPF_MAP_TYPE_PERCPU_ARRAY, "good",
tools/testing/selftests/bpf/prog_tests/percpu_array_inner_map.c
44
bad_fd = bpf_map_create(BPF_MAP_TYPE_PERCPU_ARRAY, "bad",
tools/testing/selftests/bpf/prog_tests/pinning.c
244
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(__u32),
tools/testing/selftests/bpf/prog_tests/rhash.c
52
return bpf_map_create(BPF_MAP_TYPE_RHASH, "rhash_extra",
tools/testing/selftests/bpf/prog_tests/ringbuf_multi.c
62
proto_fd = bpf_map_create(BPF_MAP_TYPE_RINGBUF, NULL, 0, 0, page_size, NULL);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
67
reuseport_array = bpf_map_create(inner_type, "reuseport_array",
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
74
outer_map = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, "outer_map",
tools/testing/selftests/bpf/prog_tests/signed_loader.c
78
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "__loader.map",
tools/testing/selftests/bpf/prog_tests/signed_loader.c
799
return bpf_map_create(BPF_MAP_TYPE_ARRAY, "md", 4, value_size, 1, &opts);
tools/testing/selftests/bpf/prog_tests/signed_loader.c
886
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "h", 4, sizeof(val), 1, NULL);
tools/testing/selftests/bpf/prog_tests/signed_loader.c
918
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "h", 4, value_size, nr, NULL);
tools/testing/selftests/bpf/prog_tests/signed_loader.c
953
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "h", 4, sizeof(val), 1, NULL);
tools/testing/selftests/bpf/prog_tests/signed_loader.c
975
fd = bpf_map_create(BPF_MAP_TYPE_HASH, "h", 4, 8, 4, NULL);
tools/testing/selftests/bpf/prog_tests/signed_loader.c
995
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "__loader.map", 4,
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
1090
map = bpf_map_create(BPF_MAP_TYPE_SOCKMAP, NULL, sizeof(int),
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
110
map = bpf_map_create(map_type, NULL, sizeof(int), sizeof(int), 1, NULL);
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
127
map = bpf_map_create(BPF_MAP_TYPE_SOCKMAP, NULL, sizeof(int),
tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c
228
map = bpf_map_create(map_type, NULL, sizeof(int), sizeof(int), 1, NULL);
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
225
mapfd = bpf_map_create(BPF_MAP_TYPE_SOCKMAP, NULL, sizeof(key),
tools/testing/selftests/bpf/prog_tests/task_local_storage.c
486
map_fd = bpf_map_create(bpf_map__type(map), map_name,
tools/testing/selftests/bpf/prog_tests/test_bpffs.c
89
map = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, 4, 4, 1, NULL);
tools/testing/selftests/bpf/prog_tests/token.c
530
map_fd = bpf_map_create(BPF_MAP_TYPE_STACK, "wo_token_wo_bpf", 0, 8, 1, &map_opts);
tools/testing/selftests/bpf/prog_tests/token.c
539
map_fd = bpf_map_create(BPF_MAP_TYPE_STACK, "w_token_wo_bpf", 0, 8, 1, &map_opts);
tools/testing/selftests/bpf/prog_tests/token.c
553
map_fd = bpf_map_create(BPF_MAP_TYPE_STACK, "wo_token_w_bpf", 0, 8, 1, &map_opts);
tools/testing/selftests/bpf/prog_tests/token.c
562
map_fd = bpf_map_create(BPF_MAP_TYPE_STACK, "w_token_w_bpf", 0, 8, 1, &map_opts);
tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
161
ASSERT_EQ(bpf_map_create(i, NULL, sizeof(int), sizeof(int), 1, NULL),
tools/testing/selftests/bpf/prog_tests/wq.c
61
map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "map_no_btf", sizeof(__u32), sizeof(__u64), 100,
tools/testing/selftests/bpf/test_lru_map.c
33
map_fd = bpf_map_create(map_type, NULL, sizeof(unsigned long long),
tools/testing/selftests/bpf/test_lru_map.c
69
mfd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(int), sizeof(__u64), 1, NULL);
tools/testing/selftests/bpf/test_maps.c
1171
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(int), sizeof(int), 2, NULL);
tools/testing/selftests/bpf/test_maps.c
1324
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value),
tools/testing/selftests/bpf/test_maps.c
135
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, i, j, 2, &map_opts);
tools/testing/selftests/bpf/test_maps.c
1481
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value),
tools/testing/selftests/bpf/test_maps.c
1541
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value),
tools/testing/selftests/bpf/test_maps.c
156
fd = bpf_map_create(BPF_MAP_TYPE_PERCPU_HASH, NULL, sizeof(key),
tools/testing/selftests/bpf/test_maps.c
1570
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value),
tools/testing/selftests/bpf/test_maps.c
1601
fd = bpf_map_create(map_type, NULL, 0, sizeof(value), MAP_SIZE, &map_opts);
tools/testing/selftests/bpf/test_maps.c
1731
map_fd = bpf_map_create(BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, NULL,
tools/testing/selftests/bpf/test_maps.c
1868
map_fd = bpf_map_create(BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, NULL,
tools/testing/selftests/bpf/test_maps.c
279
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value),
tools/testing/selftests/bpf/test_maps.c
373
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(key), sizeof(value), 2, NULL);
tools/testing/selftests/bpf/test_maps.c
38
fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value), 2, &map_opts);
tools/testing/selftests/bpf/test_maps.c
428
fd = bpf_map_create(BPF_MAP_TYPE_PERCPU_ARRAY, NULL, sizeof(key),
tools/testing/selftests/bpf/test_maps.c
491
fd = bpf_map_create(BPF_MAP_TYPE_PERCPU_ARRAY, NULL, sizeof(key),
tools/testing/selftests/bpf/test_maps.c
523
fd = bpf_map_create(BPF_MAP_TYPE_DEVMAP, NULL, sizeof(key), sizeof(value), 2, NULL);
tools/testing/selftests/bpf/test_maps.c
537
fd = bpf_map_create(BPF_MAP_TYPE_DEVMAP_HASH, NULL, sizeof(key), sizeof(value), 2, NULL);
tools/testing/selftests/bpf/test_maps.c
557
fd = bpf_map_create(BPF_MAP_TYPE_QUEUE, NULL, 4, sizeof(val), MAP_SIZE, &map_opts);
tools/testing/selftests/bpf/test_maps.c
560
fd = bpf_map_create(BPF_MAP_TYPE_QUEUE, NULL, 0, sizeof(val), MAP_SIZE, &map_opts);
tools/testing/selftests/bpf/test_maps.c
613
fd = bpf_map_create(BPF_MAP_TYPE_STACK, NULL, 4, sizeof(val), MAP_SIZE, &map_opts);
tools/testing/selftests/bpf/test_maps.c
616
fd = bpf_map_create(BPF_MAP_TYPE_STACK, NULL, 0, sizeof(val), MAP_SIZE, &map_opts);
tools/testing/selftests/bpf/test_maps.c
745
fd = bpf_map_create(BPF_MAP_TYPE_SOCKMAP, NULL,
tools/testing/selftests/bpf/test_tag.c
194
fd_map = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(int),
tools/testing/selftests/bpf/test_verifier.c
549
fd = bpf_map_create(type, NULL, size_key, size_value, max_elem, &opts);
tools/testing/selftests/bpf/test_verifier.c
605
mfd = bpf_map_create(BPF_MAP_TYPE_PROG_ARRAY, NULL, sizeof(int),
tools/testing/selftests/bpf/test_verifier.c
639
inner_map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, NULL, sizeof(int),
tools/testing/selftests/bpf/test_verifier.c
649
outer_map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, NULL,
tools/testing/selftests/bpf/test_verifier.c
669
fd = bpf_map_create(type, NULL, sizeof(struct bpf_cgroup_storage_key),
tools/testing/selftests/bpf/test_verifier.c
811
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "test_map", 4, 8, 1, &opts);
tools/testing/selftests/bpf/test_verifier.c
830
fd = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "test_map", 4, 8, 0, &opts);
tools/testing/selftests/bpf/test_verifier.c
850
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "test_map", 4, 16, 1, &opts);
tools/testing/selftests/bpf/test_verifier.c
869
fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, "test_map", 4, 24, 1, &opts);