Lines Matching full:refcount
3 * This is for all the tests related to refcount bugs (e.g. overflow,
7 #include <linux/refcount.h>
19 pr_err("Fail: refcount wrapped to %d\n", refcount_read(ref)); in overflow_check()
24 * A refcount_inc() above the maximum value of the refcount implementation,
97 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_zero()
122 * refcount_t refuses to move a refcount at all on an in check_negative()
140 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_negative()
231 pr_err("Fail: refcount went past zero!\n"); in lkdtm_REFCOUNT_INC_ZERO()
256 pr_err("Fail: refcount went past zero\n"); in lkdtm_REFCOUNT_ADD_ZERO()
277 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_saturated()
385 * This can be compared to ATOMIC_TIMING when implementing fast refcount
404 pr_err("refcount: out of sync up/down cycle: %u\n", i - 1); in lkdtm_REFCOUNT_TIMING()
406 pr_info("refcount timing: done\n"); in lkdtm_REFCOUNT_TIMING()