Searched refs:cmpxchg_release (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/kernel/kcsan/ |
| H A D | selftest.c | 154 KCSAN_CHECK_READ_BARRIER(cmpxchg_release(&test_var, 0, 0)); in test_barrier() 183 KCSAN_CHECK_WRITE_BARRIER(cmpxchg_release(&test_var, 0, 0)); in test_barrier() 215 KCSAN_CHECK_RW_BARRIER(cmpxchg_release(&test_var, 0, 0)); in test_barrier()
|
| H A D | kcsan_test.c | 589 KCSAN_EXPECT_READ_BARRIER(cmpxchg_release(&test_var, 0, 0), true); in test_barrier_nothreads() 634 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg_release(&test_var, 0, 0), true); in test_barrier_nothreads() 679 KCSAN_EXPECT_RW_BARRIER(cmpxchg_release(&test_var, 0, 0), true); in test_barrier_nothreads()
|
| /linux-6.15/lib/ |
| H A D | generic-radix-tree.c | 53 if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { in __genradix_ptr_alloc() 74 if (!(n = cmpxchg_release(p, NULL, new_node))) in __genradix_ptr_alloc()
|
| /linux-6.15/kernel/locking/ |
| H A D | mcs_spinlock.h | 102 if (likely(cmpxchg_release(lock, node, NULL) == node)) in mcs_spin_unlock()
|
| /linux-6.15/fs/crypto/ |
| H A D | hooks.c | 418 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink()
|
| H A D | keysetup.c | 600 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) { in fscrypt_setup_encryption_info()
|
| /linux-6.15/fs/verity/ |
| H A D | open.c | 259 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) { in fsverity_set_info()
|
| /linux-6.15/tools/memory-model/ |
| H A D | linux-kernel.def | 38 cmpxchg_release(X,V,W) __cmpxchg{RELEASE}(X,V,W)
|
| /linux-6.15/fs/overlayfs/ |
| H A D | file.c | 147 old = cmpxchg_release(&of->upperfile, NULL, upperfile); in ovl_real_file_path()
|
| H A D | readdir.c | 898 old = cmpxchg_release(&od->upperfile, NULL, realfile); in ovl_dir_real_file()
|
| /linux-6.15/tools/memory-model/Documentation/ |
| H A 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.15/include/linux/atomic/ |
| H A D | atomic-instrumented.h | 4798 #define cmpxchg_release(ptr, ...) \ macro
|