Home
last modified time | relevance | path

Searched refs:ptr_to_compat (Results 1 – 20 of 20) sorted by relevance

/linux/arch/x86/ia32/
A Dia32_signal.c182 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 Dsys_sparc32.c178 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 Dsignal.c3399 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 Dsignal32.c318 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 Ddrm_ioc32.c196 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 Dwext-priv.c238 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_private_call()
A Dwext-core.c1084 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_standard_call()
/linux/drivers/staging/vc04_services/interface/vchiq_arm/
A Dvchiq_dev.c420 .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 Dipmi_devintf.c706 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 Dsyscalls.c368 return put_user(ptr_to_compat(head), head_ptr); in COMPAT_SYSCALL_DEFINE3()
A Dcore.c839 compat_uptr_t base = ptr_to_compat(entry); in futex_uaddr()
/linux/include/linux/
A Dcompat.h519 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 Dcompat_signal.c283 if (__put_user(ptr_to_compat(&frame->sregs), &frame->sc.sregs)) in setup_frame32()
/linux/fs/fuse/
A Dioctl.c91 (ptr_to_compat(dst[i].iov_base) != fiov[i].base || in fuse_copy_ioctl_iovec()
/linux/drivers/usb/core/
A Ddevio.c2179 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 Dsignal_32.c88 #define to_user_ptr(p) ptr_to_compat(p)
/linux/drivers/media/v4l2-core/
A Dv4l2-compat-ioctl32.c94 .bitmap = ptr_to_compat(p64->bitmap), in put_v4l2_window32()
/linux/drivers/comedi/
A Dcomedi_fops.c2986 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 Dcore-cdev.c221 return ptr_to_compat(ptr); in uptr_to_u64()
/linux/drivers/tty/
A Dtty_io.c2880 0xfffffff : ptr_to_compat(v.iomem_base); in compat_tty_tiocgserial()

Completed in 57 milliseconds