Searched refs:cmpxchg (Results 201 - 225 of 254) sorted by relevance

1234567891011

/linux-master/include/linux/atomic/
H A Datomic-instrumented.h4783 #define cmpxchg(ptr, ...) \ macro
/linux-master/kernel/
H A Dexit.c1108 if (cmpxchg(&p->exit_state, EXIT_ZOMBIE, state) != EXIT_ZOMBIE)
/linux-master/fs/erofs/
H A Dzdata.c751 if (cmpxchg(&pcl->next, Z_EROFS_PCLUSTER_NIL,
/linux-master/fs/
H A Dfs-writeback.c289 * update the same inode. Use cmpxchg() to tell the winner.
291 if (unlikely(cmpxchg(&inode->i_wb, NULL, wb)))
H A Dsuper.c2204 old = cmpxchg(&sb->s_dio_done_wq, NULL, wq);
H A Deventpoll.c1237 * This is simple 'new->next = head' operation, but cmpxchg()
1281 if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR)
1306 * cmpxchg() operation.
H A Duserfaultfd.c2088 if (cmpxchg(&ctx->features, 0, ctx_features) != 0)
H A Dlocks.c181 /* paired with cmpxchg() below */
199 if (cmpxchg(&inode->i_flctx, NULL, ctx)) {
/linux-master/net/ipv4/
H A Dinet_diag.c1521 return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type],
H A Droute.c473 if (old != now && cmpxchg(p_tstamp, old, now) == old)
1481 /* hold dst before doing cmpxchg() to avoid race condition
1485 prev = cmpxchg(p, orig, rt);
H A Dtcp.c340 if (!cmpxchg(&tcp_memory_pressure, 0, val))
3210 if (cmpxchg(&__tcp_tx_delay_enabled, 0, 1) == 0) {
/linux-master/arch/arm64/include/asm/
H A Dpgtable.h35 #include <asm/cmpxchg.h>
/linux-master/include/linux/
H A Dkvm_host.h559 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE);
/linux-master/drivers/xen/events/
H A Devents_base.c242 if (cmpxchg(&evtchn_to_irq[row], NULL, evtchn_row) != NULL)
/linux-master/drivers/gpu/drm/i915/
H A Di915_vma.c623 if (unlikely(cmpxchg(&vma->iomap, NULL, ptr))) {
/linux-master/fs/xfs/
H A Dxfs_buf.c1509 cmpxchg(&bp->b_io_error, 0, error);
/linux-master/drivers/block/null_blk/
H A Dmain.c524 cmpxchg(&t_dev->badblocks.shift, -1, 0);
/linux-master/arch/powerpc/xmon/
H A Dxmon.c430 last_speaker = cmpxchg(&xmon_speaker, 0, me);
446 prev = cmpxchg(&xmon_speaker, last_speaker, me);
/linux-master/block/
H A Dblk-mq.c3237 cmpxchg(&drv_tags->rqs[i], rq, NULL);
3602 cmpxchg(&tags->rqs[i], flush_rq, NULL);
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_rc.c2047 (u64) cmpxchg((u64 *) qp->r_sge.sge.vaddr,
/linux-master/drivers/block/drbd/
H A Ddrbd_worker.c2052 } while (cmpxchg(flags, old, new) != old);
/linux-master/arch/powerpc/kvm/
H A Dbooke.c648 } while (cmpxchg(&vcpu->arch.tsr, tsr, new_tsr) != tsr);
/linux-master/net/sunrpc/auth_gss/
H A Dauth_gss.c2126 seq_xmit = cmpxchg(&ctx->gc_seq_xmit, tmp, req->rq_seqno);
/linux-master/drivers/target/
H A Dtarget_core_transport.c775 if (cmpxchg(&cmd->lun_ref_active, true, false))
/linux-master/fs/btrfs/
H A Draid56.c152 x = cmpxchg(&info->stripe_hash_table, NULL, table);

Completed in 385 milliseconds

1234567891011