/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/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-rq-qos.c | 16 } while (!atomic_try_cmpxchg(v, &cur, cur + 1));
|
H A D | blk-iolatency.c | 423 if (!atomic_try_cmpxchg(&iolat->scale_cookie, &our_cookie, cur_cookie)) {
|
/linux-master/arch/x86/kernel/ |
H A D | smp.c | 160 if (!atomic_try_cmpxchg(&stopping_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/ |
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)) {
|
H A D | crash_core.c | 139 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) {
|
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 | 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));
|
/linux-master/include/linux/ |
H A D | jump_label.h | 295 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 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/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1));
|
/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);
|
/linux-master/net/rxrpc/ |
H A D | conn_object.c | 429 if (!atomic_try_cmpxchg(&conn->active, &active, -1))
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | mshyperv.c | 274 if (!atomic_try_cmpxchg(&nmi_cpu, &old_cpu, this_cpu))
|
/linux-master/kernel/time/ |
H A D | timer_migration.c | 101 * active CPU/group information atomic_try_cmpxchg() is used instead and only 650 } while (!atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)); 1302 if (atomic_try_cmpxchg(&group->migr_state, &curstate.state,
|
/linux-master/drivers/net/ipa/ |
H A D | gsi_trans.c | 311 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new));
|
/linux-master/kernel/bpf/ |
H A D | ringbuf.c | 741 if (!atomic_try_cmpxchg(&rb->busy, &busy, 1))
|
/linux-master/lib/ |
H A D | sbitmap.c | 591 } while (!atomic_try_cmpxchg(&sbq->wakeup_cnt,
|
/linux-master/mm/kasan/ |
H A D | kasan_test.c | 722 KUNIT_EXPECT_KASAN_FAIL(test, atomic_try_cmpxchg(unsafe, safe, 42)); 723 KUNIT_EXPECT_KASAN_FAIL(test, atomic_try_cmpxchg(safe, unsafe, 42));
|
/linux-master/samples/vfio-mdev/ |
H A D | mbochs.c | 531 } while (!atomic_try_cmpxchg(&mbochs_avail_mbytes, &avail_mbytes,
|
/linux-master/arch/x86/kernel/apic/ |
H A D | apic.c | 362 } while (!atomic_try_cmpxchg(&eilvt_offsets[offset], &rsvd, new));
|
/linux-master/sound/usb/ |
H A D | endpoint.c | 140 return atomic_try_cmpxchg(&ep->state, &old, new);
|