Lines Matching refs:ENOENT
266 assert(!r || errno == ENOENT); in test_lpm_map()
303 assert(!r || errno == ENOENT); in test_lpm_map()
411 assert(bpf_map_lookup_elem(map_fd_ipv4, key_ipv4, &value) == -ENOENT); in test_lpm_ipaddr()
414 assert(bpf_map_lookup_elem(map_fd_ipv4, key_ipv4, &value) == -ENOENT); in test_lpm_ipaddr()
417 assert(bpf_map_lookup_elem(map_fd_ipv6, key_ipv6, &value) == -ENOENT); in test_lpm_ipaddr()
474 assert(bpf_map_lookup_elem(map_fd, key, &value) == -ENOENT); in test_lpm_delete()
478 assert(bpf_map_delete_elem(map_fd, key) == -ENOENT); in test_lpm_delete()
482 assert(bpf_map_delete_elem(map_fd, key) == -ENOENT); in test_lpm_delete()
527 assert(bpf_map_lookup_elem(map_fd, key, &value) == -ENOENT); in test_lpm_delete()
548 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == -ENOENT); in test_lpm_get_next_key()
560 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -ENOENT); in test_lpm_get_next_key()
584 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -ENOENT); in test_lpm_get_next_key()
607 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -ENOENT); in test_lpm_get_next_key()
635 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -ENOENT); in test_lpm_get_next_key()
669 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -ENOENT); in test_lpm_get_next_key()
714 assert(ret == 0 || errno == ENOENT); in lpm_test_command()
718 assert(ret == 0 || errno == ENOENT); in lpm_test_command()
722 assert(ret == 0 || errno == ENOENT || errno == ENOMEM); in lpm_test_command()