/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/arch/x86/xen/ |
H A D | p2m.c | 523 * the new pages are installed with cmpxchg; if we lose the race then 568 old_mfn = cmpxchg(top_mfn_p, missing_mfn, mid_mfn_mfn);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmd.c | 161 if (fifo_mem && cmpxchg(fifo_mem + SVGA_FIFO_BUSY, 0, 1) == 0)
|
/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/notify/ |
H A D | mark.c | 556 * cmpxchg() provides the barrier so that readers of *connp can see 559 if (cmpxchg(connp, NULL, conn)) { 653 * Since connector is attached to object using cmpxchg() we are
|
/linux-master/mm/ |
H A D | page_io.c | 256 if (cmpxchg(&sio_pool, NULL, pool))
|
/linux-master/sound/soc/sof/ |
H A D | ipc3-dtrace.c | 252 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset);
|
/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/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/include/linux/ |
H A D | skmsg.h | 484 if (cmpxchg(pprog, old, prog) != old)
|
/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 | 534 old = cmpxchg(&bc->alloc_lock, NULL, current); 546 old = cmpxchg(&bc->alloc_lock, NULL, current);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 943 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)
|
/linux-master/net/ipv4/ |
H A D | ip_tunnel.c | 463 return !cmpxchg((const struct ip_tunnel_encap_ops **) 477 ret = (cmpxchg((const struct ip_tunnel_encap_ops **)
|
/linux-master/fs/ |
H A D | libfs.c | 1905 * then try to swap it into place with a cmpxchg, if it wasn't already set. If 1906 * that fails, we try again with the newly fetched value from the cmpxchg. 1918 * cmpxchg below) pairs with the barrier in 2054 old = cmpxchg(stashed, NULL, dentry); 2131 cmpxchg(stashed, dentry, NULL);
|