Lines Matching refs:dec
256 long dec = atomic_long_dec_if_positive(&iter->ucount[type]); in dec_ucount() local
257 WARN_ON_ONCE(dec < 0); in dec_ucount()
284 long dec = atomic_long_sub_return(v, &iter->rlimit[type]); in dec_rlimit_ucounts() local
285 WARN_ON_ONCE(dec < 0); in dec_rlimit_ucounts()
287 new = dec; in dec_rlimit_ucounts()
297 long dec = atomic_long_sub_return(1, &iter->rlimit[type]); in do_dec_rlimit_put_ucounts() local
298 WARN_ON_ONCE(dec < 0); in do_dec_rlimit_put_ucounts()
300 if (dec == 0) in do_dec_rlimit_put_ucounts()
315 long dec, ret = 0; in inc_rlimit_get_ucounts() local
335 dec = atomic_long_sub_return(1, &iter->rlimit[type]); in inc_rlimit_get_ucounts()
336 WARN_ON_ONCE(dec < 0); in inc_rlimit_get_ucounts()