| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | bloom_filter_map.c | 14 fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 4, sizeof(value), 100, 0); in test_fail_cases() 19 fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 0, 0, 100, 0); in test_fail_cases() 24 fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 0, sizeof(value), 0, 0); in test_fail_cases() 29 fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 0, sizeof(value), 100, in test_fail_cases() 34 fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 0, sizeof(value), 100, 0); in test_fail_cases() 63 fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 0, sizeof(value), 100, in test_success_cases() 103 inner_map_fd = bpf_create_map(BPF_MAP_TYPE_BLOOM_FILTER, 0, sizeof(*rand_vals), in test_inner_map()
|
| A D | cgroup_attach_multi.c | 18 map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, 4, 8, 1, 0); in prog_load_cnt() 24 cgroup_storage_fd = bpf_create_map(BPF_MAP_TYPE_CGROUP_STORAGE, in prog_load_cnt() 31 percpu_cgroup_storage_fd = bpf_create_map( in prog_load_cnt()
|
| A D | sockmap_ktls.c | 100 map = bpf_create_map(map_type, sizeof(int), sizeof(int), 1, 0); in run_tests()
|
| A D | ringbuf_multi.c | 65 proto_fd = bpf_create_map(BPF_MAP_TYPE_RINGBUF, 0, 0, page_size, 0); in test_ringbuf_multi()
|
| A D | test_bpffs.c | 83 map = bpf_create_map(BPF_MAP_TYPE_ARRAY, 4, 4, 1, 0); in fn()
|
| A D | pinning.c | 244 map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(__u32), in test_pinning()
|
| A D | sockmap_basic.c | 94 map = bpf_create_map(map_type, sizeof(int), sizeof(int), 1, 0); in test_sockmap_create_update_free()
|
| A D | bpf_iter.c | 472 map1_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, 4, 8, 1, 0); in test_overflow() 476 map2_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, 4, 8, 1, 0); in test_overflow()
|
| /linux/tools/testing/selftests/bpf/ |
| A D | test_maps.c | 42 fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in test_hashmap() 140 fd = bpf_create_map(BPF_MAP_TYPE_HASH, i, j, in test_hashmap_sizes() 162 fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_HASH, sizeof(key), in test_hashmap_percpu() 274 fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in helper_fill_hashmap() 423 fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_ARRAY, sizeof(key), in test_arraymap_percpu() 486 fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_ARRAY, sizeof(key), in test_arraymap_percpu_many_keys() 554 fd = bpf_create_map(BPF_MAP_TYPE_QUEUE, 4, sizeof(val), MAP_SIZE, in test_queuemap() 746 fd = bpf_create_map(BPF_MAP_TYPE_SOCKMAP, in test_sockmap() 1572 fd = bpf_create_map(map_type, 0, sizeof(value), MAP_SIZE, in test_map_wronly_stack_or_queue() 1702 map_fd = bpf_create_map(BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, in test_reuseport_array() [all …]
|
| A D | test_cgroup_storage.c | 53 map_fd = bpf_create_map(BPF_MAP_TYPE_CGROUP_STORAGE, sizeof(key), in main() 60 percpu_map_fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, in main()
|
| A D | test_lpm_map.c | 236 map = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, in test_lpm_map() 345 map_fd_ipv4 = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, in test_lpm_ipaddr() 350 map_fd_ipv6 = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, in test_lpm_ipaddr() 434 map_fd = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, in test_lpm_delete() 547 map_fd = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, key_size, sizeof(value), in test_lpm_get_next_key() 765 map_fd = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, key_size, value_size, in test_lpm_multi_thread()
|
| A D | test_tag.c | 190 fd_map = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(int), in main()
|
| A D | test_verifier.c | 467 fd = bpf_create_map(type, size_key, size_value, max_elem, in __create_map() 527 mfd = bpf_create_map(BPF_MAP_TYPE_PROG_ARRAY, sizeof(int), in create_prog_array() 560 inner_map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(int), in create_map_in_map() 589 fd = bpf_create_map(type, sizeof(struct bpf_cgroup_storage_key), in create_cgroup_storage()
|
| A D | test_lru_map.c | 33 map_fd = bpf_create_map(map_type, sizeof(unsigned long long), in create_map()
|
| /linux/samples/bpf/ |
| A D | test_cgrp2_array_pin.c | 67 array_fd = bpf_create_map(BPF_MAP_TYPE_CGROUP_ARRAY, in main()
|
| A D | sock_example.c | 40 map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key), sizeof(value), in test_sock()
|
| A D | test_cgrp2_attach.c | 93 map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, in attach_filter()
|
| A D | fds_example.c | 51 return bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(uint32_t), in bpf_map_create()
|
| A D | test_lru_dist.c | 108 lru->map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, in pfect_lru_init() 212 map_fd = bpf_create_map(map_type, sizeof(unsigned long long), in create_map()
|
| A D | cookie_uid_helper_example.c | 70 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(uint32_t), in maps_create()
|
| /linux/tools/lib/bpf/ |
| A D | libbpf.map | 4 bpf_create_map;
|
| A D | libbpf_probes.c | 282 fd_inner = bpf_create_map(BPF_MAP_TYPE_HASH, in bpf_probe_map_type()
|
| A D | bpf.h | 63 LIBBPF_API int bpf_create_map(enum bpf_map_type map_type, int key_size,
|
| A D | bpf.c | 164 int bpf_create_map(enum bpf_map_type map_type, int key_size, in bpf_create_map() function
|
| /linux/tools/perf/util/ |
| A D | bpf_counter.c | 323 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, in bperf_lock_attr_map()
|