/linux-master/arch/alpha/include/asm/ |
H A D | xchg.h | 3 #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 D | cmpxchg.h | 11 #include <asm/xchg.h> 39 #include <asm/xchg.h>
|
/linux-master/arch/arm/kernel/ |
H A D | dma.c | 62 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 D | events.h | 20 #define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
|
/linux-master/arch/mips/kernel/ |
H A D | rtlx.c | 167 state = xchg(&chan->lx_state, RTLX_STATE_OPENED);
|
H A D | traps.c | 2036 old_handler = xchg(&exception_handlers[n], handler);
|
H A D | vpe.c | 769 state = xchg(&v->state, VPE_STATE_INUSE);
|
/linux-master/arch/sh/include/asm/ |
H A D | cmpxchg-cas.h | 23 #include <asm/cmpxchg-xchg.h>
|
H A D | cmpxchg-llsc.h | 51 #include <asm/cmpxchg-xchg.h>
|
/linux-master/drivers/irqchip/ |
H A D | irq-ompic.c | 126 while ((ops = xchg(pending_ops, 0)) != 0) { 129 * On OpenRISC the atomic xchg() call implies a memory
|
/linux-master/kernel/ |
H A D | dma.c | 75 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) 95 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) {
|
/linux-master/lib/ |
H A D | atomic64_test.c | 81 FAMILY_TEST(TEST_ARGS, bit, xchg, init, init, new, new); \
|
/linux-master/arch/alpha/kernel/ |
H A D | smp.c | 522 while ((ops = xchg(pending_ipis, 0)) != 0) {
|
/linux-master/arch/arc/kernel/ |
H A D | smp.c | 365 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0);
|
/linux-master/arch/arm/mach-rpc/ |
H A D | ecard.c | 278 req = xchg(&ecard_req, NULL);
|
/linux-master/arch/csky/kernel/ |
H A D | smp.c | 51 ops = xchg(&this_cpu_ptr(&ipi_data)->bits, 0);
|
/linux-master/arch/hexagon/kernel/ |
H A D | smp.c | 88 while ((ops = xchg(&ipi->bits, 0)) != 0)
|
/linux-master/arch/mips/sibyte/common/ |
H A D | sb_tbprof.c | 258 if (xchg(&sbp.tb_enable, 1)) 397 if (xchg(&sbp.open, SB_OPENING) != SB_CLOSED)
|
/linux-master/arch/powerpc/kernel/ |
H A D | smp.c | 321 all = xchg(&info->messages, 0);
|
H A D | watchdog.c | 174 * 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 D | book3s_hv.c | 5140 buf[i] |= xchg(&p[i], 0);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 174 oldtce = be64_to_cpu(xchg(ptce, cpu_to_be64(newtce)));
|
/linux-master/arch/s390/include/asm/ |
H A D | percpu.h | 173 ret__ = xchg(ptr__, nval); \
|
/linux-master/arch/s390/kernel/ |
H A D | kprobes.c | 50 if (xchg(&insn_page_in_use, 1) == 1) 57 xchg(&insn_page_in_use, 0);
|
H A D | nmi.c | 189 if (xchg(&mchchk_wng_posted, 1) == 0)
|