Home
last modified time | relevance | path

Searched refs:test_param (Results 1 – 3 of 3) sorted by relevance

/openbmc/libmctp/tests/
H A Dtest_core.c140 struct test_params test_param; in mctp_core_test_simple_rx() local
145 test_param.seen = false; in mctp_core_test_simple_rx()
146 test_param.message_size = 0; in mctp_core_test_simple_rx()
148 mctp_set_rx_all(mctp, rx_message, &test_param); in mctp_core_test_simple_rx()
157 assert(test_param.seen); in mctp_core_test_simple_rx()
158 assert(test_param.message_size == 2 * MCTP_BTU); in mctp_core_test_simple_rx()
168 struct test_params test_param; in mctp_core_test_receive_equal_length_fragments() local
175 test_param.seen = false; in mctp_core_test_receive_equal_length_fragments()
176 test_param.message_size = 0; in mctp_core_test_receive_equal_length_fragments()
178 mctp_set_rx_all(mctp, rx_message, &test_param); in mctp_core_test_receive_equal_length_fragments()
[all …]
/openbmc/linux/fs/ext4/
H A Dinode-test.c245 struct timestamp_expectation *test_param = in inode_test_xtimestamp_decoding() local
249 cpu_to_le32(get_32bit_time(test_param)), in inode_test_xtimestamp_decoding()
250 cpu_to_le32(test_param->extra_bits)); in inode_test_xtimestamp_decoding()
253 test_param->expected.tv_sec, in inode_test_xtimestamp_decoding()
256 test_param->test_case_name, in inode_test_xtimestamp_decoding()
257 test_param->msb_set, in inode_test_xtimestamp_decoding()
258 test_param->lower_bound, in inode_test_xtimestamp_decoding()
259 test_param->extra_bits); in inode_test_xtimestamp_decoding()
261 test_param->expected.tv_nsec, in inode_test_xtimestamp_decoding()
264 test_param->test_case_name, in inode_test_xtimestamp_decoding()
[all …]
/openbmc/linux/Documentation/dev-tools/kunit/
H A Dusage.rst583 struct sha1_test_case *test_param = (struct sha1_test_case *)(test->param_value);
585 sha1sum(test_param->str, out);
586 KUNIT_EXPECT_STREQ_MSG(test, out, test_param->sha1,
587 "sha1sum(%s)", test_param->str);