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

1234567891011

/linux-master/include/linux/atomic/
H A Datomic-instrumented.h4783 #define cmpxchg(ptr, ...) \ macro
/linux-master/net/ipv4/
H A Dinet_diag.c1521 return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type],
H A Dtcp.c346 if (!cmpxchg(&tcp_memory_pressure, 0, val))
3231 if (cmpxchg(&__tcp_tx_delay_enabled, 0, 1) == 0) {
H A Droute.c470 if (old != now && cmpxchg(p_tstamp, old, now) == old)
1469 /* hold dst before doing cmpxchg() to avoid race condition
1473 prev = cmpxchg(p, orig, rt);
/linux-master/drivers/xen/events/
H A Devents_base.c242 if (cmpxchg(&evtchn_to_irq[row], NULL, evtchn_row) != NULL)
/linux-master/fs/
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 Dfs-writeback.c288 * update the same inode. Use cmpxchg() to tell the winner.
290 if (unlikely(cmpxchg(&inode->i_wb, NULL, wb)))
H A Duserfaultfd.c2092 if (cmpxchg(&ctx->features, 0, ctx_features) != 0)
H A Dsuper.c2205 old = cmpxchg(&sb->s_dio_done_wq, NULL, wq);
/linux-master/kernel/rcu/
H A Dtasks.h1475 * Do a cmpxchg() on ->trc_reader_special.b.need_qs, allowing for
1490 // Although cmpxchg() appears to KCSAN to update all four bytes,
1495 ret.s = data_race(cmpxchg(&t->trc_reader_special.s, trs_old.s, trs_new.s));
/linux-master/drivers/gpu/drm/i915/
H A Di915_vma.c623 if (unlikely(cmpxchg(&vma->iomap, NULL, ptr))) {
/linux-master/include/linux/
H A Dkvm_host.h555 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE);
/linux-master/arch/arm64/include/asm/
H A Dpgtable.h35 #include <asm/cmpxchg.h>
/linux-master/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c1358 ret = cmpxchg(&sn->use_gss_proxy, -1, type);
H A Dauth_gss.c2126 seq_xmit = cmpxchg(&ctx->gc_seq_xmit, tmp, req->rq_seqno);
/linux-master/fs/xfs/
H A Dxfs_buf.c1512 cmpxchg(&bp->b_io_error, 0, error);
/linux-master/kernel/
H A Dexit.c1104 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/drivers/block/null_blk/
H A Dmain.c550 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.c3241 cmpxchg(&drv_tags->rqs[i], rq, NULL);
3637 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/drivers/target/
H A Dtarget_core_transport.c775 if (cmpxchg(&cmd->lun_ref_active, true, false))

Completed in 452 milliseconds

1234567891011