Searched refs:test_str (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | tls.c | 87 char const *test_str = "test_read"; in TEST_F() local 91 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F() 93 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F() 95 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 198 char const *test_str = "test_send"; in TEST_F() local 199 int to_send = strlen(test_str) + 1; in TEST_F() 208 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F() 210 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 287 char const *test_str = "test_read"; in TEST_F() local 291 send_len = strlen(test_str) + 1; in TEST_F() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | cls_redirect.c | 203 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str() function 405 test_str(tmp, sizeof(tmp), test, tuple->family); in test_cls_redirect_common()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 261 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local 274 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
D | parse-filter.c | 1749 static int test_str(struct tep_event *event, struct tep_filter_arg *arg, in test_str() function 1824 return test_str(event, arg, record, err); in test_filter()
|