Home
last modified time | relevance | path

Searched refs:expected_str (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Ddynptr_success.c914 char expected_str[384]; in test_dynptr_probe_str()
938 char buf[sizeof(expected_str)]; in test_dynptr_probe_str()
955 if (err || bpf_memcmp(expected_str, buf, len)) in test_dynptr_probe_xdp()
968 char buf[sizeof(expected_str)]; in test_dynptr_probe_str_xdp()
989 if (err || bpf_memcmp(expected_str, buf, len - 1) || buf[len - 1] != '\0') in test_dynptr_probe_str_xdp()
999 char buf[sizeof(expected_str)]; in test_dynptr_probe_str_xdp()
1015 if (err || bpf_memcmp(expected_str, buf, len)) in test_probe_read_kernel_dynptr()
1027 char buf[sizeof(expected_str)]; in test_probe_read_user_str_dynptr()
1051 if (err || bpf_memcmp(expected_str, buf, len - 1) || buf[len - 1] != '\0') in test_copy_from_user_str_dynptr()
1071 test_dynptr_probe(expected_str, bpf_probe_read_kernel_dynpt
859 char expected_str[384]; global() variable
[all...]
/linux/arch/powerpc/sysdev/
H A Dmsi_bitmap.c218 const char *expected_str = "0-9,20-24,28-39,41-99,220-255"; in test_of_node() local
256 WARN_ON(bitmap_parselist(expected_str, expected, SIZE_EXPECTED)); in test_of_node()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Ddynptr.c84 memcpy(skel->bss->expected_str, user_data, sizeof(user_data)); in verify_success()
H A Dfib_lookup.c646 static void assert_ip_address(int family, void *addr, const char *expected_str) in assert_ip_address() argument
655 ret = inet_pton(AF_INET6, expected_str, expected_addr); in assert_ip_address()
660 ret = inet_pton(AF_INET, expected_str, expected_addr); in assert_ip_address()
671 PRINT_FAIL("expected %s actual %s ", expected_str, str); in assert_ip_address()