/linux-master/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4783 #define cmpxchg(ptr, ...) \ macro
|
/linux-master/kernel/ |
H A D | exit.c | 1108 if (cmpxchg(&p->exit_state, EXIT_ZOMBIE, state) != EXIT_ZOMBIE)
|
/linux-master/fs/erofs/ |
H A D | zdata.c | 751 if (cmpxchg(&pcl->next, Z_EROFS_PCLUSTER_NIL,
|
/linux-master/fs/ |
H A D | fs-writeback.c | 289 * update the same inode. Use cmpxchg() to tell the winner. 291 if (unlikely(cmpxchg(&inode->i_wb, NULL, wb)))
|
H A D | super.c | 2204 old = cmpxchg(&sb->s_dio_done_wq, NULL, wq);
|
H A D | eventpoll.c | 1237 * 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 D | userfaultfd.c | 2088 if (cmpxchg(&ctx->features, 0, ctx_features) != 0)
|
H A D | locks.c | 181 /* paired with cmpxchg() below */ 199 if (cmpxchg(&inode->i_flctx, NULL, ctx)) {
|
/linux-master/net/ipv4/ |
H A D | inet_diag.c | 1521 return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type],
|
H A D | route.c | 473 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 D | tcp.c | 340 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 D | pgtable.h | 35 #include <asm/cmpxchg.h>
|
/linux-master/include/linux/ |
H A D | kvm_host.h | 559 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE);
|
/linux-master/drivers/xen/events/ |
H A D | events_base.c | 242 if (cmpxchg(&evtchn_to_irq[row], NULL, evtchn_row) != NULL)
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma.c | 623 if (unlikely(cmpxchg(&vma->iomap, NULL, ptr))) {
|
/linux-master/fs/xfs/ |
H A D | xfs_buf.c | 1509 cmpxchg(&bp->b_io_error, 0, error);
|
/linux-master/drivers/block/null_blk/ |
H A D | main.c | 524 cmpxchg(&t_dev->badblocks.shift, -1, 0);
|
/linux-master/arch/powerpc/xmon/ |
H A D | xmon.c | 430 last_speaker = cmpxchg(&xmon_speaker, 0, me); 446 prev = cmpxchg(&xmon_speaker, last_speaker, me);
|
/linux-master/block/ |
H A D | blk-mq.c | 3237 cmpxchg(&drv_tags->rqs[i], rq, NULL); 3602 cmpxchg(&tags->rqs[i], flush_rq, NULL);
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_rc.c | 2047 (u64) cmpxchg((u64 *) qp->r_sge.sge.vaddr,
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_worker.c | 2052 } while (cmpxchg(flags, old, new) != old);
|
/linux-master/arch/powerpc/kvm/ |
H A D | booke.c | 648 } while (cmpxchg(&vcpu->arch.tsr, tsr, new_tsr) != tsr);
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 2126 seq_xmit = cmpxchg(&ctx->gc_seq_xmit, tmp, req->rq_seqno);
|
/linux-master/drivers/target/ |
H A D | target_core_transport.c | 775 if (cmpxchg(&cmd->lun_ref_active, true, false))
|
/linux-master/fs/btrfs/ |
H A D | raid56.c | 152 x = cmpxchg(&info->stripe_hash_table, NULL, table);
|