Searched refs:uptr (Results 1 – 11 of 11) sorted by relevance
/arch/s390/kernel/ |
D | uprobes.c | 274 void *uptr; in handle_insn_ril() local 279 uptr = (void *)(regs->psw.addr + (insn->disp * 2)); in handle_insn_ril() 286 rx->u64 = (unsigned long)uptr; in handle_insn_ril() 293 rc = emu_load_ril((u16 __user *)uptr, &rx->u32[1]); in handle_insn_ril() 296 rc = emu_load_ril((s16 __user *)uptr, &rx->u64); in handle_insn_ril() 299 rc = emu_load_ril((s16 __user *)uptr, &rx->u32[1]); in handle_insn_ril() 302 rc = emu_load_ril((u16 __user *)uptr, &rx->u64); in handle_insn_ril() 305 rc = emu_load_ril((u64 __user *)uptr, &rx->u64); in handle_insn_ril() 308 rc = emu_load_ril((s32 __user *)uptr, &rx->u64); in handle_insn_ril() 311 rc = emu_load_ril((u32 __user *)uptr, &rx->u32[1]); in handle_insn_ril() [all …]
|
/arch/powerpc/include/asm/ |
D | compat.h | 106 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 108 return (void __user *)(unsigned long)uptr; in compat_ptr() 111 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 113 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/arm64/include/asm/ |
D | compat.h | 124 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 126 return (void __user *)(unsigned long)uptr; in compat_ptr() 129 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 131 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/sparc/include/asm/ |
D | compat.h | 135 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 137 return (void __user *)(unsigned long)uptr; in compat_ptr() 140 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 142 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/mips/include/asm/ |
D | compat.h | 110 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 113 return (void __user *)(unsigned long)(long)uptr; in compat_ptr() 116 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 118 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/parisc/include/asm/ |
D | compat.h | 183 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 185 return (void __user *)(unsigned long)uptr; in compat_ptr() 188 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 190 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/x86/include/asm/ |
D | compat.h | 185 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 187 return (void __user *)(unsigned long)uptr; in compat_ptr() 190 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 192 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/s390/include/asm/ |
D | compat.h | 176 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr() argument 178 return (void __user *)(unsigned long)(uptr & 0x7fffffffUL); in compat_ptr() 181 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() argument 183 return (u32)(unsigned long)uptr; in ptr_to_compat()
|
/arch/s390/pci/ |
D | pci_clp.c | 561 void __user *uptr; in clp_normal_command() local 574 uptr = (void __force __user *)(unsigned long) req->data_p; in clp_normal_command() 575 if (copy_from_user(lpcb, uptr, PAGE_SIZE) != 0) in clp_normal_command() 594 if (copy_to_user(uptr, lpcb, PAGE_SIZE) != 0) in clp_normal_command() 607 void __user *uptr; in clp_immediate_command() local 614 uptr = (void __force __user *)(unsigned long) req->data_p; in clp_immediate_command() 618 return put_user(exists, (int __user *) uptr); in clp_immediate_command() 621 return put_user(ilp, (unsigned long __user *) uptr); in clp_immediate_command()
|
/arch/arm64/kvm/ |
D | guest.c | 396 char __user *uptr = (char __user *)reg->addr; in get_sve_reg() local 410 if (copy_to_user(uptr, vcpu->arch.sve_state + region.koffset, in get_sve_reg() 412 clear_user(uptr + region.klen, region.upad)) in get_sve_reg() 422 const char __user *uptr = (const char __user *)reg->addr; in set_sve_reg() local 436 if (copy_from_user(vcpu->arch.sve_state + region.koffset, uptr, in set_sve_reg()
|
/arch/s390/kvm/ |
D | interrupt.c | 2240 struct kvm_s390_irq __user *uptr = (struct kvm_s390_irq __user *) addr; in copy_irq_from_user() local 2254 source = &uptr->u.ext; in copy_irq_from_user() 2259 source = &uptr->u.io; in copy_irq_from_user() 2264 source = &uptr->u.mchk; in copy_irq_from_user()
|