Searched refs:atomic_try_cmpxchg (Results 1 - 25 of 36) sorted by path

12

/linux-master/arch/x86/include/asm/
H A Dqspinlock.h102 if (val || !atomic_try_cmpxchg(&lock->val, &val, _Q_LOCKED_VAL)) {
/linux-master/arch/x86/kernel/apic/
H A Dapic.c362 } while (!atomic_try_cmpxchg(&eilvt_offsets[offset], &rsvd, new));
/linux-master/arch/x86/kernel/cpu/
H A Dmshyperv.c274 if (!atomic_try_cmpxchg(&nmi_cpu, &old_cpu, this_cpu))
/linux-master/arch/x86/kernel/
H A Dsmp.c160 if (!atomic_try_cmpxchg(&stopping_cpu, &old_cpu, this_cpu))
/linux-master/block/
H A Dblk-cgroup.h409 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 Dblk-iolatency.c423 if (!atomic_try_cmpxchg(&iolat->scale_cookie, &our_cookie, cur_cookie)) {
H A Dblk-rq-qos.c16 } while (!atomic_try_cmpxchg(v, &cur, cur + 1));
/linux-master/drivers/cxl/core/
H A Dregion.c2192 if (atomic_try_cmpxchg(&cxlrd->region_id, &id, cxlr->id)) {
/linux-master/drivers/gpu/drm/i915/
H A Di915_sw_fence.c234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1));
H A Di915_vma.c962 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1));
/linux-master/drivers/net/ipa/
H A Dgsi_trans.c311 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new));
/linux-master/fs/
H A Daio.c974 } while (!atomic_try_cmpxchg(&ctx->reqs_available,
/linux-master/fs/btrfs/
H A Dextent_io.c4101 if (atomic_try_cmpxchg(&eb->refs, &refs, refs - 1))
/linux-master/fs/gfs2/
H A Dlog.c446 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 Dspinlock.h60 return atomic_try_cmpxchg(lock, &old, old + (1<<16)); /* SC, for RCsc */
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h1261 * 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 Djump_label.h298 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1)));
/linux-master/kernel/bpf/
H A Dringbuf.c741 if (!atomic_try_cmpxchg(&rb->busy, &busy, 1))
/linux-master/kernel/
H A Dcpu.c320 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 Dcrash_core.c139 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) {
H A Djump_label.c142 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1)));
H A Dpadata.c526 } while (!atomic_try_cmpxchg(&last_used_nid, &old_node, nid));
H A Dpanic.c201 /* 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 Drequeue.c121 } 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 Dnbcon.c130 * 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);

Completed in 533 milliseconds

12