Searched refs:bpf_create_map (Results 1 – 12 of 12) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_maps.c | 51 fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in test_hashmap() 142 fd = bpf_create_map(BPF_MAP_TYPE_HASH, i, j, in test_hashmap_sizes() 164 fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_HASH, sizeof(key), in test_hashmap_percpu() 267 fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in test_hashmap_walk() 314 fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key), sizeof(value), in test_arraymap() 370 fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_ARRAY, sizeof(key), in test_arraymap_percpu() 433 fd = bpf_create_map(BPF_MAP_TYPE_PERCPU_ARRAY, sizeof(key), in test_arraymap_percpu_many_keys() 465 fd = bpf_create_map(BPF_MAP_TYPE_DEVMAP, sizeof(key), sizeof(value), in test_devmap() 486 fd = bpf_create_map(BPF_MAP_TYPE_QUEUE, 4, sizeof(val), MAP_SIZE, in test_queuemap() 490 fd = bpf_create_map(BPF_MAP_TYPE_QUEUE, 0, sizeof(val), MAP_SIZE, in test_queuemap() [all …]
|
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()
|
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() 537 map_fd = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, key_size, sizeof(value), in test_lpm_get_next_key() 720 map_fd = bpf_create_map(BPF_MAP_TYPE_LPM_TRIE, key_size, value_size, in test_lpm_multi_thread()
|
D | test_tag.c | 190 fd_map = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(int), in main()
|
D | test_lru_map.c | 34 map_fd = bpf_create_map(map_type, sizeof(unsigned long long), in create_map()
|
D | test_verifier.c | 13963 fd = bpf_create_map(type, size_key, size_value, max_elem, in create_map() 14003 mfd = bpf_create_map(BPF_MAP_TYPE_PROG_ARRAY, sizeof(int), in create_prog_array() 14033 inner_map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(int), in create_map_in_map() 14057 fd = bpf_create_map(type, sizeof(struct bpf_cgroup_storage_key), in create_cgroup_storage()
|
/external/bcc/examples/cpp/ |
D | UseExternalMap.cc | 83 ctrl_map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, "control", sizeof(uint32_t), in main()
|
/external/bcc/src/cc/ |
D | libbpf.h | 34 int bpf_create_map(enum bpf_map_type map_type, const char *name,
|
D | libbpf.c | 190 int bpf_create_map(enum bpf_map_type map_type, const char *name, in bpf_create_map() function
|
/external/bcc/src/cc/includes/ |
D | libbpf.h | 34 int bpf_create_map(enum bpf_map_type map_type, const char *name,
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 1225 table.fd = bpf_create_map(map_type, table.name.c_str(), in VisitVarDecl()
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.cc | 1111 int map_fd = bpf_create_map(map_type, n->id_->name_.c_str(), in visit_table_decl_stmt_node()
|