Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/kernel/kcsan/
H A Dselftest.c154 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 Dkcsan_test.c586 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()
/kernel/linux/linux-5.10/kernel/locking/
H A Dmcs_spinlock.h110 if (likely(cmpxchg_release(lock, node, NULL) == node)) in mcs_spin_unlock()
H A Dqspinlock_paravirt.h556 locked = cmpxchg_release(&lock->locked, _Q_LOCKED_VAL, 0); in __pv_queued_spin_unlock()
H A Drtmutex.c145 # define rt_mutex_cmpxchg_release(l,c,n) (cmpxchg_release(&l->owner, c, n) == c)
/kernel/linux/linux-6.6/kernel/locking/
H A Dmcs_spinlock.h110 if (likely(cmpxchg_release(lock, node, NULL) == node)) in mcs_spin_unlock()
H A Dqspinlock_paravirt.h556 locked = cmpxchg_release(&lock->locked, _Q_LOCKED_VAL, 0); in __pv_queued_spin_unlock()
/kernel/linux/linux-5.10/lib/
H A Dgeneric-radix-tree.c131 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()
/kernel/linux/linux-6.6/lib/
H A Dgeneric-radix-tree.c131 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()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dcmpxchg.h294 #define cmpxchg_release(ptr, o, n) \ macro
/kernel/linux/linux-5.10/fs/crypto/
H A Dhooks.c370 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink()
H A Dkeysetup.c559 * So use cmpxchg_release(). This pairs with the smp_load_acquire() in in fscrypt_setup_encryption_info()
563 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) { in fscrypt_setup_encryption_info()
/kernel/linux/linux-5.10/fs/verity/
H A Dopen.c242 * cmpxchg_release(). This pairs with the smp_load_acquire() in in fsverity_set_info()
246 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) { in fsverity_set_info()
/kernel/linux/linux-6.6/fs/crypto/
H A Dhooks.c403 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink()
H A Dkeysetup.c589 * So use cmpxchg_release(). This pairs with the smp_load_acquire() in in fscrypt_setup_encryption_info()
593 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) { in fscrypt_setup_encryption_info()
/kernel/linux/linux-6.6/fs/verity/
H A Dopen.c272 * cmpxchg_release(). This pairs with the smp_load_acquire() in in fsverity_set_info()
276 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) { in fsverity_set_info()
/kernel/linux/linux-5.10/include/linux/
H A Datomic-fallback.h37 #define cmpxchg_release cmpxchg macro
45 #ifndef cmpxchg_release
46 #define cmpxchg_release(...) \ macro
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dreaddir.c874 old = cmpxchg_release(&od->upperfile, NULL, realfile); in ovl_dir_real_file()
/kernel/linux/linux-5.10/include/asm-generic/
H A Datomic-instrumented.h1699 #define cmpxchg_release(ptr, ...) \ macro
/kernel/linux/linux-6.6/fs/overlayfs/
H A Dreaddir.c884 old = cmpxchg_release(&od->upperfile, NULL, realfile); in ovl_dir_real_file()
/kernel/linux/linux-6.6/include/linux/atomic/
H A Datomic-instrumented.h4756 #define cmpxchg_release(ptr, ...) \ macro

Completed in 31 milliseconds