Lines Matching refs:counters
154 static atomic_long_t counters[KFENCE_COUNTER_COUNT]; variable
173 return atomic_long_read(&counters[KFENCE_COUNTER_ALLOCATED]) > thresh; in should_skip_covered()
319 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in check_canary_byte()
374 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_CAPACITY]); in kfence_guarded_alloc()
451 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCATED]); in kfence_guarded_alloc()
452 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCS]); in kfence_guarded_alloc()
467 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in kfence_guarded_free()
518 atomic_long_dec(&counters[KFENCE_COUNTER_ALLOCATED]); in kfence_guarded_free()
519 atomic_long_inc(&counters[KFENCE_COUNTER_FREES]); in kfence_guarded_free()
522 atomic_long_inc(&counters[KFENCE_COUNTER_ZOMBIES]); in kfence_guarded_free()
627 seq_printf(seq, "%s: %ld\n", counter_names[i], atomic_long_read(&counters[i])); in stats_show()
858 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_INCOMPAT]); in __kfence_alloc()
869 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_INCOMPAT]); in __kfence_alloc()
905 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_COVERED]); in __kfence_alloc()
964 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in kfence_handle_page_fault()