Home
last modified time | relevance | path

Searched refs:atomic_fetch_add (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/include/linux/
Dfreelist.h112 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/
Dselftest.c158 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()
Dkcsan_test.c597 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/
Dspinlock.h35 u32 val = atomic_fetch_add(1<<16, lock); in arch_spin_lock()
/linux-6.6.21/arch/arm64/include/asm/
Datomic.h49 ATOMIC_FETCH_OPS(atomic_fetch_add)
/linux-6.6.21/drivers/iommu/arm/arm-smmu/
Darm-smmu-impl.c65 cs->id_base = atomic_fetch_add(smmu->num_context_banks, &context_count); in cavium_cfg_probe()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def75 atomic_fetch_add(V,X) __atomic_fetch_op{mb}(X,+,V)
/linux-6.6.21/Documentation/
Datomic_t.txt210 atomic_fetch_add();
218 However the atomic_fetch_add() might be implemented more efficiently.
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h194 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add() function
/linux-6.6.21/arch/mips/net/
Dbpf_jit_comp32.c742 addr = (u32)&atomic_fetch_add; in emit_atomic_r32()
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_init.c15845 idx = (unsigned int)atomic_fetch_add(1, &phba->dbg_log_idx) % in lpfc_dbg_print()