• Home
  • Raw
  • Download

Lines Matching refs:KCSAN_EXPECT_WRITE_BARRIER

548 #define KCSAN_EXPECT_WRITE_BARRIER(b, o) __KCSAN_EXPECT_BARRIER(KCSAN_ACCESS_WRITE, b, o, #b)  in test_barrier_nothreads()  macro
613 KCSAN_EXPECT_WRITE_BARRIER(mb(), true); in test_barrier_nothreads()
614 KCSAN_EXPECT_WRITE_BARRIER(wmb(), true); in test_barrier_nothreads()
615 KCSAN_EXPECT_WRITE_BARRIER(rmb(), false); in test_barrier_nothreads()
616 KCSAN_EXPECT_WRITE_BARRIER(smp_mb(), true); in test_barrier_nothreads()
617 KCSAN_EXPECT_WRITE_BARRIER(smp_wmb(), true); in test_barrier_nothreads()
618 KCSAN_EXPECT_WRITE_BARRIER(smp_rmb(), false); in test_barrier_nothreads()
619 KCSAN_EXPECT_WRITE_BARRIER(dma_wmb(), true); in test_barrier_nothreads()
620 KCSAN_EXPECT_WRITE_BARRIER(dma_rmb(), false); in test_barrier_nothreads()
621 KCSAN_EXPECT_WRITE_BARRIER(smp_mb__before_atomic(), true); in test_barrier_nothreads()
622 KCSAN_EXPECT_WRITE_BARRIER(smp_mb__after_atomic(), true); in test_barrier_nothreads()
623 KCSAN_EXPECT_WRITE_BARRIER(smp_mb__after_spinlock(), true); in test_barrier_nothreads()
624 KCSAN_EXPECT_WRITE_BARRIER(smp_store_mb(test_var, 0), true); in test_barrier_nothreads()
625 KCSAN_EXPECT_WRITE_BARRIER(smp_load_acquire(&test_var), false); in test_barrier_nothreads()
626 KCSAN_EXPECT_WRITE_BARRIER(smp_store_release(&test_var, 0), true); in test_barrier_nothreads()
627 KCSAN_EXPECT_WRITE_BARRIER(xchg(&test_var, 0), true); in test_barrier_nothreads()
628 KCSAN_EXPECT_WRITE_BARRIER(xchg_release(&test_var, 0), true); in test_barrier_nothreads()
629 KCSAN_EXPECT_WRITE_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
630 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg(&test_var, 0, 0), true); in test_barrier_nothreads()
631 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg_release(&test_var, 0, 0), true); in test_barrier_nothreads()
632 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads()
633 KCSAN_EXPECT_WRITE_BARRIER(atomic_read(&dummy), false); in test_barrier_nothreads()
634 KCSAN_EXPECT_WRITE_BARRIER(atomic_read_acquire(&dummy), false); in test_barrier_nothreads()
635 KCSAN_EXPECT_WRITE_BARRIER(atomic_set(&dummy, 0), false); in test_barrier_nothreads()
636 KCSAN_EXPECT_WRITE_BARRIER(atomic_set_release(&dummy, 0), true); in test_barrier_nothreads()
637 KCSAN_EXPECT_WRITE_BARRIER(atomic_add(1, &dummy), false); in test_barrier_nothreads()
638 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
639 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return_acquire(1, &dummy), false); in test_barrier_nothreads()
640 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return_release(1, &dummy), true); in test_barrier_nothreads()
641 KCSAN_EXPECT_WRITE_BARRIER(atomic_add_return_relaxed(1, &dummy), false); in test_barrier_nothreads()
642 KCSAN_EXPECT_WRITE_BARRIER(atomic_fetch_add(1, &dummy), true); in test_barrier_nothreads()
643 KCSAN_EXPECT_WRITE_BARRIER(atomic_fetch_add_acquire(1, &dummy), false); in test_barrier_nothreads()
644 KCSAN_EXPECT_WRITE_BARRIER(atomic_fetch_add_release(1, &dummy), true); in test_barrier_nothreads()
645 KCSAN_EXPECT_WRITE_BARRIER(atomic_fetch_add_relaxed(1, &dummy), false); in test_barrier_nothreads()
646 KCSAN_EXPECT_WRITE_BARRIER(test_and_set_bit(0, &test_var), true); in test_barrier_nothreads()
647 KCSAN_EXPECT_WRITE_BARRIER(test_and_clear_bit(0, &test_var), true); in test_barrier_nothreads()
648 KCSAN_EXPECT_WRITE_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads()
649 KCSAN_EXPECT_WRITE_BARRIER(clear_bit_unlock(0, &test_var), true); in test_barrier_nothreads()
650 KCSAN_EXPECT_WRITE_BARRIER(__clear_bit_unlock(0, &test_var), true); in test_barrier_nothreads()
651 KCSAN_EXPECT_WRITE_BARRIER(arch_spin_lock(&arch_spinlock), false); in test_barrier_nothreads()
652 KCSAN_EXPECT_WRITE_BARRIER(arch_spin_unlock(&arch_spinlock), true); in test_barrier_nothreads()
653 KCSAN_EXPECT_WRITE_BARRIER(spin_lock(&test_spinlock), false); in test_barrier_nothreads()
654 KCSAN_EXPECT_WRITE_BARRIER(spin_unlock(&test_spinlock), true); in test_barrier_nothreads()
655 KCSAN_EXPECT_WRITE_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()
656 KCSAN_EXPECT_WRITE_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()
705 KCSAN_EXPECT_WRITE_BARRIER(clear_bit_unlock_is_negative_byte(0, &test_var), true); in test_barrier_nothreads()