Lines Matching refs:expect

162 	typeof(*observed.lines) *expect;  in __report_matches()  local
171 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL); in __report_matches()
172 if (WARN_ON(!expect)) in __report_matches()
178 cur = expect[0]; in __report_matches()
179 end = &expect[0][sizeof(expect[0]) - 1]; in __report_matches()
196 cur = strchr(expect[0], '+'); in __report_matches()
202 cur = expect[1]; in __report_matches()
203 end = &expect[1][sizeof(expect[1]) - 1]; in __report_matches()
229 cur = expect[2]; in __report_matches()
230 end = &expect[2][sizeof(expect[2]) - 1]; in __report_matches()
252 ret = strstr(observed.lines[0], expect[0]) && in __report_matches()
254 ((strstr(observed.lines[1], expect[1]) && in __report_matches()
255 strstr(observed.lines[2], expect[2])) || in __report_matches()
256 (strstr(observed.lines[1], expect[2]) && in __report_matches()
257 strstr(observed.lines[2], expect[1]))); in __report_matches()
260 kfree(expect); in __report_matches()
715 struct expect_report expect = { in test_basic() local
732 match_expect |= report_matches(&expect); in test_basic()
746 struct expect_report expect = { in test_concurrent_races() local
764 match_expect |= report_matches(&expect); in test_concurrent_races()
833 struct expect_report expect = { in test_unknown_origin() local
843 match_expect = report_matches(&expect); in test_unknown_origin()
855 struct expect_report expect = { in test_write_write_assume_atomic() local
866 match_expect = report_matches(&expect); in test_write_write_assume_atomic()
881 struct expect_report expect = { in test_write_write_struct() local
891 match_expect = report_matches(&expect); in test_write_write_struct()
903 struct expect_report expect = { in test_write_write_struct_part() local
913 match_expect = report_matches(&expect); in test_write_write_struct_part()
935 struct expect_report expect = { in test_read_plain_atomic_write() local
947 match_expect = report_matches(&expect); in test_read_plain_atomic_write()
956 struct expect_report expect = { in test_read_plain_atomic_rmw() local
969 match_expect = report_matches(&expect); in test_read_plain_atomic_rmw()
978 struct expect_report expect = { in test_zero_size_access() local
995 match_expect |= report_matches(&expect); in test_zero_size_access()
1018 struct expect_report expect = { in test_assert_exclusive_writer() local
1028 match_expect = report_matches(&expect); in test_assert_exclusive_writer()
1036 struct expect_report expect = { in test_assert_exclusive_access() local
1046 match_expect = report_matches(&expect); in test_assert_exclusive_access()
1090 struct expect_report expect = { in test_assert_exclusive_bits_change() local
1101 match_expect = report_matches(&expect); in test_assert_exclusive_bits_change()
1262 struct expect_report expect = { in test_1bit_value_change() local
1274 : report_matches(&expect); in test_1bit_value_change()
1285 struct expect_report expect = { in test_correct_barrier() local
1296 match_expect = report_matches_any_reordered(&expect); in test_correct_barrier()
1304 struct expect_report expect = { in test_missing_barrier() local
1315 match_expect = report_matches_any_reordered(&expect); in test_missing_barrier()
1326 struct expect_report expect = { in test_atomic_builtins_correct_barrier() local
1338 match_expect = report_matches_any_reordered(&expect); in test_atomic_builtins_correct_barrier()
1346 struct expect_report expect = { in test_atomic_builtins_missing_barrier() local
1358 match_expect = report_matches_any_reordered(&expect); in test_atomic_builtins_missing_barrier()