Searched refs:u64_to_uptr (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/s390/char/
H A Dsclp_ctl.c44 static void __user *u64_to_uptr(u64 value) u64_to_uptr() function
68 if (copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), sizeof(*sccb))) { sclp_ctl_ioctl_sccb()
74 if (copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), sccb->length)) { sclp_ctl_ioctl_sccb()
81 if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), sccb, sccb->length)) sclp_ctl_ioctl_sccb()
/linux-4.4.14/drivers/staging/android/ion/
H A Dion_test.c33 #define u64_to_uptr(x) ((void __user *)(unsigned long)(x)) macro
182 u64_to_uptr(data.test_rw.ptr), ion_test_ioctl()
190 u64_to_uptr(data.test_rw.ptr), ion_test_ioctl()
/linux-4.4.14/drivers/firewire/
H A Dcore-cdev.c222 static void __user *u64_to_uptr(u64 value) u64_to_uptr() function
238 static inline void __user *u64_to_uptr(u64 value) u64_to_uptr() function
460 ret = copy_to_user(u64_to_uptr(a->rom), ioctl_get_info()
476 ret = copy_to_user(u64_to_uptr(a->bus_reset), &bus_reset, 36); ioctl_get_info()
613 u64_to_uptr(request->data), request->length)) { init_request()
842 if (copy_from_user(r->data, u64_to_uptr(a->data), a->length)) { ioctl_send_response()
889 if (copy_from_user(r->data, u64_to_uptr(a->data), a->length * 4)) { ioctl_add_descriptor()
1096 p = (struct fw_cdev_iso_packet __user *)u64_to_uptr(a->packets); ioctl_queue_iso()

Completed in 171 milliseconds