Searched refs:xchg (Results 1 - 25 of 235) sorted by path

12345678910

/linux-master/arch/alpha/include/asm/
H A Dxchg.h3 #error Do not include xchg.h directly!
6 * xchg/xchg_local and cmpxchg/cmpxchg_local share the same code
102 if something tries to do an invalid xchg(). */
H A Dcmpxchg.h11 #include <asm/xchg.h>
39 #include <asm/xchg.h>
/linux-master/arch/arm/kernel/
H A Ddma.c62 if (xchg(&dma->lock, 1) != 0)
74 xchg(&dma->lock, 0);
105 if (xchg(&dma->lock, 0) != 0) {
/linux-master/arch/arm64/include/asm/xen/
H A Devents.h20 #define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
/linux-master/arch/mips/kernel/
H A Drtlx.c167 state = xchg(&chan->lx_state, RTLX_STATE_OPENED);
H A Dtraps.c2036 old_handler = xchg(&exception_handlers[n], handler);
H A Dvpe.c769 state = xchg(&v->state, VPE_STATE_INUSE);
/linux-master/arch/sh/include/asm/
H A Dcmpxchg-cas.h23 #include <asm/cmpxchg-xchg.h>
H A Dcmpxchg-llsc.h51 #include <asm/cmpxchg-xchg.h>
/linux-master/drivers/irqchip/
H A Dirq-ompic.c126 while ((ops = xchg(pending_ops, 0)) != 0) {
129 * On OpenRISC the atomic xchg() call implies a memory
/linux-master/kernel/
H A Ddma.c75 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0)
95 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) {
/linux-master/lib/
H A Datomic64_test.c81 FAMILY_TEST(TEST_ARGS, bit, xchg, init, init, new, new); \
/linux-master/arch/alpha/kernel/
H A Dsmp.c522 while ((ops = xchg(pending_ipis, 0)) != 0) {
/linux-master/arch/arc/kernel/
H A Dsmp.c365 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0);
/linux-master/arch/arm/mach-rpc/
H A Decard.c278 req = xchg(&ecard_req, NULL);
/linux-master/arch/csky/kernel/
H A Dsmp.c51 ops = xchg(&this_cpu_ptr(&ipi_data)->bits, 0);
/linux-master/arch/hexagon/kernel/
H A Dsmp.c88 while ((ops = xchg(&ipi->bits, 0)) != 0)
/linux-master/arch/mips/sibyte/common/
H A Dsb_tbprof.c258 if (xchg(&sbp.tb_enable, 1))
397 if (xchg(&sbp.open, SB_OPENING) != SB_CLOSED)
/linux-master/arch/powerpc/kernel/
H A Dsmp.c321 all = xchg(&info->messages, 0);
H A Dwatchdog.c174 * xchg is not needed here (it could be a smp_mb and store), but xchg
177 xchg(&__wd_nmi_output, 1);
357 if (__wd_nmi_output && xchg(&__wd_nmi_output, 0)) {
416 xchg(&__wd_nmi_output, 1); // see wd_lockup_ipi
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv.c5140 buf[i] |= xchg(&p[i], 0);
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c174 oldtce = be64_to_cpu(xchg(ptce, cpu_to_be64(newtce)));
/linux-master/arch/s390/include/asm/
H A Dpercpu.h173 ret__ = xchg(ptr__, nval); \
/linux-master/arch/s390/kernel/
H A Dkprobes.c50 if (xchg(&insn_page_in_use, 1) == 1)
57 xchg(&insn_page_in_use, 0);
H A Dnmi.c189 if (xchg(&mchchk_wng_posted, 1) == 0)

Completed in 582 milliseconds

12345678910