HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/676643/root/lib/modules/5.15.0-157-generic/build/scripts/atomic/fallbacks/inc_and_test
cat <<EOF
/**
 * arch_${atomic}_inc_and_test - increment and test
 * @v: pointer of type ${atomic}_t
 *
 * Atomically increments @v by 1
 * and returns true if the result is zero, or false for all
 * other cases.
 */
static __always_inline bool
arch_${atomic}_inc_and_test(${atomic}_t *v)
{
	return arch_${atomic}_inc_return(v) == 0;
}
EOF