Searched refs:cmpxchg_release (Results 1 - 10 of 10) sorted by relevance

/linux-master/kernel/locking/
H A Dmcs_spinlock.h110 if (likely(cmpxchg_release(lock, node, NULL) == node))
H A Dqspinlock_paravirt.h556 locked = cmpxchg_release(&lock->locked, _Q_LOCKED_VAL, 0);
/linux-master/kernel/kcsan/
H A Dselftest.c154 KCSAN_CHECK_READ_BARRIER(cmpxchg_release(&test_var, 0, 0));
183 KCSAN_CHECK_WRITE_BARRIER(cmpxchg_release(&test_var, 0, 0));
215 KCSAN_CHECK_RW_BARRIER(cmpxchg_release(&test_var, 0, 0));
H A Dkcsan_test.c586 KCSAN_EXPECT_READ_BARRIER(cmpxchg_release(&test_var, 0, 0), true);
631 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg_release(&test_var, 0, 0), true);
676 KCSAN_EXPECT_RW_BARRIER(cmpxchg_release(&test_var, 0, 0), true);
/linux-master/lib/
H A Dgeneric-radix-tree.c121 if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) {
140 if (!(n = cmpxchg_release(p, NULL, new_node)))
/linux-master/fs/crypto/
H A Dhooks.c398 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL)
H A Dkeysetup.c596 * So use cmpxchg_release(). This pairs with the smp_load_acquire() in
600 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) {
/linux-master/fs/verity/
H A Dopen.c255 * cmpxchg_release(). This pairs with the smp_load_acquire() in
259 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) {
/linux-master/fs/overlayfs/
H A Dreaddir.c898 old = cmpxchg_release(&od->upperfile, NULL, realfile);
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h4798 #define cmpxchg_release(ptr, ...) \ macro

Completed in 246 milliseconds