HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.8.0-85/scripts/atomic/kerneldoc/try_cmpxchg
cat <<EOF
/**
 * ${class}${atomicname}() - atomic compare and exchange with ${desc_order} ordering
 * @v: pointer to ${atomic}_t
 * @old: pointer to ${int} value to compare with
 * @new: ${int} value to assign
 *
 * If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
 * Otherwise, updates @old to the current value of @v.
 *
 * ${desc_noinstr}
 *
 * Return: @true if the exchange occured, @false otherwise.
 */
EOF