Home
last modified time | relevance | path

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

/linux-6.1.9/mm/kmsan/
Dinstrumentation.c33 unsigned long ua_flags = user_access_save(); in get_shadow_origin_ptr() local
37 user_access_restore(ua_flags); in get_shadow_origin_ptr()
87 unsigned long ua_flags; in __msan_instrument_asm_store() local
92 ua_flags = user_access_save(); in __msan_instrument_asm_store()
103 user_access_restore(ua_flags); in __msan_instrument_asm_store()
110 user_access_restore(ua_flags); in __msan_instrument_asm_store()
221 unsigned long ua_flags; in __msan_chain_origin() local
226 ua_flags = user_access_save(); in __msan_chain_origin()
232 user_access_restore(ua_flags); in __msan_chain_origin()
242 unsigned long ua_flags; in __msan_poison_alloca() local
[all …]
Dhooks.c214 unsigned long ua_flags; in kmsan_copy_to_user() local
230 ua_flags = user_access_save(); in kmsan_copy_to_user()
245 user_access_restore(ua_flags); in kmsan_copy_to_user()
337 unsigned long ua_flags; in kmsan_unpoison_memory() local
342 ua_flags = user_access_save(); in kmsan_unpoison_memory()
348 user_access_restore(ua_flags); in kmsan_unpoison_memory()
367 unsigned long ua_flags; in kmsan_unpoison_entry_regs() local
372 ua_flags = user_access_save(); in kmsan_unpoison_entry_regs()
375 user_access_restore(ua_flags); in kmsan_unpoison_entry_regs()
Dreport.c155 unsigned long ua_flags; in kmsan_report() local
166 ua_flags = user_access_save(); in kmsan_report()
217 user_access_restore(ua_flags); in kmsan_report()
/linux-6.1.9/arch/arm/lib/
Duaccess_with_memcpy.c92 unsigned long ua_flags; in __copy_to_user_memcpy() local
118 ua_flags = uaccess_save_and_enable(); in __copy_to_user_memcpy()
120 uaccess_restore(ua_flags); in __copy_to_user_memcpy()
148 unsigned long ua_flags = uaccess_save_and_enable(); in arm_copy_to_user() local
150 uaccess_restore(ua_flags); in arm_copy_to_user()
161 unsigned long ua_flags; in __clear_user_memset() local
180 ua_flags = uaccess_save_and_enable(); in __clear_user_memset()
182 uaccess_restore(ua_flags); in __clear_user_memset()
201 unsigned long ua_flags = uaccess_save_and_enable(); in arm_clear_user() local
203 uaccess_restore(ua_flags); in arm_clear_user()
/linux-6.1.9/lib/
Dubsan.c293 unsigned long ua_flags = user_access_save(); in __ubsan_handle_shift_out_of_bounds() local
323 user_access_restore(ua_flags); in __ubsan_handle_shift_out_of_bounds()
/linux-6.1.9/mm/kasan/
Dreport.c475 unsigned long ua_flags = user_access_save(); in kasan_report() local
500 user_access_restore(ua_flags); in kasan_report()
/linux-6.1.9/kernel/kcsan/
Dcore.c526 unsigned long ua_flags = user_access_save(); in kcsan_setup_watchpoint() local
706 user_access_restore(ua_flags); in kcsan_setup_watchpoint()