···231231}232232233233/*234234- * atomic_sub_if_positive - add integer to atomic variable234234+ * atomic_sub_if_positive - conditionally subtract integer from atomic variable235235+ * @i: integer value to subtract235236 * @v: pointer of type atomic_t236237 *237237- * Atomically test @v and decrement if it is greater than 0.238238- * The function returns the old value of @v minus 1.238238+ * Atomically test @v and subtract @i if @v is greater or equal than @i.239239+ * The function returns the old value of @v minus @i.239240 */240241static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)241242{···578577}579578580579/*581581- * atomic64_sub_if_positive - add integer to atomic variable580580+ * atomic64_sub_if_positive - conditionally subtract integer from atomic variable581581+ * @i: integer value to subtract582582 * @v: pointer of type atomic64_t583583 *584584- * Atomically test @v and decrement if it is greater than 0.585585- * The function returns the old value of @v minus 1.584584+ * Atomically test @v and subtract @i if @v is greater or equal than @i.585585+ * The function returns the old value of @v minus @i.586586 */587587static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)588588{