/linux-master/lib/ |
H A D | rhashtable.c | 141 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 D | pci.h | 357 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 D | interrupt.c | 94 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 D | trace_functions.c | 613 new_count = cmpxchg(count, old_count, new_count);
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mgmt.c | 410 cb_state = cmpxchg(&mgmt_cb->state,
|
/linux-master/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 338 if (cmpxchg(&mirror->mirror_ds, NULL, mirror_ds) &&
|
/linux-master/fs/ext4/ |
H A D | orphan.c | 78 } while (cmpxchg(&bdata[j], (__le32)0, cpu_to_le32(inode->i_ino)) !=
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi.c | 411 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 D | sas_init.c | 654 if (cmpxchg(&phy->in_shutdown, 0, 1) == 0) {
|
/linux-master/sound/soc/xtensa/ |
H A D | xtfpga-i2s.c | 169 cmpxchg(&i2s->tx_ptr, tx_ptr, new_tx_ptr);
|
/linux-master/fs/iomap/ |
H A D | direct-io.c | 150 * 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 D | io_thread.c | 347 old_id = cmpxchg(&conn->service_id, conn->orig_service_id,
|
/linux-master/kernel/bpf/ |
H A D | bpf_local_storage.c | 487 * 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 D | ipc3-dtrace.c | 252 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmd.c | 162 if (fifo_mem && cmpxchg(fifo_mem + SVGA_FIFO_BUSY, 0, 1) == 0)
|
/linux-master/include/linux/ |
H A D | skmsg.h | 486 if (cmpxchg(pprog, old, prog) != old)
|
/linux-master/mm/ |
H A D | page_io.c | 257 if (cmpxchg(&sio_pool, NULL, pool))
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_xics.c | 112 } 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 D | psi.c | 6 * 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 D | xpc_uv.c | 1290 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 D | log.c | 123 if (!cmpxchg(&sdp->sd_log_error, 0, -EIO)) { 330 !cmpxchg(&sdp->sd_log_error, 0, -EIO)) {
|
/linux-master/fs/bcachefs/ |
H A D | btree_cache.c | 604 old = cmpxchg(&bc->alloc_lock, NULL, current); 616 old = cmpxchg(&bc->alloc_lock, NULL, current);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 944 if (cmpxchg(&error->sgl, NULL, m.sgl)) 2172 cmpxchg(&i915->gpu_error.first_error, NULL, error)) 2207 cmpxchg(>->i915->gpu_error.first_error, NULL, error);
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | controller.c | 61 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 D | isotp.c | 952 while (cmpxchg(&so->tx.state, ISOTP_IDLE, ISOTP_SENDING) != ISOTP_IDLE) { 1185 cmpxchg(&so->tx.state, ISOTP_IDLE, ISOTP_SHUTDOWN) != ISOTP_IDLE)
|