Home
last modified time | relevance | path

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

/linux/mm/kasan/
H A Dreport.c38 static unsigned long kasan_flags; variable
73 set_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_set_multi_shot()
130 if (test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) in report_enabled()
132 return !test_and_set_bit(KASAN_BIT_REPORTED, &kasan_flags); in report_enabled()
139 return test_and_set_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_save_enable_multi_shot()
146 clear_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags); in kasan_restore_multi_shot()
225 if (!test_bit(KASAN_BIT_MULTI_SHOT, &kasan_flags)) in end_report()
/linux/mm/
H A Dvmalloc.c3750 kasan_vmalloc_flags_t kasan_flags = KASAN_VMALLOC_NONE; in __vmalloc_node_range_noprof() local
3824 kasan_flags |= KASAN_VMALLOC_PROT_NORMAL; in __vmalloc_node_range_noprof()
3840 kasan_flags |= KASAN_VMALLOC_VM_ALLOC; in __vmalloc_node_range_noprof()
3843 kasan_flags |= KASAN_VMALLOC_INIT; in __vmalloc_node_range_noprof()
3845 area->addr = kasan_unpoison_vmalloc(area->addr, real_size, kasan_flags); in __vmalloc_node_range_noprof()