Searched refs:test_str (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/net/ | 
| D | tls.c | 128 	char const *test_str = "test_read";  in TEST_F()  local132 	ASSERT_EQ(strlen(test_str) + 1, send_len);  in TEST_F()
 134 	EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);  in TEST_F()
 136 	EXPECT_EQ(memcmp(buf, test_str, send_len), 0);  in TEST_F()
 253 	char const *test_str = "test_send";  in TEST_F()  local
 254 	int to_send = strlen(test_str) + 1;  in TEST_F()
 263 	EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send);  in TEST_F()
 265 	EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0);  in TEST_F()
 344 	char const *test_str = "test_read";  in TEST_F()  local
 348 	send_len = strlen(test_str) + 1;  in TEST_F()
 [all …]
 
 | 
| /Linux-v5.15/drivers/net/ethernet/intel/fm10k/ | 
| D | fm10k_tlv.c | 597 static const unsigned char test_str[] =	"fm10k";  variable644 					       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-v5.15/lib/ | 
| D | test_kmod.c | 732 				   const char *test_str)  in trigger_config_run_type()  argument743 		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-v5.15/tools/testing/selftests/bpf/prog_tests/ | 
| D | cls_redirect.c | 204 static int test_str(void *buf, size_t len, const struct test_cfg *test,  in test_str()  function406 			test_str(tmp, sizeof(tmp), test, tuple->family);  in test_cls_redirect_common()
 
 | 
| /Linux-v5.15/drivers/net/ethernet/sfc/ | 
| D | ethtool_common.c | 261 	char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN];  in efx_fill_test()  local274 		snprintf(test_str, sizeof(test_str), test_format, test_id);  in efx_fill_test()
 277 			 "%-6s %-24s", unit_str, test_str);  in efx_fill_test()
 
 | 
| /Linux-v5.15/drivers/net/ethernet/sfc/falcon/ | 
| D | ethtool.c | 213 	char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN];  in ef4_fill_test()  local226 		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()
 
 | 
| /Linux-v5.15/tools/lib/traceevent/ | 
| D | parse-filter.c | 1749 static int test_str(struct tep_event *event, struct tep_filter_arg *arg,  in test_str()  function1824 		return test_str(event, arg, record, err);  in test_filter()
 
 |