Lines Matching refs:KCSAN_EXPECT_READ_BARRIER

547 #define KCSAN_EXPECT_READ_BARRIER(b, o)  __KCSAN_EXPECT_BARRIER(0, b, o, #b)  in test_barrier_nothreads()  macro
568 KCSAN_EXPECT_READ_BARRIER(mb(), true); in test_barrier_nothreads()
569 KCSAN_EXPECT_READ_BARRIER(wmb(), false); in test_barrier_nothreads()
570 KCSAN_EXPECT_READ_BARRIER(rmb(), true); in test_barrier_nothreads()
571 KCSAN_EXPECT_READ_BARRIER(smp_mb(), true); in test_barrier_nothreads()
572 KCSAN_EXPECT_READ_BARRIER(smp_wmb(), false); in test_barrier_nothreads()
573 KCSAN_EXPECT_READ_BARRIER(smp_rmb(), true); in test_barrier_nothreads()
574 KCSAN_EXPECT_READ_BARRIER(dma_wmb(), false); in test_barrier_nothreads()
575 KCSAN_EXPECT_READ_BARRIER(dma_rmb(), true); in test_barrier_nothreads()
576 KCSAN_EXPECT_READ_BARRIER(smp_mb__before_atomic(), true); in test_barrier_nothreads()
577 KCSAN_EXPECT_READ_BARRIER(smp_mb__after_atomic(), true); in test_barrier_nothreads()
578 KCSAN_EXPECT_READ_BARRIER(smp_mb__after_spinlock(), true); in test_barrier_nothreads()
579 KCSAN_EXPECT_READ_BARRIER(smp_store_mb(test_var, 0), true); in test_barrier_nothreads()
580 KCSAN_EXPECT_READ_BARRIER(smp_load_acquire(&test_var), false); in test_barrier_nothreads()
581 KCSAN_EXPECT_READ_BARRIER(smp_store_release(&test_var, 0), true); in test_barrier_nothreads()
582 KCSAN_EXPECT_READ_BARRIER(xchg(&test_var, 0), true); in test_barrier_nothreads()
583 KCSAN_EXPECT_READ_BARRIER(xchg_release(&test_var, 0), true); in test_barrier_nothreads()
584 KCSAN_EXPECT_READ_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
585 KCSAN_EXPECT_READ_BARRIER(cmpxchg(&test_var, 0, 0), true); in test_barrier_nothreads()
586 KCSAN_EXPECT_READ_BARRIER(cmpxchg_release(&test_var, 0, 0), true); in test_barrier_nothreads()
587 KCSAN_EXPECT_READ_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads()
588 KCSAN_EXPECT_READ_BARRIER(atomic_read(&dummy), false); in test_barrier_nothreads()
589 KCSAN_EXPECT_READ_BARRIER(atomic_read_acquire(&dummy), false); in test_barrier_nothreads()
590 KCSAN_EXPECT_READ_BARRIER(atomic_set(&dummy, 0), false); in test_barrier_nothreads()
591 KCSAN_EXPECT_READ_BARRIER(atomic_set_release(&dummy, 0), true); in test_barrier_nothreads()
592 KCSAN_EXPECT_READ_BARRIER(atomic_add(1, &dummy), false); in test_barrier_nothreads()
593 KCSAN_EXPECT_READ_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
594 KCSAN_EXPECT_READ_BARRIER(atomic_add_return_acquire(1, &dummy), false); in test_barrier_nothreads()
595 KCSAN_EXPECT_READ_BARRIER(atomic_add_return_release(1, &dummy), true); in test_barrier_nothreads()
596 KCSAN_EXPECT_READ_BARRIER(atomic_add_return_relaxed(1, &dummy), false); in test_barrier_nothreads()
597 KCSAN_EXPECT_READ_BARRIER(atomic_fetch_add(1, &dummy), true); in test_barrier_nothreads()
598 KCSAN_EXPECT_READ_BARRIER(atomic_fetch_add_acquire(1, &dummy), false); in test_barrier_nothreads()
599 KCSAN_EXPECT_READ_BARRIER(atomic_fetch_add_release(1, &dummy), true); in test_barrier_nothreads()
600 KCSAN_EXPECT_READ_BARRIER(atomic_fetch_add_relaxed(1, &dummy), false); in test_barrier_nothreads()
601 KCSAN_EXPECT_READ_BARRIER(test_and_set_bit(0, &test_var), true); in test_barrier_nothreads()
602 KCSAN_EXPECT_READ_BARRIER(test_and_clear_bit(0, &test_var), true); in test_barrier_nothreads()
603 KCSAN_EXPECT_READ_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads()
604 KCSAN_EXPECT_READ_BARRIER(clear_bit_unlock(0, &test_var), true); in test_barrier_nothreads()
605 KCSAN_EXPECT_READ_BARRIER(__clear_bit_unlock(0, &test_var), true); in test_barrier_nothreads()
606 KCSAN_EXPECT_READ_BARRIER(arch_spin_lock(&arch_spinlock), false); in test_barrier_nothreads()
607 KCSAN_EXPECT_READ_BARRIER(arch_spin_unlock(&arch_spinlock), true); in test_barrier_nothreads()
608 KCSAN_EXPECT_READ_BARRIER(spin_lock(&test_spinlock), false); in test_barrier_nothreads()
609 KCSAN_EXPECT_READ_BARRIER(spin_unlock(&test_spinlock), true); in test_barrier_nothreads()
610 KCSAN_EXPECT_READ_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()
611 KCSAN_EXPECT_READ_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()
704 KCSAN_EXPECT_READ_BARRIER(clear_bit_unlock_is_negative_byte(0, &test_var), true); in test_barrier_nothreads()