/linux-master/arch/x86/include/asm/ |
H A D | qspinlock.h | 102 if (val || !atomic_try_cmpxchg(&lock->val, &val, _Q_LOCKED_VAL)) {
|
/linux-master/arch/x86/kernel/apic/ |
H A D | apic.c | 362 } while (!atomic_try_cmpxchg(&eilvt_offsets[offset], &rsvd, new));
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | mshyperv.c | 274 if (!atomic_try_cmpxchg(&nmi_cpu, &old_cpu, this_cpu))
|
/linux-master/arch/x86/kernel/ |
H A D | smp.c | 160 if (!atomic_try_cmpxchg(&stopping_cpu, &old_cpu, this_cpu))
|
/linux-master/block/ |
H A D | blk-cgroup.h | 409 while (old && !atomic_try_cmpxchg(&blkg->use_delay, &old, old - 1)) 433 if (!old && atomic_try_cmpxchg(&blkg->use_delay, &old, -1)) 450 if (old && atomic_try_cmpxchg(&blkg->use_delay, &old, 0))
|
H A D | blk-iolatency.c | 423 if (!atomic_try_cmpxchg(&iolat->scale_cookie, &our_cookie, cur_cookie)) {
|
H A D | blk-rq-qos.c | 16 } while (!atomic_try_cmpxchg(v, &cur, cur + 1));
|
/linux-master/drivers/cxl/core/ |
H A D | region.c | 2192 if (atomic_try_cmpxchg(&cxlrd->region_id, &id, cxlr->id)) {
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1));
|
H A D | i915_vma.c | 962 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1));
|
/linux-master/drivers/net/ipa/ |
H A D | gsi_trans.c | 311 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new));
|
/linux-master/fs/ |
H A D | aio.c | 974 } while (!atomic_try_cmpxchg(&ctx->reqs_available,
|
/linux-master/fs/btrfs/ |
H A D | extent_io.c | 4101 if (atomic_try_cmpxchg(&eb->refs, &refs, refs - 1))
|
/linux-master/fs/gfs2/ |
H A D | log.c | 446 if (atomic_try_cmpxchg(&sdp->sd_log_revokes_available, 500 if (atomic_try_cmpxchg(&sdp->sd_log_blks_free, &free_blocks, 542 if (atomic_try_cmpxchg(&sdp->sd_log_blks_free,
|
/linux-master/include/asm-generic/ |
H A D | spinlock.h | 60 return atomic_try_cmpxchg(lock, &old, old + (1<<16)); /* SC, for RCsc */
|
/linux-master/include/linux/atomic/ |
H A D | atomic-instrumented.h | 1261 * atomic_try_cmpxchg() - atomic compare and exchange with full ordering 1275 atomic_try_cmpxchg(atomic_t *v, int *old, int new) function
|
/linux-master/include/linux/ |
H A D | jump_label.h | 298 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1)));
|
/linux-master/kernel/bpf/ |
H A D | ringbuf.c | 741 if (!atomic_try_cmpxchg(&rb->busy, &busy, 1))
|
/linux-master/kernel/ |
H A D | cpu.c | 320 if (!atomic_try_cmpxchg(st, &sync, next_state)) 369 } while (!atomic_try_cmpxchg(st, &sync, SYNC_STATE_SHOULD_DIE)); 424 if (!atomic_try_cmpxchg(st, &sync, SYNC_STATE_KICKED))
|
H A D | crash_core.c | 139 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) {
|
H A D | jump_label.c | 142 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1)));
|
H A D | padata.c | 526 } while (!atomic_try_cmpxchg(&last_used_nid, &old_node, nid));
|
H A D | panic.c | 201 /* atomic_try_cmpxchg updates old_cpu on failure */ 202 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) 327 /* atomic_try_cmpxchg updates old_cpu on failure */ 328 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) {
|
/linux-master/kernel/futex/ |
H A D | requeue.c | 121 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); 149 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); 175 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new));
|
/linux-master/kernel/printk/ |
H A D | nbcon.c | 130 * nbcon_state_try_cmpxchg() - Helper function for atomic_try_cmpxchg() on console state 140 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom);
|