Searched refs:untagged_addr (Results 1 – 25 of 29) sorted by relevance
12
78 void *untagged_addr; in kasan_check_range() local108 untagged_addr = kasan_reset_tag((const void *)addr); in kasan_check_range()109 if (unlikely(!addr_has_metadata(untagged_addr))) in kasan_check_range()111 shadow_first = kasan_mem_to_shadow(untagged_addr); in kasan_check_range()112 shadow_last = kasan_mem_to_shadow(untagged_addr + size - 1); in kasan_check_range()125 void *untagged_addr = kasan_reset_tag(addr); in kasan_byte_accessible() local128 if (!addr_has_metadata(untagged_addr)) in kasan_byte_accessible()131 shadow_byte = READ_ONCE(*(u8 *)kasan_mem_to_shadow(untagged_addr)); in kasan_byte_accessible()
24 #ifndef untagged_addr25 #define untagged_addr(addr) (addr) macro31 untagged_addr(addr); \
21 return untagged_addr(addr); in arch_untagged_si_addr()
243 #define untagged_addr(addr) ({ \ macro
47 addr = untagged_addr(addr); in access_ok()
481 unsigned long addr = untagged_addr(far); in do_bad_area()538 unsigned long addr = untagged_addr(far); in do_page_fault()707 unsigned long addr = untagged_addr(far); in do_translation_fault()754 siaddr = untagged_addr(far); in do_sea()844 unsigned long addr = untagged_addr(far); in do_mem_abort()
100 src_addr = (unsigned long)untagged_addr(str); in strnlen_user()
124 src_addr = (unsigned long)untagged_addr(src); in strncpy_from_user()
40 start = untagged_addr(start); in SYSCALL_DEFINE3()
239 start = untagged_addr(start); in SYSCALL_DEFINE3()
581 start = untagged_addr(start); in do_mlock()644 start = untagged_addr(start); in SYSCALL_DEFINE2()
1496 start = untagged_addr(start); in kernel_mbind()1518 start = untagged_addr(start); in SYSCALL_DEFINE4()1718 addr = untagged_addr(addr); in kernel_get_mempolicy()
702 start = untagged_addr(start); in do_mprotect_pkey()
931 addr = untagged_addr(addr); in SYSCALL_DEFINE5()
52 start = untagged_addr(start); in get_vaddr_frames()
33 #define untagged_addr(addr) ({ \ macro
100 if (selector && !access_ok(untagged_addr(selector), sizeof(*selector))) in task_set_syscall_user_dispatch()
159 unsigned long untagged_baddr = untagged_addr(vb->baddr); in videobuf_dma_contig_user_get()
445 if (find_vma(current->mm, untagged_addr(addr)) == NULL) in arm64_notify_segfault()597 address = untagged_addr(tagged_address); in user_cache_maint_handler()
718 addr = untagged_addr(addr); in get_distance_from_watchpoint()
248 addr = untagged_addr(addr); in register_shm_helper()
382 unsigned long untagged_start = untagged_addr(start); in mlx4_get_umem_mr()
358 args->addr = untagged_addr(args->addr); in radeon_gem_userptr_ioctl()
1120 #define untagged_addr(addr) \ macro
391 args->addr = untagged_addr(args->addr); in amdgpu_gem_userptr_ioctl()