Searched refs:atomic_fetch_add (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/include/linux/ |
D | freelist.h | 112 atomic_fetch_add(-2, &head->refs); in freelist_try_get() 121 refs = atomic_fetch_add(-1, &prev->refs); in freelist_try_get()
|
/linux-6.6.21/kernel/kcsan/ |
D | selftest.c | 158 KCSAN_CHECK_READ_BARRIER(atomic_fetch_add(1, &dummy)); in test_barrier() 187 KCSAN_CHECK_WRITE_BARRIER(atomic_fetch_add(1, &dummy)); in test_barrier() 219 KCSAN_CHECK_RW_BARRIER(atomic_fetch_add(1, &dummy)); in test_barrier()
|
D | kcsan_test.c | 597 KCSAN_EXPECT_READ_BARRIER(atomic_fetch_add(1, &dummy), true); in test_barrier_nothreads() 642 KCSAN_EXPECT_WRITE_BARRIER(atomic_fetch_add(1, &dummy), true); in test_barrier_nothreads() 687 KCSAN_EXPECT_RW_BARRIER(atomic_fetch_add(1, &dummy), true); in test_barrier_nothreads()
|
/linux-6.6.21/include/asm-generic/ |
D | spinlock.h | 35 u32 val = atomic_fetch_add(1<<16, lock); in arch_spin_lock()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | atomic.h | 49 ATOMIC_FETCH_OPS(atomic_fetch_add)
|
/linux-6.6.21/drivers/iommu/arm/arm-smmu/ |
D | arm-smmu-impl.c | 65 cs->id_base = atomic_fetch_add(smmu->num_context_banks, &context_count); in cavium_cfg_probe()
|
/linux-6.6.21/tools/memory-model/ |
D | linux-kernel.def | 75 atomic_fetch_add(V,X) __atomic_fetch_op{mb}(X,+,V)
|
/linux-6.6.21/Documentation/ |
D | atomic_t.txt | 210 atomic_fetch_add(); 218 However the atomic_fetch_add() might be implemented more efficiently.
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 194 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add() function
|
/linux-6.6.21/arch/mips/net/ |
D | bpf_jit_comp32.c | 742 addr = (u32)&atomic_fetch_add; in emit_atomic_r32()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_init.c | 15845 idx = (unsigned int)atomic_fetch_add(1, &phba->dbg_log_idx) % in lpfc_dbg_print()
|