1*ad811070SMark Rutlandcat <<EOF 2*ad811070SMark Rutland/** 3*ad811070SMark Rutland * ${class}${atomicname}() - atomic add and test if negative with ${desc_order} ordering 4*ad811070SMark Rutland * @i: ${int} value to add 5*ad811070SMark Rutland * @v: pointer to ${atomic}_t 6*ad811070SMark Rutland * 7*ad811070SMark Rutland * Atomically updates @v to (@v + @i) with ${desc_order} ordering. 8*ad811070SMark Rutland * 9*ad811070SMark Rutland * ${desc_noinstr} 10*ad811070SMark Rutland * 11*ad811070SMark Rutland * Return: @true if the resulting value of @v is negative, @false otherwise. 12*ad811070SMark Rutland */ 13*ad811070SMark RutlandEOF 14