Home
last modified time | relevance | path

Searched refs:untagged_addr (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/mm/kasan/
Dsw_tags.c78 void *untagged_addr; in kasan_check_range() local
108 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() local
128 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()
/linux-6.6.21/include/linux/
Duaccess.h24 #ifndef untagged_addr
25 #define untagged_addr(addr) (addr) macro
31 untagged_addr(addr); \
/linux-6.6.21/arch/arm64/include/asm/
Dsignal.h21 return untagged_addr(addr); in arch_untagged_si_addr()
Dmemory.h243 #define untagged_addr(addr) ({ \ macro
Duaccess.h47 addr = untagged_addr(addr); in access_ok()
/linux-6.6.21/arch/arm64/mm/
Dfault.c481 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()
/linux-6.6.21/lib/
Dstrnlen_user.c100 src_addr = (unsigned long)untagged_addr(str); in strnlen_user()
Dstrncpy_from_user.c124 src_addr = (unsigned long)untagged_addr(src); in strncpy_from_user()
/linux-6.6.21/mm/
Dmsync.c40 start = untagged_addr(start); in SYSCALL_DEFINE3()
Dmincore.c239 start = untagged_addr(start); in SYSCALL_DEFINE3()
Dmlock.c581 start = untagged_addr(start); in do_mlock()
644 start = untagged_addr(start); in SYSCALL_DEFINE2()
Dmempolicy.c1496 start = untagged_addr(start); in kernel_mbind()
1518 start = untagged_addr(start); in SYSCALL_DEFINE4()
1718 addr = untagged_addr(addr); in kernel_get_mempolicy()
Dmprotect.c702 start = untagged_addr(start); in do_mprotect_pkey()
Dmremap.c931 addr = untagged_addr(addr); in SYSCALL_DEFINE5()
/linux-6.6.21/drivers/media/common/videobuf2/
Dframe_vector.c52 start = untagged_addr(start); in get_vaddr_frames()
/linux-6.6.21/arch/x86/include/asm/
Duaccess_64.h33 #define untagged_addr(addr) ({ \ macro
/linux-6.6.21/kernel/entry/
Dsyscall_user_dispatch.c100 if (selector && !access_ok(untagged_addr(selector), sizeof(*selector))) in task_set_syscall_user_dispatch()
/linux-6.6.21/drivers/media/v4l2-core/
Dvideobuf-dma-contig.c159 unsigned long untagged_baddr = untagged_addr(vb->baddr); in videobuf_dma_contig_user_get()
/linux-6.6.21/arch/arm64/kernel/
Dtraps.c445 if (find_vma(current->mm, untagged_addr(addr)) == NULL) in arm64_notify_segfault()
597 address = untagged_addr(tagged_address); in user_cache_maint_handler()
Dhw_breakpoint.c718 addr = untagged_addr(addr); in get_distance_from_watchpoint()
/linux-6.6.21/drivers/tee/
Dtee_shm.c248 addr = untagged_addr(addr); in register_shm_helper()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmr.c382 unsigned long untagged_start = untagged_addr(start); in mlx4_get_umem_mr()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_gem.c358 args->addr = untagged_addr(args->addr); in radeon_gem_userptr_ioctl()
/linux-6.6.21/arch/sparc/include/asm/
Dpgtable_64.h1120 #define untagged_addr(addr) \ macro
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c391 args->addr = untagged_addr(args->addr); in amdgpu_gem_userptr_ioctl()

12