HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.8.0-1041-oracle/scripts/atomic/kerneldoc/cmpxchg
cat <<EOF
/**
 * ${class}${atomicname}() - atomic compare and exchange with ${desc_order} ordering
 * @v: pointer to ${atomic}_t
 * @old: ${int} value to compare with
 * @new: ${int} value to assign
 *
 * If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
 *
 * ${desc_noinstr}
 *
 * Return: The original value of @v.
 */
EOF