Searched refs:bpf_map_delete_elem (Results 1 – 5 of 5) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_maps.c | 90 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap() 105 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 107 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 108 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap() 202 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap_percpu() 230 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 232 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 233 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap_percpu() 343 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == EINVAL); in test_arraymap() 402 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == EINVAL); in test_arraymap_percpu() [all …]
|
D | test_lru_map.c | 312 assert(!bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity2() 471 assert(!bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity4() 472 assert(bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity4()
|
D | bpf_helpers.h | 17 static int (*bpf_map_delete_elem)(void *map, void *key) = variable
|
/tools/lib/bpf/ |
D | bpf.h | 54 int bpf_map_delete_elem(int fd, const void *key);
|
D | bpf.c | 196 int bpf_map_delete_elem(int fd, const void *key) in bpf_map_delete_elem() function
|