Searched refs:atomic_cmpxchg (Results 101 - 120 of 120) sorted by last modified time
12345
/linux-master/drivers/rapidio/ |
H A D | rio.c | 2228 if (atomic_cmpxchg(&port->state,
|
/linux-master/drivers/irqchip/ |
H A D | irq-mvebu-icu.c | 77 if (atomic_cmpxchg(&msi_data->initialized, false, true))
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_mksstat.h | 116 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 D | xt_statistic.c | 44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval);
|
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2503 if (atomic_cmpxchg(&dev->update_sl, 1, 0))
|
H A D | ocrdma_ah.c | 175 if (atomic_cmpxchg(&dev->update_sl, 1, 0))
|
/linux-master/drivers/infiniband/core/ |
H A D | rdma_core.c | 81 return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY;
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 621 } 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 D | farch.c | 633 } 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 D | redrat3.c | 858 if (brightness != LED_OFF && atomic_cmpxchg(&rr3->flash, 0, 1) == 0) {
|
/linux-master/kernel/trace/ |
H A D | trace_recursion_record.c | 114 atomic_cmpxchg(&nr_records, i, index + 1);
|
/linux-master/drivers/misc/cxl/ |
H A D | main.c | 295 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 D | saa7164-vbi.c | 448 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 D | alloc.c | 100 } while (atomic_cmpxchg(&c->rescale, r, r + next) != r);
|
H A D | io.c | 105 count = atomic_cmpxchg(&ca->io_count, old, new); 114 errors = atomic_cmpxchg(&ca->io_errors,
|
/linux-master/tools/include/linux/ |
H A D | atomic.h | 11 #define atomic_cmpxchg_relaxed atomic_cmpxchg 12 #define atomic_cmpxchg_release atomic_cmpxchg
|
/linux-master/arch/sh/kernel/ |
H A D | ftrace.c | 110 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 D | ib_send.c | 353 * 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 D | aq_utils.h | 21 } 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 D | atomic.h | 28 * atomic_cmpxchg() - Atomic compare and exchange 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) function
|
Completed in 328 milliseconds
12345