Home
last modified time | relevance | path

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

/linux-5.19.10/mm/kasan/
Dreport.c38 static unsigned long kasan_flags; variable
70 set_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_set_multi_shot()
95 if (test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) in report_enabled()
97 return !test_and_set_bit(KASAN_BIT_REPORTED, &kasan_flags); in report_enabled()
104 return test_and_set_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_save_enable_multi_shot()
111 clear_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_restore_multi_shot()
167 if (panic_on_warn && !test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) in end_report()
/linux-5.19.10/mm/
Dvmalloc.c3087 kasan_vmalloc_flags_t kasan_flags = KASAN_VMALLOC_NONE; in __vmalloc_node_range() local
3161 kasan_flags |= KASAN_VMALLOC_PROT_NORMAL; in __vmalloc_node_range()
3177 kasan_flags |= KASAN_VMALLOC_VM_ALLOC; in __vmalloc_node_range()
3180 kasan_flags |= KASAN_VMALLOC_INIT; in __vmalloc_node_range()
3182 area->addr = kasan_unpoison_vmalloc(area->addr, real_size, kasan_flags); in __vmalloc_node_range()