Lines Matching defs:uaddr
655 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size)
659 if (uaddr + size >= kernelbase || uaddr + size < uaddr) {
661 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr;
670 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size,
673 if (dtrace_copycheck(uaddr, kaddr, size))
674 dtrace_copy(uaddr, kaddr, size);
679 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size,
682 if (dtrace_copycheck(uaddr, kaddr, size))
683 dtrace_copy(kaddr, uaddr, size);
687 dtrace_copyinstr(uintptr_t uaddr, uintptr_t kaddr, size_t size,
690 if (dtrace_copycheck(uaddr, kaddr, size))
691 dtrace_copystr(uaddr, kaddr, size, flags);
695 dtrace_copyoutstr(uintptr_t kaddr, uintptr_t uaddr, size_t size,
698 if (dtrace_copycheck(uaddr, kaddr, size))
699 dtrace_copystr(kaddr, uaddr, size, flags);
703 dtrace_fuword8(void *uaddr)
706 if ((uintptr_t)uaddr >= _userlimit) {
708 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = (uintptr_t)uaddr;
711 return (dtrace_fuword8_nocheck(uaddr));
715 dtrace_fuword16(void *uaddr)
718 if ((uintptr_t)uaddr >= _userlimit) {
720 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = (uintptr_t)uaddr;
723 return (dtrace_fuword16_nocheck(uaddr));
727 dtrace_fuword32(void *uaddr)
730 if ((uintptr_t)uaddr >= _userlimit) {
732 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = (uintptr_t)uaddr;
735 return (dtrace_fuword32_nocheck(uaddr));
739 dtrace_fuword64(void *uaddr)
742 if ((uintptr_t)uaddr >= _userlimit) {
744 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = (uintptr_t)uaddr;
747 return (dtrace_fuword64_nocheck(uaddr));