Lines Matching refs:expect
152 typeof(*observed.lines) *expect; in report_matches() local
161 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL); in report_matches()
162 if (WARN_ON(!expect)) in report_matches()
168 cur = expect[0]; in report_matches()
169 end = &expect[0][sizeof(expect[0]) - 1]; in report_matches()
186 cur = strchr(expect[0], '+'); in report_matches()
192 cur = expect[1]; in report_matches()
193 end = &expect[1][sizeof(expect[1]) - 1]; in report_matches()
217 cur = expect[2]; in report_matches()
218 end = &expect[2][sizeof(expect[2]) - 1]; in report_matches()
240 ret = strstr(observed.lines[0], expect[0]) && in report_matches()
242 ((strstr(observed.lines[1], expect[1]) && in report_matches()
243 strstr(observed.lines[2], expect[2])) || in report_matches()
244 (strstr(observed.lines[1], expect[2]) && in report_matches()
245 strstr(observed.lines[2], expect[1]))); in report_matches()
248 kfree(expect); in report_matches()
426 const struct expect_report expect = { in test_basic() local
443 match_expect |= report_matches(&expect); in test_basic()
457 const struct expect_report expect = { in test_concurrent_races() local
475 match_expect |= report_matches(&expect); in test_concurrent_races()
486 const struct expect_report expect = { in test_novalue_change() local
496 match_expect = report_matches(&expect); in test_novalue_change()
511 const struct expect_report expect = { in test_novalue_change_exception() local
521 match_expect = report_matches(&expect); in test_novalue_change_exception()
530 const struct expect_report expect = { in test_unknown_origin() local
540 match_expect = report_matches(&expect); in test_unknown_origin()
552 const struct expect_report expect = { in test_write_write_assume_atomic() local
563 match_expect = report_matches(&expect); in test_write_write_assume_atomic()
578 const struct expect_report expect = { in test_write_write_struct() local
588 match_expect = report_matches(&expect); in test_write_write_struct()
600 const struct expect_report expect = { in test_write_write_struct_part() local
610 match_expect = report_matches(&expect); in test_write_write_struct_part()
632 const struct expect_report expect = { in test_read_plain_atomic_write() local
645 match_expect = report_matches(&expect); in test_read_plain_atomic_write()
654 const struct expect_report expect = { in test_read_plain_atomic_rmw() local
668 match_expect = report_matches(&expect); in test_read_plain_atomic_rmw()
677 const struct expect_report expect = { in test_zero_size_access() local
694 match_expect |= report_matches(&expect); in test_zero_size_access()
717 const struct expect_report expect = { in test_assert_exclusive_writer() local
727 match_expect = report_matches(&expect); in test_assert_exclusive_writer()
735 const struct expect_report expect = { in test_assert_exclusive_access() local
745 match_expect = report_matches(&expect); in test_assert_exclusive_access()
789 const struct expect_report expect = { in test_assert_exclusive_bits_change() local
800 match_expect = report_matches(&expect); in test_assert_exclusive_bits_change()