Searched refs:bpf_create_map (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/samples/bpf/ |
D | test_maps.c | 26 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), 2); in test_hashmap_sanity() 97 map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key), sizeof(value), 2); in test_arraymap_sanity() 156 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in test_map_large() 239 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in test_map_parallel()
|
D | sock_example.c | 36 map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key), sizeof(value), in test_sock()
|
D | libbpf.c | 21 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size, in bpf_create_map() function
|
D | libbpf.h | 7 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
|
D | bpf_load.c | 127 map_fd[i] = bpf_create_map(maps[i].type, in load_maps()
|
D | test_verifier.c | 764 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), 1024); in create_map()
|