Lines Matching refs:uaddr

571 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size)  in dtrace_copycheck()  argument
575 if (uaddr + size > VM_MAXUSER_ADDRESS || uaddr + size < uaddr) { in dtrace_copycheck()
577 cpu_core[curcpu].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
585 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyin() argument
588 if (dtrace_copycheck(uaddr, kaddr, size)) { in dtrace_copyin()
589 dtrace_copy(uaddr, kaddr, size); in dtrace_copyin()
595 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyout() argument
598 if (dtrace_copycheck(uaddr, kaddr, size)) { in dtrace_copyout()
600 dtrace_copy(kaddr, uaddr, size); in dtrace_copyout()
605 dtrace_copyinstr(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyinstr() argument
608 if (dtrace_copycheck(uaddr, kaddr, size)) { in dtrace_copyinstr()
609 dtrace_copystr(uaddr, kaddr, size, flags); in dtrace_copyinstr()
615 dtrace_copyoutstr(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyoutstr() argument
618 if (dtrace_copycheck(uaddr, kaddr, size)) { in dtrace_copyoutstr()
620 dtrace_copystr(kaddr, uaddr, size, flags); in dtrace_copyoutstr()
625 dtrace_fuword8(void *uaddr) in dtrace_fuword8() argument
629 if ((uintptr_t)uaddr > VM_MAXUSER_ADDRESS) { in dtrace_fuword8()
631 cpu_core[curcpu].cpuc_dtrace_illval = (uintptr_t)uaddr; in dtrace_fuword8()
634 val = dtrace_fuword8_nocheck(uaddr); in dtrace_fuword8()
640 dtrace_fuword16(void *uaddr) in dtrace_fuword16() argument
644 if ((uintptr_t)uaddr > VM_MAXUSER_ADDRESS) { in dtrace_fuword16()
646 cpu_core[curcpu].cpuc_dtrace_illval = (uintptr_t)uaddr; in dtrace_fuword16()
649 val = dtrace_fuword16_nocheck(uaddr); in dtrace_fuword16()
655 dtrace_fuword32(void *uaddr) in dtrace_fuword32() argument
659 if ((uintptr_t)uaddr > VM_MAXUSER_ADDRESS) { in dtrace_fuword32()
661 cpu_core[curcpu].cpuc_dtrace_illval = (uintptr_t)uaddr; in dtrace_fuword32()
664 val = dtrace_fuword32_nocheck(uaddr); in dtrace_fuword32()
670 dtrace_fuword64(void *uaddr) in dtrace_fuword64() argument
674 if ((uintptr_t)uaddr > VM_MAXUSER_ADDRESS) { in dtrace_fuword64()
676 cpu_core[curcpu].cpuc_dtrace_illval = (uintptr_t)uaddr; in dtrace_fuword64()
679 val = dtrace_fuword64_nocheck(uaddr); in dtrace_fuword64()