Searched refs:bpf_create_map (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/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 | fds_example.c | 46 return bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(uint32_t), in bpf_map_create()
|
D | libbpf.h | 7 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
|
D | bpf_load.c | 157 map_fd[i] = bpf_create_map(maps[i].type, in load_maps()
|
D | test_verifier.c | 1200 map_fd = bpf_create_map(BPF_MAP_TYPE_HASH, in create_map() 1212 map_fd = bpf_create_map(BPF_MAP_TYPE_PROG_ARRAY, in create_prog_array()
|
/linux-4.4.14/tools/lib/bpf/ |
D | bpf.h | 13 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
|
D | bpf.c | 43 int bpf_create_map(enum bpf_map_type map_type, int key_size, in bpf_create_map() function
|
D | libbpf.c | 698 *pfd = bpf_create_map(def.type, in bpf_object__create_maps()
|