/Linux-v6.1/tools/testing/selftests/net/ |
D | tls.c | 217 char const *test_str = "test_read"; in TEST_F() local 221 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F() 223 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F() 225 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 354 char const *test_str = "test_send"; in TEST_F() local 355 int to_send = strlen(test_str) + 1; in TEST_F() 364 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F() 366 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 445 char const *test_str = "test_read"; in TEST_F() local 449 send_len = strlen(test_str) + 1; in TEST_F() [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.c | 597 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-v6.1/lib/ |
D | test_kmod.c | 732 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-v6.1/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() function 406 test_str(tmp, sizeof(tmp), test, tuple->family); in test_cls_redirect_common()
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 270 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local 283 snprintf(test_str, sizeof(test_str), test_format, test_id); in efx_fill_test() 286 "%-6s %-24s", unit_str, test_str); in efx_fill_test()
|
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 213 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()
|
/Linux-v6.1/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.c | 213 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-v6.1/tools/lib/traceevent/ |
D | parse-filter.c | 1752 static int test_str(struct tep_event *event, struct tep_filter_arg *arg, in test_str() function 1827 return test_str(event, arg, record, err); in test_filter()
|