Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/
Dsignal_32.c214 unsafe_put_user(ptr_to_compat(fpstate), &sc->fpstate, Efault); in __unsafe_setup_sigcontext32()
268 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_frame()
328 unsafe_put_user(ptr_to_compat(&frame->info), &frame->pinfo, Efault); in ia32_setup_rt_frame()
329 unsafe_put_user(ptr_to_compat(&frame->uc), &frame->puc, Efault); in ia32_setup_rt_frame()
344 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_rt_frame()
/linux-6.6.21/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-6.6.21/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-6.6.21/kernel/
Dsignal.c3442 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3445 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3449 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3453 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3454 to->si_lower = ptr_to_compat(from->si_lower); in copy_siginfo_to_external32()
3455 to->si_upper = ptr_to_compat(from->si_upper); in copy_siginfo_to_external32()
3458 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3462 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3480 to->si_call_addr = ptr_to_compat(from->si_call_addr); in copy_siginfo_to_external32()
4318 old.ss_sp = ptr_to_compat(uoss.ss_sp); in do_compat_sigaltstack()
[all …]
/linux-6.6.21/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-6.6.21/net/wireless/
Dwext-priv.c238 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_private_call()
Dwext-core.c1109 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_standard_call()
/linux-6.6.21/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-6.6.21/kernel/futex/
Dsyscalls.c349 return put_user(ptr_to_compat(head), head_ptr); in COMPAT_SYSCALL_DEFINE3()
Dcore.c849 compat_uptr_t base = ptr_to_compat(entry); in futex_uaddr()
/linux-6.6.21/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-6.6.21/include/linux/
Dcompat.h549 unsafe_put_user(ptr_to_compat((void __user *)t->sas_ss_sp), \
983 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat() function
/linux-6.6.21/arch/s390/kernel/
Dcompat_signal.c283 if (__put_user(ptr_to_compat(&frame->sregs), &frame->sc.sregs)) in setup_frame32()
/linux-6.6.21/fs/fuse/
Dioctl.c111 (ptr_to_compat(dst[i].iov_base) != fiov[i].base || in fuse_copy_ioctl_iovec()
/linux-6.6.21/drivers/usb/core/
Ddevio.c2204 userurb_sigval.sival_int = ptr_to_compat(arg); in proc_submiturb_compat()
2241 if (put_user(ptr_to_compat(addr), (u32 __user *)arg)) in processcompl_compat()
2730 ret = proc_ioctl_compat(ps, ptr_to_compat(p)); in usbdev_do_ioctl()
/linux-6.6.21/arch/powerpc/kernel/
Dsignal_32.c88 #define to_user_ptr(p) ptr_to_compat(p)
/linux-6.6.21/drivers/comedi/
Dcomedi_fops.c2991 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd()
2993 v32.data = ptr_to_compat(cmd->data); in put_compat_cmd()
/linux-6.6.21/drivers/firewire/
Dcore-cdev.c233 return ptr_to_compat(ptr); in uptr_to_u64()
/linux-6.6.21/drivers/tty/
Dtty_io.c2854 0xfffffff : ptr_to_compat(v.iomem_base); in compat_tty_tiocgserial()