Searched refs:atomic_try_cmpxchg (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/Documentation/ |
| D | atomic_t.txt | 39 atomic_try_cmpxchg{,_relaxed,_acquire,_release}() 280 bool atomic_try_cmpxchg(atomic_t *ptr, int *oldp, int new); 285 bool atomic_try_cmpxchg(atomic_t *ptr, int *oldp, int new) 298 (void)atomic_try_cmpxchg(ptr, &old, new); 307 tmp = atomic_cmpxchg(&v, old, new); } while (!atomic_try_cmpxchg(&v, &old, new)); 334 } while (!atomic_try_cmpxchg(&v, &old, new));
|
| /Linux-v5.15/kernel/locking/ |
| D | rwbase_rt.c | 63 if (likely(atomic_try_cmpxchg(&rwb->readers, &r, r + 1))) in rwbase_read_trylock()
|
| /Linux-v5.15/fs/gfs2/ |
| D | log.c | 442 if (atomic_try_cmpxchg(&sdp->sd_log_revokes_available, in __gfs2_log_try_reserve_revokes() 496 if (atomic_try_cmpxchg(&sdp->sd_log_blks_free, &free_blocks, in __gfs2_log_try_reserve() 538 if (atomic_try_cmpxchg(&sdp->sd_log_blks_free, in __gfs2_log_reserve()
|
| /Linux-v5.15/drivers/gpu/drm/i915/ |
| D | i915_sw_fence.c | 235 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
|
| D | i915_vma.c | 769 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1)); in try_qad_pin() 789 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1)); in try_qad_pin()
|
| /Linux-v5.15/drivers/net/ipa/ |
| D | gsi_trans.c | 311 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new)); in gsi_trans_tre_reserve()
|
| /Linux-v5.15/kernel/ |
| D | futex.c | 1882 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_prepare() 1910 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_complete() 1936 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_wakeup_sync()
|
| /Linux-v5.15/samples/vfio-mdev/ |
| D | mtty.c | 716 } while (!atomic_try_cmpxchg(&mdev_avail_ports, in mtty_probe()
|
| D | mbochs.c | 520 } while (!atomic_try_cmpxchg(&mbochs_avail_mbytes, &avail_mbytes, in mbochs_probe()
|
| /Linux-v5.15/include/linux/atomic/ |
| D | atomic-instrumented.h | 501 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function
|