Home
last modified time | relevance | path

Searched refs:kasan_flags (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/mm/kasan/
Dreport.c47 static unsigned long kasan_flags; variable
54 return test_and_set_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_save_enable_multi_shot()
61 clear_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_restore_multi_shot()
67 set_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_set_multi_shot()
98 if (panic_on_warn && !test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) { in end_report()
464 if (test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) in report_enabled()
466 return !test_and_set_bit(KASAN_BIT_REPORTED, &kasan_flags); in report_enabled()