Lines Matching refs:errno

28 		printf("failed to create hashmap '%s'\n", strerror(errno));  in test_hashmap_sanity()
41 errno == EEXIST); in test_hashmap_sanity()
43 assert(bpf_update_elem(map_fd, &key, &value, -1) == -1 && errno == EINVAL); in test_hashmap_sanity()
50 assert(bpf_lookup_elem(map_fd, &key, &value) == -1 && errno == ENOENT); in test_hashmap_sanity()
55 errno == ENOENT); in test_hashmap_sanity()
65 errno == E2BIG); in test_hashmap_sanity()
68 assert(bpf_delete_elem(map_fd, &key) == -1 && errno == ENOENT); in test_hashmap_sanity()
76 errno == ENOENT); in test_hashmap_sanity()
83 assert(bpf_delete_elem(map_fd, &key) == -1 && errno == ENOENT); in test_hashmap_sanity()
88 errno == ENOENT); in test_hashmap_sanity()
99 printf("failed to create arraymap '%s'\n", strerror(errno)); in test_arraymap_sanity()
110 errno == EEXIST); in test_arraymap_sanity()
125 errno == E2BIG); in test_arraymap_sanity()
128 assert(bpf_lookup_elem(map_fd, &key, &value) == -1 && errno == ENOENT); in test_arraymap_sanity()
136 errno == ENOENT); in test_arraymap_sanity()
140 assert(bpf_delete_elem(map_fd, &key) == -1 && errno == EINVAL); in test_arraymap_sanity()
159 printf("failed to create large map '%s'\n", strerror(errno)); in test_map_large()
170 errno == E2BIG); in test_map_large()
175 assert(bpf_get_next_key(map_fd, &key, &key) == -1 && errno == ENOENT); in test_map_large()
180 assert(bpf_lookup_elem(map_fd, &key, &value) == -1 && errno == ENOENT); in test_map_large()
243 strerror(errno)); in test_map_parallel()
258 errno == EEXIST); in test_map_parallel()
264 assert(bpf_get_next_key(map_fd, &key, &key) == -1 && errno == ENOENT); in test_map_parallel()
279 assert(bpf_get_next_key(map_fd, &key, &key) == -1 && errno == ENOENT); in test_map_parallel()