Searched refs:expected_addr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | sock_addr.c | 367 const char *expected_addr; member 2285 struct sockaddr_storage expected_addr; in test_bind() local 2298 test->expected_addr, test->expected_port, in test_bind() 2299 &expected_addr, &expected_addr_len); in test_bind() 2303 err = cmp_sock_addr(test->ops->getsockname, serv, &expected_addr, in test_bind() 2309 client = connect_to_addr(test->socket_type, &expected_addr, expected_addr_len, NULL); in test_bind() 2326 struct sockaddr_storage addr, expected_addr, expected_src_addr; in test_connect() local 2333 test->expected_addr, test->expected_port, 0); in test_connect() 2349 err = make_sockaddr(test->socket_family, test->expected_addr, test->expected_port, in test_connect() 2350 &expected_addr, &expected_addr_len); in test_connect() [all …]
|
D | fib_lookup.c | 259 u8 expected_addr[16]; in assert_ip_address() local 265 ret = inet_pton(AF_INET6, expected_str, expected_addr); in assert_ip_address() 270 ret = inet_pton(AF_INET, expected_str, expected_addr); in assert_ip_address() 279 if (memcmp(addr, expected_addr, addr_len)) { in assert_ip_address()
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vgic_init.c | 225 uint64_t addr, expected_addr; in subtest_v3_redist_regions() local 304 expected_addr = REDIST_REGION_ATTR_ADDR(2, 0x200000, 0, 0); in subtest_v3_redist_regions() 307 TEST_ASSERT(!ret && addr == expected_addr, "read characteristics of region #0"); in subtest_v3_redist_regions() 310 expected_addr = REDIST_REGION_ATTR_ADDR(1, 0x240000, 0, 1); in subtest_v3_redist_regions() 313 TEST_ASSERT(!ret && addr == expected_addr, "read characteristics of region #1"); in subtest_v3_redist_regions()
|
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api_kunit.c | 248 int id, int size, int expected_addr) in test_vcap_xn_rule_creator() argument 312 KUNIT_EXPECT_EQ(test, expected_addr, ri->addr); in test_vcap_xn_rule_creator()
|