/kernel/linux/linux-5.10/include/linux/ |
H A D | atomic-fallback.h | 1000 #define arch_atomic_try_cmpxchg atomic_try_cmpxchg 1006 #ifdef atomic_try_cmpxchg 1007 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg 1008 #define atomic_try_cmpxchg_release atomic_try_cmpxchg 1009 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg 1010 #endif /* atomic_try_cmpxchg */ 1012 #ifndef atomic_try_cmpxchg 1014 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function 1022 #define atomic_try_cmpxchg atomic_try_cmpxchg macro 1089 atomic_try_cmpxchg(atomic_t *v, int *old, int new) atomic_try_cmpxchg() function 1097 #define atomic_try_cmpxchg global() macro [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-cgroup.h | 407 while (old && !atomic_try_cmpxchg(&blkg->use_delay, &old, old - 1)) in blkcg_unuse_delay() 431 if (!old && atomic_try_cmpxchg(&blkg->use_delay, &old, -1)) in blkcg_set_delay() 448 if (old && atomic_try_cmpxchg(&blkg->use_delay, &old, 0)) in blkcg_clear_delay()
|
H A D | blk-rq-qos.c | 16 } while (!atomic_try_cmpxchg(v, &cur, cur + 1)); in atomic_inc_below()
|
H A D | blk-iolatency.c | 423 if (!atomic_try_cmpxchg(&iolat->scale_cookie, &our_cookie, cur_cookie)) { in check_scale_change()
|
/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | spinlock.h | 60 return atomic_try_cmpxchg(lock, &old, old + (1<<16)); /* SC, for RCsc */ in arch_spin_trylock()
|
/kernel/linux/linux-6.6/kernel/futex/ |
H A D | requeue.c | 119 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_prepare() 147 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_complete() 173 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_wakeup_sync()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | jump_label.h | 295 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1))); in static_key_fast_inc_not_disabled()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | atomic-instrumented.h | 692 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function 698 #define atomic_try_cmpxchg atomic_try_cmpxchg macro
|
H A D | atomic-long.h | 931 return atomic_try_cmpxchg(v, (int *)old, new); in atomic_long_try_cmpxchg()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | log.c | 450 if (atomic_try_cmpxchg(&sdp->sd_log_revokes_available, in __gfs2_log_try_reserve_revokes() 504 if (atomic_try_cmpxchg(&sdp->sd_log_blks_free, &free_blocks, in __gfs2_log_try_reserve() 546 if (atomic_try_cmpxchg(&sdp->sd_log_blks_free, in __gfs2_log_reserve()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 230 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
|
H A D | i915_vma.c | 765 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1)); in try_qad_pin() 785 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1)); in try_qad_pin()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | conn_object.c | 425 if (!atomic_try_cmpxchg(&conn->active, &active, -1)) in rxrpc_service_connection_reaper()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | cpu.c | 321 if (!atomic_try_cmpxchg(st, &sync, next_state)) in cpuhp_wait_for_sync_state() 370 } while (!atomic_try_cmpxchg(st, &sync, SYNC_STATE_SHOULD_DIE)); in cpuhp_bp_sync_dead() 425 if (!atomic_try_cmpxchg(st, &sync, SYNC_STATE_KICKED)) in cpuhp_can_boot_ap()
|
H A D | jump_label.c | 142 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1))); in static_key_fast_inc_not_disabled()
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A D | gsi_trans.c | 314 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new)); in gsi_trans_tre_reserve()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | ringbuf.c | 741 if (!atomic_try_cmpxchg(&rb->busy, &busy, 1)) in BPF_CALL_4()
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | gsi_trans.c | 311 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new)); in gsi_trans_tre_reserve()
|
/kernel/linux/linux-6.6/lib/ |
H A D | sbitmap.c | 596 } while (!atomic_try_cmpxchg(&sbq->wakeup_cnt, in sbitmap_queue_wake_up()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
H A D | apic.c | 413 } while (!atomic_try_cmpxchg(&eilvt_offsets[offset], &rsvd, new)); in reserve_eilvt_offset()
|
/kernel/linux/linux-6.6/samples/vfio-mdev/ |
H A D | mbochs.c | 529 } while (!atomic_try_cmpxchg(&mbochs_avail_mbytes, &avail_mbytes, in mbochs_init_dev()
|
H A D | mtty.c | 759 } while (!atomic_try_cmpxchg(&mdev_avail_ports, in mtty_init_dev()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | ring_buffer.c | 4019 } while (!atomic_try_cmpxchg(&buffer->record_disabled, &rd, new_rd)); in ring_buffer_record_off() 4042 } while (!atomic_try_cmpxchg(&buffer->record_disabled, &rd, new_rd)); in ring_buffer_record_on()
|
/kernel/linux/linux-6.6/fs/ |
H A D | aio.c | 968 } while (!atomic_try_cmpxchg(&ctx->reqs_available, in __get_reqs_available()
|