Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/net/
Dtls.c113 char const *test_str = "test_send"; in TEST_F() local
114 int to_send = strlen(test_str) + 1; in TEST_F()
123 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
125 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
144 char const *test_str = "test_read"; in TEST_F() local
148 send_len = strlen(test_str) + 1; in TEST_F()
149 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
151 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F()
156 char const *test_str = "test_read"; in TEST_F() local
160 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c596 static const unsigned char test_str[] = "fm10k"; variable
643 test_str); in fm10k_tlv_msg_test_generate_data()
735 if (!err && memcmp(test_str, result_str, sizeof(test_str))) in fm10k_tlv_msg_test()
/Linux-v4.19/lib/
Dtest_kmod.c732 const char *test_str) in trigger_config_run_type() argument
743 copied = config_copy_test_driver_name(config, test_str, in trigger_config_run_type()
744 strlen(test_str)); in trigger_config_run_type()
749 copied = config_copy_test_fs(config, test_str, in trigger_config_run_type()
750 strlen(test_str)); in trigger_config_run_type()
761 if (copied <= 0 || copied != strlen(test_str)) { in trigger_config_run_type()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dethtool.c216 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in ef4_fill_test() local
229 snprintf(test_str, sizeof(test_str), test_format, test_id); in ef4_fill_test()
232 "%-6s %-24s", unit_str, test_str); in ef4_fill_test()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dethtool.c234 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local
247 snprintf(test_str, sizeof(test_str), test_format, test_id); in efx_fill_test()
250 "%-6s %-24s", unit_str, test_str); in efx_fill_test()
/Linux-v4.19/tools/lib/traceevent/
Dparse-filter.c1910 static int test_str(struct event_format *event, struct filter_arg *arg, in test_str() function
1985 return test_str(event, arg, record, err); in test_filter()