Home
last modified time | relevance | path

Searched refs:test_str (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Dtls.c233 char const *test_str = "test_read"; in TEST_F() local
237 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F()
239 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
241 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F()
414 char const *test_str = "test_send"; in TEST_F() local
415 int to_send = strlen(test_str) + 1; in TEST_F()
424 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
426 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
505 char const *test_str = "test_read"; in TEST_F() local
509 send_len = strlen(test_str) + 1; in TEST_F()
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/
Dguest_print_test.c144 char test_str[UCALL_BUFFER_LEN + 10]; in guest_code_limits() local
146 memset(test_str, 'a', sizeof(test_str)); in guest_code_limits()
147 test_str[sizeof(test_str) - 1] = 0; in guest_code_limits()
149 GUEST_PRINTF("%s", test_str); in guest_code_limits()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtesting_helpers.c76 char *test_str, in do_insert_test() argument
86 if (strcmp(test_str, test->name) == 0) { in do_insert_test()
87 free(test_str); in do_insert_test()
99 test->name = test_str; in do_insert_test()
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c597 static const unsigned char test_str[] = "fm10k"; variable
644 test_str); in fm10k_tlv_msg_test_generate_data()
736 if (!err && memcmp(test_str, result_str, sizeof(test_str))) in fm10k_tlv_msg_test()
/linux-6.6.21/lib/
Dtest_kmod.c721 const char *test_str) in trigger_config_run_type() argument
732 copied = config_copy_test_driver_name(config, test_str, in trigger_config_run_type()
733 strlen(test_str)); in trigger_config_run_type()
738 copied = config_copy_test_fs(config, test_str, in trigger_config_run_type()
739 strlen(test_str)); in trigger_config_run_type()
750 if (copied <= 0 || copied != strlen(test_str)) { in trigger_config_run_type()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dcls_redirect.c205 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str() function
407 test_str(tmp, sizeof(tmp), test, tuple->family); in test_cls_redirect_common()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dethtool_common.c213 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local
226 snprintf(test_str, sizeof(test_str), test_format, test_id); in efx_fill_test()
229 "%-6s %-24s", unit_str, test_str); in efx_fill_test()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dethtool_common.c262 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local
275 snprintf(test_str, sizeof(test_str), test_format, test_id); in efx_fill_test()
278 "%-6s %-24s", unit_str, test_str); in efx_fill_test()
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dethtool.c213 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in ef4_fill_test() local
226 snprintf(test_str, sizeof(test_str), test_format, test_id); in ef4_fill_test()
229 "%-6s %-24s", unit_str, test_str); in ef4_fill_test()