Lines Matching full:access
36 /* Points to current test-case memory access "kernels". */
136 /* Access information of both accesses. */
139 void *addr; /* Address of access; unchecked if NULL. */
140 size_t size; /* Size of access; unchecked if @addr is NULL. */
141 int type; /* Access type, see KCSAN_ACCESS definitions. */
142 } access[2]; member
149 const bool is_assert = (r->access[0].type | r->access[1].type) & KCSAN_ACCESS_ASSERT; in report_matches()
168 if (r->access[1].fn) { in report_matches()
173 scnprintf(tmp[0], sizeof(tmp[0]), "%pS", r->access[0].fn); in report_matches()
174 scnprintf(tmp[1], sizeof(tmp[1]), "%pS", r->access[1].fn); in report_matches()
177 cmp < 0 ? r->access[0].fn : r->access[1].fn, in report_matches()
178 cmp < 0 ? r->access[1].fn : r->access[0].fn); in report_matches()
180 scnprintf(cur, end - cur, "%pS", r->access[0].fn); in report_matches()
187 /* Access 1 */ in report_matches()
190 if (!r->access[1].fn) in report_matches()
193 /* Access 1 & 2 */ in report_matches()
195 const int ty = r->access[i].type; in report_matches()
212 /* Access 2 */ in report_matches()
216 if (!r->access[1].fn) { in report_matches()
217 /* Dummy string if no second access is available. */ in report_matches()
226 if (r->access[i].addr) /* Address is optional. */ in report_matches()
228 r->access[i].addr, r->access[i].size); in report_matches()
237 /* Access info may appear in any order. */ in report_matches()
422 .access = { in test_basic()
428 .access = { in test_basic()
453 .access = { in test_concurrent_races()
460 .access = { in test_concurrent_races()
482 .access = { in test_novalue_change()
507 .access = { in test_novalue_change_exception()
526 .access = { in test_unknown_origin()
548 .access = { in test_write_write_assume_atomic()
574 .access = { in test_write_write_struct()
596 .access = { in test_write_write_struct_part()
623 /* Test that a race with an atomic and plain access result in reports. */
628 .access = { in test_read_plain_atomic_write()
650 .access = { in test_read_plain_atomic_rmw()
673 .access = { in test_zero_size_access()
679 .access = { in test_zero_size_access()
713 .access = { in test_assert_exclusive_writer()
731 .access = { in test_assert_exclusive_access()
749 .access = { in test_assert_exclusive_access_writer()
755 .access = { in test_assert_exclusive_access_writer()
761 .access = { in test_assert_exclusive_access_writer()
785 .access = { in test_assert_exclusive_bits_change()
816 .access = { in test_assert_exclusive_writer_scoped()
822 .access = { in test_assert_exclusive_writer_scoped()
843 .access = { in test_assert_exclusive_access_scoped()
849 .access = { expect_start1.access[0], expect_start1.access[0] }, in test_assert_exclusive_access_scoped()
852 .access = { in test_assert_exclusive_access_scoped()