Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/ia32/
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-5.19.10/arch/sparc/kernel/
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-5.19.10/arch/arm64/kernel/
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-5.19.10/kernel/
Dsignal.c3405 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3408 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3412 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3416 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3417 to->si_lower = ptr_to_compat(from->si_lower); in copy_siginfo_to_external32()
3418 to->si_upper = ptr_to_compat(from->si_upper); in copy_siginfo_to_external32()
3421 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3425 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3443 to->si_call_addr = ptr_to_compat(from->si_call_addr); in copy_siginfo_to_external32()
4281 old.ss_sp = ptr_to_compat(uoss.ss_sp); in do_compat_sigaltstack()
[all …]
/linux-5.19.10/drivers/gpu/drm/
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-5.19.10/net/wireless/
Dwext-priv.c238 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_private_call()
Dwext-core.c1084 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_standard_call()
/linux-5.19.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c418 .header = ptr_to_compat(completion->header), in vchiq_put_completion()
419 .service_userdata = ptr_to_compat(completion->service_userdata), in vchiq_put_completion()
420 .bulk_userdata = ptr_to_compat(completion->bulk_userdata), in vchiq_put_completion()
/linux-5.19.10/kernel/futex/
Dsyscalls.c346 return put_user(ptr_to_compat(head), head_ptr); in COMPAT_SYSCALL_DEFINE3()
Dcore.c831 compat_uptr_t base = ptr_to_compat(entry); in futex_uaddr()
/linux-5.19.10/drivers/char/ipmi/
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-5.19.10/include/linux/
Dcompat.h551 unsafe_put_user(ptr_to_compat((void __user *)t->sas_ss_sp), \
1049 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() function
/linux-5.19.10/arch/s390/kernel/
Dcompat_signal.c283 if (__put_user(ptr_to_compat(&frame->sregs), &frame->sc.sregs)) in setup_frame32()
/linux-5.19.10/fs/fuse/
Dioctl.c102 (ptr_to_compat(dst[i].iov_base) != fiov[i].base || in fuse_copy_ioctl_iovec()
/linux-5.19.10/drivers/usb/core/
Ddevio.c2195 userurb_sigval.sival_int = ptr_to_compat(arg); in proc_submiturb_compat()
2232 if (put_user(ptr_to_compat(addr), (u32 __user *)arg)) in processcompl_compat()
2721 ret = proc_ioctl_compat(ps, ptr_to_compat(p)); in usbdev_do_ioctl()
/linux-5.19.10/arch/powerpc/kernel/
Dsignal_32.c88 #define to_user_ptr(p) ptr_to_compat(p)
/linux-5.19.10/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c94 .bitmap = ptr_to_compat(p64->bitmap), in put_v4l2_window32()
/linux-5.19.10/drivers/comedi/
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-5.19.10/drivers/firewire/
Dcore-cdev.c221 return ptr_to_compat(ptr); in uptr_to_u64()
/linux-5.19.10/drivers/tty/
Dtty_io.c2853 0xfffffff : ptr_to_compat(v.iomem_base); in compat_tty_tiocgserial()