Home
last modified time | relevance | path

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

/linux-6.1.9/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 (!test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) in end_report()
/linux-6.1.9/mm/
Dvmalloc.c3135 kasan_vmalloc_flags_t kasan_flags = KASAN_VMALLOC_NONE; in __vmalloc_node_range() local
3209 kasan_flags |= KASAN_VMALLOC_PROT_NORMAL; in __vmalloc_node_range()
3225 kasan_flags |= KASAN_VMALLOC_VM_ALLOC; in __vmalloc_node_range()
3228 kasan_flags |= KASAN_VMALLOC_INIT; in __vmalloc_node_range()
3230 area->addr = kasan_unpoison_vmalloc(area->addr, real_size, kasan_flags); in __vmalloc_node_range()