HEX
Server: nginx/1.24.0
System: Linux webserver-one 6.8.0-101-generic #101-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 9 10:15:05 UTC 2026 x86_64
User: www-data (33)
PHP: 8.4.18
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.8.0-101/scripts/atomic/kerneldoc/dec_if_positive
cat <<EOF
/**
 * ${class}${atomicname}() - atomic decrement if positive with ${desc_order} ordering
 * @v: pointer to ${atomic}_t
 *
 * If (@v > 0), atomically updates @v to (@v - 1) with ${desc_order} ordering.
 *
 * ${desc_noinstr}
 *
 * Return: The old value of (@v - 1), regardless of whether @v was updated.
 */
EOF