D | sem.c | 14 static inline atomic_t bounded_dec(atomic_t *val, atomic_t minimum) in bounded_dec() argument 20 if (old_value < minimum) { in bounded_dec() 30 static inline atomic_t bounded_inc(atomic_t *val, atomic_t minimum, in bounded_inc() argument 41 new_value = ((old_value < minimum) ? minimum : old_value) + 1; in bounded_inc()
|