1 if [ -z "${pfx}" ]; then 2 desc_return="Return: @true if @v was updated, @false otherwise." 3 fi 4 5 cat <<EOF 6 /** 7 * ${class}${atomicname}() - atomic add unless value with ${desc_order} ordering 8 * @v: pointer to ${atomic}_t 9 * @a: ${int} value to add 10 * @u: ${int} value to compare with 11 * 12 * If (@v != @u), atomically updates @v to (@v + @a) with ${desc_order} ordering. 13 * Otherwise, @v is not modified and relaxed ordering is provided. 14 * 15 * ${desc_noinstr} 16 * 17 * ${desc_return} 18 */ 19 EOF
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.