Searched refs:cmpxchg (Results 126 - 150 of 256) sorted by relevance

1234567891011

/linux-master/lib/
H A Drhashtable.c141 if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL)
308 * As cmpxchg() provides strong barriers, we do not need
312 if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL,
/linux-master/drivers/pci/
H A Dpci.h357 old = cmpxchg(&dev->error_state, pci_channel_io_normal,
361 old = cmpxchg(&dev->error_state, pci_channel_io_frozen,
/linux-master/arch/s390/kvm/
H A Dinterrupt.c94 rc = cmpxchg(&sigp_ctrl->value, old_val.value, new_val.value);
107 rc = cmpxchg(&sigp_ctrl->value, old_val.value, new_val.value);
135 rc = cmpxchg(&sigp_ctrl->value, old.value, 0);
144 rc = cmpxchg(&sigp_ctrl->value, old.value, 0);
255 } while (cmpxchg(&gisa->u64.word[0], word, _word) != word);
276 } while (cmpxchg(&gisa->u64.word[0], word, _word) != word);
301 } while (cmpxchg(&gi->origin->u64.word[0], word, _word) != word);
/linux-master/kernel/trace/
H A Dtrace_functions.c613 new_count = cmpxchg(count, old_count, new_count);
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mgmt.c410 cb_state = cmpxchg(&mgmt_cb->state,
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c338 if (cmpxchg(&mirror->mirror_ds, NULL, mirror_ds) &&
/linux-master/fs/ext4/
H A Dorphan.c78 } while (cmpxchg(&bdata[j], (__le32)0, cpu_to_le32(inode->i_ino)) !=
/linux-master/drivers/net/ethernet/sfc/
H A Dmcdi.c411 return cmpxchg(&mcdi->state,
422 cmpxchg(&mcdi->state,
454 if (cmpxchg(&mcdi->state,
506 if (cmpxchg(&mcdi->state,
/linux-master/drivers/scsi/libsas/
H A Dsas_init.c654 if (cmpxchg(&phy->in_shutdown, 0, 1) == 0) {
/linux-master/sound/soc/xtensa/
H A Dxtfpga-i2s.c169 cmpxchg(&i2s->tx_ptr, tx_ptr, new_tx_ptr);
/linux-master/fs/iomap/
H A Ddirect-io.c150 * Set an error in the dio if none is set yet. We have to use cmpxchg
156 cmpxchg(&dio->error, 0, ret);
/linux-master/net/rxrpc/
H A Dio_thread.c347 old_id = cmpxchg(&conn->service_id, conn->orig_service_id,
/linux-master/kernel/bpf/
H A Dbpf_local_storage.c487 * cmpxchg will work with any kernel object regardless what
495 prev_storage = cmpxchg(owner_storage_ptr, NULL, storage);
/linux-master/sound/soc/sof/
H A Dipc3-dtrace.c252 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmd.c162 if (fifo_mem && cmpxchg(fifo_mem + SVGA_FIFO_BUSY, 0, 1) == 0)
/linux-master/include/linux/
H A Dskmsg.h486 if (cmpxchg(pprog, old, prog) != old)
/linux-master/mm/
H A Dpage_io.c257 if (cmpxchg(&sio_pool, NULL, pool))
/linux-master/arch/powerpc/kvm/
H A Dbook3s_xics.c112 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old);
807 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old);
/linux-master/kernel/sched/
H A Dpsi.c6 * Author: Johannes Weiner <hannes@cmpxchg.org>
487 if (cmpxchg(&t->event, 0, 1) == 0) {
1475 if (cmpxchg(&t->event, 1, 0) == 1)
/linux-master/drivers/misc/sgi-xp/
H A Dxpc_uv.c1290 if (func != NULL && cmpxchg(&msg_slot->func, func, NULL) == func) {
1518 if (cmpxchg(&msg_slot->func, func, NULL) != func) {
/linux-master/fs/gfs2/
H A Dlog.c123 if (!cmpxchg(&sdp->sd_log_error, 0, -EIO)) {
330 !cmpxchg(&sdp->sd_log_error, 0, -EIO)) {
/linux-master/fs/bcachefs/
H A Dbtree_cache.c604 old = cmpxchg(&bc->alloc_lock, NULL, current);
616 old = cmpxchg(&bc->alloc_lock, NULL, current);
/linux-master/drivers/gpu/drm/i915/
H A Di915_gpu_error.c944 if (cmpxchg(&error->sgl, NULL, m.sgl))
2172 cmpxchg(&i915->gpu_error.first_error, NULL, error))
2207 cmpxchg(&gt->i915->gpu_error.first_error, NULL, error);
/linux-master/drivers/platform/surface/aggregator/
H A Dcontroller.c61 while (unlikely((ret = cmpxchg(&c->value, old, new)) != old)) {
91 while (unlikely((ret = cmpxchg(&c->value, old, new)) != old)) {
/linux-master/net/can/
H A Disotp.c952 while (cmpxchg(&so->tx.state, ISOTP_IDLE, ISOTP_SENDING) != ISOTP_IDLE) {
1185 cmpxchg(&so->tx.state, ISOTP_IDLE, ISOTP_SHUTDOWN) != ISOTP_IDLE)

Completed in 601 milliseconds

1234567891011