Searched refs:REFCOUNT_WARN (Results 1 – 2 of 2) sorted by relevance
11 #define REFCOUNT_WARN(str) WARN_ONCE(1, "refcount_t: " str ".\n") macro19 REFCOUNT_WARN("saturated; leaking memory"); in refcount_warn_saturate()22 REFCOUNT_WARN("saturated; leaking memory"); in refcount_warn_saturate()25 REFCOUNT_WARN("addition on 0; use-after-free"); in refcount_warn_saturate()28 REFCOUNT_WARN("underflow; use-after-free"); in refcount_warn_saturate()31 REFCOUNT_WARN("decrement hit 0; leaking memory"); in refcount_warn_saturate()34 REFCOUNT_WARN("unknown saturation event!?"); in refcount_warn_saturate()
45 #define REFCOUNT_WARN(cond, str) (void)(cond) macro48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) macro96 REFCOUNT_WARN(new == UINT_MAX, "refcount_t: saturated; leaking memory.\n"); in refcount_inc_not_zero()109 REFCOUNT_WARN(!refcount_inc_not_zero(r), "refcount_t: increment on 0; use-after-free.\n"); in refcount_inc()131 REFCOUNT_WARN(new > val, "refcount_t: underflow; use-after-free.\n"); in refcount_sub_and_test()