Searched refs:ptr_to_compat (Results 1 – 20 of 20) sorted by relevance
/linux/arch/x86/ia32/ |
A D | ia32_signal.c | 182 unsafe_put_user(ptr_to_compat(fpstate), &sc->fpstate, Efault); in __unsafe_setup_sigcontext32() 270 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_frame() 325 unsafe_put_user(ptr_to_compat(&frame->info), &frame->pinfo, Efault); in ia32_setup_rt_frame() 326 unsafe_put_user(ptr_to_compat(&frame->uc), &frame->puc, Efault); in ia32_setup_rt_frame() 341 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_rt_frame()
|
/linux/arch/sparc/kernel/ |
A D | sys_sparc32.c | 178 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 182 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); in COMPAT_SYSCALL_DEFINE5()
|
/linux/kernel/ |
A D | signal.c | 3399 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32() 3402 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32() 3406 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32() 3410 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32() 3411 to->si_lower = ptr_to_compat(from->si_lower); in copy_siginfo_to_external32() 3412 to->si_upper = ptr_to_compat(from->si_upper); in copy_siginfo_to_external32() 3415 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32() 3419 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32() 4272 old.ss_sp = ptr_to_compat(uoss.ss_sp); in do_compat_sigaltstack() 4456 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), in COMPAT_SYSCALL_DEFINE4() [all …]
|
/linux/arch/arm64/kernel/ |
A D | signal32.c | 318 compat_ulong_t handler = ptr_to_compat(ka->sa.sa_handler); in compat_setup_return() 338 retcode = ptr_to_compat(ka->sa.sa_restorer); in compat_setup_return() 351 regs->compat_sp = ptr_to_compat(frame); in compat_setup_return()
|
/linux/drivers/gpu/drm/ |
A D | drm_ioc32.c | 196 m32.handle = ptr_to_compat((void __user *)map.handle); in compat_drm_getmap() 227 m32.handle = ptr_to_compat((void __user *)map.handle); in compat_drm_addmap() 457 request->virtual = ptr_to_compat(v); in drm_legacy_mapbufs32() 541 req32.handle = ptr_to_compat((void __user *)req.handle); in compat_drm_getsareactx()
|
/linux/net/wireless/ |
A D | wext-priv.c | 238 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_private_call()
|
A D | wext-core.c | 1084 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_standard_call()
|
/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
A D | vchiq_dev.c | 420 .header = ptr_to_compat(completion->header), in vchiq_put_completion() 421 .service_userdata = ptr_to_compat(completion->service_userdata), in vchiq_put_completion() 422 .bulk_userdata = ptr_to_compat(completion->bulk_userdata), in vchiq_put_completion()
|
/linux/drivers/char/ipmi/ |
A D | ipmi_devintf.c | 706 v32.addr = ptr_to_compat(p64->addr); in copyout_recv32() 712 v32.msg.data = ptr_to_compat(p64->msg.data); in copyout_recv32()
|
/linux/kernel/futex/ |
A D | syscalls.c | 368 return put_user(ptr_to_compat(head), head_ptr); in COMPAT_SYSCALL_DEFINE3()
|
A D | core.c | 839 compat_uptr_t base = ptr_to_compat(entry); in futex_uaddr()
|
/linux/include/linux/ |
A D | compat.h | 519 unsafe_put_user(ptr_to_compat((void __user *)t->sas_ss_sp), \ 980 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() function
|
/linux/arch/s390/kernel/ |
A D | compat_signal.c | 283 if (__put_user(ptr_to_compat(&frame->sregs), &frame->sc.sregs)) in setup_frame32()
|
/linux/fs/fuse/ |
A D | ioctl.c | 91 (ptr_to_compat(dst[i].iov_base) != fiov[i].base || in fuse_copy_ioctl_iovec()
|
/linux/drivers/usb/core/ |
A D | devio.c | 2179 userurb_sigval.sival_int = ptr_to_compat(arg); in proc_submiturb_compat() 2216 if (put_user(ptr_to_compat(addr), (u32 __user *)arg)) in processcompl_compat() 2705 ret = proc_ioctl_compat(ps, ptr_to_compat(p)); in usbdev_do_ioctl()
|
/linux/arch/powerpc/kernel/ |
A D | signal_32.c | 88 #define to_user_ptr(p) ptr_to_compat(p)
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-compat-ioctl32.c | 94 .bitmap = ptr_to_compat(p64->bitmap), in put_v4l2_window32()
|
/linux/drivers/comedi/ |
A D | comedi_fops.c | 2986 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd() 2988 v32.data = ptr_to_compat(cmd->data); in put_compat_cmd()
|
/linux/drivers/firewire/ |
A D | core-cdev.c | 221 return ptr_to_compat(ptr); in uptr_to_u64()
|
/linux/drivers/tty/ |
A D | tty_io.c | 2880 0xfffffff : ptr_to_compat(v.iomem_base); in compat_tty_tiocgserial()
|
Completed in 57 milliseconds