Searched refs:reorder_access (Results 1 – 4 of 4) sorted by relevance
394 return ctx->disable_scoped ? NULL : &ctx->reorder_access; in get_reorder_access() 404 struct kcsan_scoped_access *reorder_access = get_reorder_access(ctx); in find_reorder_access() local 406 if (!reorder_access) in find_reorder_access() 410 * Note: If accesses are repeated while reorder_access is identical, in find_reorder_access() 413 return reorder_access->ptr == ptr && reorder_access->size == size && in find_reorder_access() 414 reorder_access->type == type && reorder_access->ip == ip; in find_reorder_access() 421 struct kcsan_scoped_access *reorder_access = get_reorder_access(ctx); in set_reorder_access() local 423 if (!reorder_access || !kcsan_weak_memor in set_reorder_access() 758 struct kcsan_scoped_access *reorder_access = get_reorder_access(ctx); check_access() local 1113 struct kcsan_scoped_access *reorder_access; __tsan_func_exit() local [all...]
113 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier() local 115 struct kcsan_scoped_access *reorder_access = NULL; in test_barrier() 122 if (!reorder_access || !IS_ENABLED(CONFIG_SMP)) in test_barrier() 127 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier() 128 reorder_access->size = 1; \ in test_barrier() 130 if (reorder_access->size != 0) { \ in test_barrier()
531 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier_nothreads() local 533 struct kcsan_scoped_access *reorder_access = NULL; in test_barrier_nothreads() 538 KCSAN_TEST_REQUIRES(test, reorder_access != NULL); in test_barrier_nothreads() 543 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier_nothreads() 544 reorder_access->size = sizeof(test_var); \ in test_barrier_nothreads() 546 KUNIT_EXPECT_EQ_MSG(test, reorder_access->size, \ in test_barrier_nothreads() 563 /* Force creating a valid entry in reorder_access first. */ in test_barrier_nothreads() 565 while (test_var++ < 1000000 && reorder_access->size != sizeof(test_var)) in test_barrier_nothreads() 567 KUNIT_ASSERT_EQ(test, reorder_access in test_barrier_nothreads() [all...]
60 struct kcsan_scoped_access reorder_access; member