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

1234567891011

/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/arch/x86/xen/
H A Dp2m.c523 * 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 Dvmwgfx_cmd.c161 if (fifo_mem && cmpxchg(fifo_mem + SVGA_FIFO_BUSY, 0, 1) == 0)
/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/notify/
H A Dmark.c556 * 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 Dpage_io.c256 if (cmpxchg(&sio_pool, NULL, pool))
/linux-master/sound/soc/sof/
H A Dipc3-dtrace.c252 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset);
/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/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/include/linux/
H A Dskmsg.h484 if (cmpxchg(pprog, old, prog) != old)
/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.c534 old = cmpxchg(&bc->alloc_lock, NULL, current);
546 old = cmpxchg(&bc->alloc_lock, NULL, current);
/linux-master/drivers/gpu/drm/i915/
H A Di915_gpu_error.c943 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)
/linux-master/net/ipv4/
H A Dip_tunnel.c463 return !cmpxchg((const struct ip_tunnel_encap_ops **)
477 ret = (cmpxchg((const struct ip_tunnel_encap_ops **)
/linux-master/fs/
H A Dlibfs.c1905 * 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);

Completed in 269 milliseconds

1234567891011