Searched refs:atomic_cmpxchg (Results 101 - 120 of 120) sorted by last modified time

12345

/linux-master/drivers/rapidio/
H A Drio.c2228 if (atomic_cmpxchg(&port->state,
/linux-master/drivers/irqchip/
H A Dirq-mvebu-icu.c77 if (atomic_cmpxchg(&msi_data->initialized, false, true))
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mksstat.h116 const pid_t pid = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid, MKSSTAT_PID_RESERVED); \
/linux-master/net/netfilter/
H A Dxt_statistic.c44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval);
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2503 if (atomic_cmpxchg(&dev->update_sl, 1, 0))
H A Docrdma_ah.c175 if (atomic_cmpxchg(&dev->update_sl, 1, 0))
/linux-master/drivers/infiniband/core/
H A Drdma_core.c81 return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dfarch.c621 } else if (atomic_cmpxchg(&tx_queue->flush_outstanding,
1093 if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1, 0))
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfarch.c633 } else if (atomic_cmpxchg(&tx_queue->flush_outstanding,
1099 if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1, 0)) {
/linux-master/drivers/media/rc/
H A Dredrat3.c858 if (brightness != LED_OFF && atomic_cmpxchg(&rr3->flash, 0, 1) == 0) {
/linux-master/kernel/trace/
H A Dtrace_recursion_record.c114 atomic_cmpxchg(&nr_records, i, index + 1);
/linux-master/drivers/misc/cxl/
H A Dmain.c295 rc = atomic_cmpxchg(&adapter->contexts_num, 0, -1);
301 int val = atomic_cmpxchg(&adapter->contexts_num, -1, 0);
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c448 if (atomic_cmpxchg(&fh->v4l_reading, 1, 0) == 1) {
515 if (atomic_cmpxchg(&fh->v4l_reading, 0, 1) == 0) {
616 if (atomic_cmpxchg(&fh->v4l_reading, 0, 1) == 0) {
/linux-master/drivers/md/bcache/
H A Dalloc.c100 } while (atomic_cmpxchg(&c->rescale, r, r + next) != r);
H A Dio.c105 count = atomic_cmpxchg(&ca->io_count, old, new);
114 errors = atomic_cmpxchg(&ca->io_errors,
/linux-master/tools/include/linux/
H A Datomic.h11 #define atomic_cmpxchg_relaxed atomic_cmpxchg
12 #define atomic_cmpxchg_release atomic_cmpxchg
/linux-master/arch/sh/kernel/
H A Dftrace.c110 old = atomic_cmpxchg(&nmi_running, old, new);
149 if (!atomic_cmpxchg(&nmi_running, 0, MOD_CODE_WRITE_FLAG))
154 } while (atomic_cmpxchg(&nmi_running, 0, MOD_CODE_WRITE_FLAG));
/linux-master/net/rds/
H A Dib_send.c353 * and using atomic_cmpxchg when updating the two counters.
401 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval)
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_utils.h21 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old);
31 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old);
/linux-master/tools/testing/selftests/futex/include/
H A Datomic.h28 * atomic_cmpxchg() - Atomic compare and exchange
36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) function

Completed in 328 milliseconds

12345