Searched refs:cmpxchg_release (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/kernel/kcsan/ |
D | selftest.c | 161 KCSAN_CHECK_READ_BARRIER(cmpxchg_release(&test_var, 0, 0)); in test_barrier() 190 KCSAN_CHECK_WRITE_BARRIER(cmpxchg_release(&test_var, 0, 0)); in test_barrier() 222 KCSAN_CHECK_RW_BARRIER(cmpxchg_release(&test_var, 0, 0)); in test_barrier()
|
D | kcsan_test.c | 586 KCSAN_EXPECT_READ_BARRIER(cmpxchg_release(&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() 676 KCSAN_EXPECT_RW_BARRIER(cmpxchg_release(&test_var, 0, 0), true); in test_barrier_nothreads()
|
/linux-6.1.9/lib/ |
D | generic-radix-tree.c | 131 if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { in __genradix_ptr_alloc() 150 if (!(n = cmpxchg_release(p, NULL, new_node))) in __genradix_ptr_alloc()
|
/linux-6.1.9/kernel/locking/ |
D | mcs_spinlock.h | 110 if (likely(cmpxchg_release(lock, node, NULL) == node)) in mcs_spin_unlock()
|
D | qspinlock_paravirt.h | 556 locked = cmpxchg_release(&lock->locked, _Q_LOCKED_VAL, 0); in __pv_queued_spin_unlock()
|
/linux-6.1.9/fs/crypto/ |
D | hooks.c | 373 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink()
|
D | keysetup.c | 559 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) { in fscrypt_setup_encryption_info()
|
/linux-6.1.9/fs/verity/ |
D | open.c | 201 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) { in fsverity_set_info()
|
/linux-6.1.9/tools/memory-model/ |
D | linux-kernel.def | 37 cmpxchg_release(X,V,W) __cmpxchg{release}(X,V,W)
|
/linux-6.1.9/tools/memory-model/Documentation/ |
D | ordering.txt | 306 such as atomic_fetch_add_release() and cmpxchg_release(). 310 as cmpxchg_release() are only guaranteed to provide ordering
|
/linux-6.1.9/fs/overlayfs/ |
D | readdir.c | 879 old = cmpxchg_release(&od->upperfile, NULL, realfile); in ovl_dir_real_file()
|
/linux-6.1.9/include/linux/atomic/ |
D | atomic-instrumented.h | 1926 #define cmpxchg_release(ptr, ...) \ macro
|