compat_ptr         95 arch/arm64/kernel/perf_callchain.c 			compat_ptr(buftail.fp))
compat_ptr         98 arch/arm64/kernel/perf_callchain.c 	return (struct compat_frame_tail __user *)compat_ptr(buftail.fp) - 1;
compat_ptr       1706 arch/arm64/kernel/ptrace.c 	void __user *datap = compat_ptr(data);
compat_ptr        307 arch/arm64/kernel/signal32.c 	frame = compat_ptr((compat_uptr_t)((sp - framesize) & ~7));
compat_ptr        284 arch/powerpc/kernel/ptrace32.c 			compat_ptr(data));
compat_ptr        290 arch/powerpc/kernel/ptrace32.c 			compat_ptr(data));
compat_ptr        100 arch/powerpc/kernel/signal_32.c #define from_user_ptr(p)	compat_ptr(p)
compat_ptr         29 arch/powerpc/oprofile/backtrace.c 	void __user *p = compat_ptr(sp);
compat_ptr        121 arch/s390/hypfs/hypfs_sprp.c 		argp = compat_ptr(arg);
compat_ptr        633 arch/s390/pci/pci_clp.c 	argp = is_compat_task() ? compat_ptr(arg) : (void __user *) arg;
compat_ptr        116 arch/sparc/kernel/process_64.c 	rw = compat_ptr((unsigned int)regs->u_regs[14]);
compat_ptr        587 arch/sparc/kernel/process_64.c 		parent_tid_ptr = compat_ptr(regs->u_regs[UREG_I2]);
compat_ptr        588 arch/sparc/kernel/process_64.c 		child_tid_ptr = compat_ptr(regs->u_regs[UREG_I4]);
compat_ptr        156 arch/sparc/kernel/signal32.c 		err |= restore_fpu_state(regs, compat_ptr(fpu_save));
compat_ptr        159 arch/sparc/kernel/signal32.c 		if (restore_rwin_state(compat_ptr(rwin_save)))
compat_ptr        244 arch/sparc/kernel/signal32.c 		err |= restore_fpu_state(regs, compat_ptr(fpu_save));
compat_ptr        252 arch/sparc/kernel/signal32.c 		if (restore_rwin_state(compat_ptr(rwin_save)))
compat_ptr        167 arch/sparc/kernel/sys_sparc32.c 		new_ka.sa.sa_handler =  compat_ptr(u_handler);
compat_ptr        171 arch/sparc/kernel/sys_sparc32.c 		new_ka.sa.sa_restorer = compat_ptr(u_restorer);
compat_ptr       2443 arch/x86/events/core.c 	fp = compat_ptr(ss_base + regs->bp);
compat_ptr       2461 arch/x86/events/core.c 		fp = compat_ptr(ss_base + frame.next_frame);
compat_ptr        101 arch/x86/ia32/ia32_signal.c 		buf = compat_ptr(tmp);
compat_ptr       1049 arch/x86/kernel/ptrace.c 	void __user *datap = compat_ptr(data);
compat_ptr       1118 arch/x86/kernel/ptrace.c 	void __user *datap = compat_ptr(data);
compat_ptr         34 arch/x86/oprofile/backtrace.c 	fp = (struct stack_frame_ia32 *) compat_ptr(bufhead[0].next_frame);
compat_ptr         17 block/compat_ioctl.c 	return put_user(val, (unsigned short __user *)compat_ptr(arg));
compat_ptr         22 block/compat_ioctl.c 	return put_user(val, (compat_int_t __user *)compat_ptr(arg));
compat_ptr         27 block/compat_ioctl.c 	return put_user(val, (compat_uint_t __user *)compat_ptr(arg));
compat_ptr         32 block/compat_ioctl.c 	return put_user(val, (compat_long_t __user *)compat_ptr(arg));
compat_ptr         37 block/compat_ioctl.c 	return put_user(val, (compat_ulong_t __user *)compat_ptr(arg));
compat_ptr         42 block/compat_ioctl.c 	return put_user(val, (compat_u64 __user *)compat_ptr(arg));
compat_ptr         91 block/compat_ioctl.c 		unsigned int __user *uvp = compat_ptr(arg);
compat_ptr        127 block/compat_ioctl.c 	cdread_audio32 = compat_ptr(arg);
compat_ptr        137 block/compat_ioctl.c 	datap = compat_ptr(data);
compat_ptr        155 block/compat_ioctl.c 	cgc32 = compat_ptr(arg);
compat_ptr        159 block/compat_ioctl.c 	    put_user(compat_ptr(data), &cgc->buffer) ||
compat_ptr        163 block/compat_ioctl.c 	    put_user(compat_ptr(data), &cgc->sense) ||
compat_ptr        171 block/compat_ioctl.c 	    put_user(compat_ptr(data), &cgc->reserved[0]))
compat_ptr        199 block/compat_ioctl.c 	err |= put_user(compat_ptr(udata), &a->data);
compat_ptr        280 block/compat_ioctl.c 		arg = (unsigned long)compat_ptr(arg);
compat_ptr        337 block/compat_ioctl.c 		return compat_hdio_getgeo(disk, bdev, compat_ptr(arg));
compat_ptr        363 block/compat_ioctl.c 				(unsigned long)compat_ptr(arg));
compat_ptr        366 block/compat_ioctl.c 				(unsigned long)compat_ptr(arg));
compat_ptr        368 block/compat_ioctl.c 		return compat_blkpg_ioctl(bdev, mode, cmd, compat_ptr(arg));
compat_ptr        407 block/compat_ioctl.c 		ret = blk_trace_ioctl(bdev, cmd, compat_ptr(arg));
compat_ptr        416 block/compat_ioctl.c 				(unsigned long)compat_ptr(arg));
compat_ptr       3903 drivers/block/floppy.c 				(unsigned long)compat_ptr(param));
compat_ptr       3906 drivers/block/floppy.c 		return compat_set_geometry(bdev, mode, cmd, compat_ptr(param));
compat_ptr       3908 drivers/block/floppy.c 		return compat_get_prm(drive, compat_ptr(param));
compat_ptr       3910 drivers/block/floppy.c 		return compat_setdrvprm(drive, compat_ptr(param));
compat_ptr       3912 drivers/block/floppy.c 		return compat_getdrvprm(drive, compat_ptr(param));
compat_ptr       3914 drivers/block/floppy.c 		return compat_getdrvstat(drive, true, compat_ptr(param));
compat_ptr       3916 drivers/block/floppy.c 		return compat_getdrvstat(drive, false, compat_ptr(param));
compat_ptr       3918 drivers/block/floppy.c 		return compat_getfdcstat(drive, compat_ptr(param));
compat_ptr       3920 drivers/block/floppy.c 		return compat_werrorget(drive, compat_ptr(param));
compat_ptr       1793 drivers/block/loop.c 		arg = (unsigned long) compat_ptr(arg);
compat_ptr       2900 drivers/block/pktcdvd.c 	return pkt_ctl_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        700 drivers/char/hpet.c 		struct compat_hpet_info __user *u = compat_ptr(arg);
compat_ptr        669 drivers/char/ipmi/ipmi_devintf.c 	p64->data = compat_ptr(p32->data);
compat_ptr        675 drivers/char/ipmi/ipmi_devintf.c 	p64->addr = compat_ptr(p32->addr);
compat_ptr        694 drivers/char/ipmi/ipmi_devintf.c 	p64->addr = compat_ptr(p32->addr);
compat_ptr        731 drivers/char/ipmi/ipmi_devintf.c 		if (copy_from_user(&r32, compat_ptr(arg), sizeof(r32)))
compat_ptr        749 drivers/char/ipmi/ipmi_devintf.c 		if (copy_from_user(&sp32, compat_ptr(arg), sizeof(sp32)))
compat_ptr        763 drivers/char/ipmi/ipmi_devintf.c 		if (copy_from_user(&recv32, compat_ptr(arg), sizeof(recv32)))
compat_ptr        770 drivers/char/ipmi/ipmi_devintf.c 				 &recv64, copyout_recv32, compat_ptr(arg));
compat_ptr        776 drivers/char/lp.c 		ret = lp_do_ioctl(minor, cmd, arg, compat_ptr(arg));
compat_ptr        685 drivers/char/ppdev.c 	return pp_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        253 drivers/char/raw.c 	struct raw32_config_request __user *user_req = compat_ptr(arg);
compat_ptr        677 drivers/char/tpm/tpm_vtpm_proxy.c 	return vtpmx_fops_ioctl(f, ioctl, (unsigned long)compat_ptr(arg));
compat_ptr        212 drivers/firewire/core-cdev.c 		return compat_ptr(value);
compat_ptr       1653 drivers/firewire/core-cdev.c 	return dispatch_ioctl(file->private_data, cmd, compat_ptr(arg));
compat_ptr        494 drivers/gpio/gpiolib.c 	return linehandle_ioctl(filep, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        817 drivers/gpio/gpiolib.c 	return lineevent_ioctl(filep, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1125 drivers/gpio/gpiolib.c 	return gpio_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        104 drivers/gpu/drm/drm_ioc32.c 		.name = compat_ptr(v32.name),
compat_ptr        106 drivers/gpu/drm/drm_ioc32.c 		.date = compat_ptr(v32.date),
compat_ptr        108 drivers/gpu/drm/drm_ioc32.c 		.desc = compat_ptr(v32.desc),
compat_ptr        142 drivers/gpu/drm/drm_ioc32.c 		.unique = compat_ptr(uq32.unique),
compat_ptr        224 drivers/gpu/drm/drm_ioc32.c 	if (map.handle != compat_ptr(m32.handle))
compat_ptr        243 drivers/gpu/drm/drm_ioc32.c 	map.handle = compat_ptr(handle);
compat_ptr        376 drivers/gpu/drm/drm_ioc32.c 	drm_buf_desc32_t __user *to = compat_ptr(request->list);
compat_ptr        434 drivers/gpu/drm/drm_ioc32.c 	drm_buf_pub32_t __user *to = compat_ptr(request->list) + idx;
compat_ptr        497 drivers/gpu/drm/drm_ioc32.c 	request.list = compat_ptr(req32.list);
compat_ptr        517 drivers/gpu/drm/drm_ioc32.c 	request.handle = compat_ptr(req32.handle);
compat_ptr        562 drivers/gpu/drm/drm_ioc32.c 	res.contexts = compat_ptr(res32.contexts);
compat_ptr        600 drivers/gpu/drm/drm_ioc32.c 	d.send_indices = compat_ptr(d32.send_indices);
compat_ptr        601 drivers/gpu/drm/drm_ioc32.c 	d.send_sizes = compat_ptr(d32.send_sizes);
compat_ptr        604 drivers/gpu/drm/drm_ioc32.c 	d.request_indices = compat_ptr(d32.request_indices);
compat_ptr        605 drivers/gpu/drm/drm_ioc32.c 	d.request_sizes = compat_ptr(d32.request_sizes);
compat_ptr         99 drivers/gpu/drm/mga/mga_ioc32.c 	getparam.value = compat_ptr(getparam32.value);
compat_ptr        119 drivers/gpu/drm/r128/r128_ioc32.c 	depth.x = compat_ptr(depth32.x);
compat_ptr        120 drivers/gpu/drm/r128/r128_ioc32.c 	depth.y = compat_ptr(depth32.y);
compat_ptr        121 drivers/gpu/drm/r128/r128_ioc32.c 	depth.buffer = compat_ptr(depth32.buffer);
compat_ptr        122 drivers/gpu/drm/r128/r128_ioc32.c 	depth.mask = compat_ptr(depth32.mask);
compat_ptr        140 drivers/gpu/drm/r128/r128_ioc32.c 	stipple.mask = compat_ptr(stipple32.mask);
compat_ptr        160 drivers/gpu/drm/r128/r128_ioc32.c 	getparam.value = compat_ptr(getparam32.value);
compat_ptr        438 drivers/hid/uhid.c 			event->u.create.rd_data = compat_ptr(compat->rd_data);
compat_ptr        847 drivers/hid/usbhid/hiddev.c 	return hiddev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        839 drivers/hwtracing/stm/core.c 	return stm_char_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        541 drivers/i2c/i2c-dev.c 		p = compat_ptr(rdwr_arg.msgs);
compat_ptr        552 drivers/i2c/i2c-dev.c 				.buf = compat_ptr(umsg.buf)
compat_ptr        567 drivers/i2c/i2c-dev.c 					  compat_ptr(data32.data));
compat_ptr        951 drivers/infiniband/core/user_mad.c 		return ib_umad_reg_agent(filp->private_data, compat_ptr(arg), 1);
compat_ptr        953 drivers/infiniband/core/user_mad.c 		return ib_umad_unreg_agent(filp->private_data, compat_ptr(arg));
compat_ptr        957 drivers/infiniband/core/user_mad.c 		return ib_umad_reg_agent2(filp->private_data, compat_ptr(arg));
compat_ptr       1287 drivers/input/evdev.c 	return evdev_ioctl_handler(file, cmd, compat_ptr(arg), 1);
compat_ptr         85 drivers/input/input-compat.c 				compat_ptr(compat_effect->u.periodic.custom_data);
compat_ptr       1071 drivers/input/misc/uinput.c 	return uinput_ioctl_handler(file, cmd, arg, compat_ptr(arg));
compat_ptr        230 drivers/input/serio/serport.c 		void __user *uarg = compat_ptr(arg);
compat_ptr       2476 drivers/macintosh/via-pmu.c 	return pmu_unlocked_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1923 drivers/md/dm-ioctl.c 	return (long)dm_ctl_ioctl(file, command, (ulong) compat_ptr(u));
compat_ptr       7584 drivers/md/md.c 		arg = (unsigned long)compat_ptr(arg);
compat_ptr       2079 drivers/media/dvb-core/dvb_frontend.c 		if (copy_from_user(&prop, compat_ptr(arg), sizeof(prop)))
compat_ptr       2091 drivers/media/dvb-core/dvb_frontend.c 		tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp));
compat_ptr       2110 drivers/media/dvb-core/dvb_frontend.c 		if (copy_from_user(&prop, compat_ptr(arg), sizeof(prop)))
compat_ptr       2122 drivers/media/dvb-core/dvb_frontend.c 		tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp));
compat_ptr       2148 drivers/media/dvb-core/dvb_frontend.c 		if (copy_to_user((void __user *)compat_ptr(tvps->props), tvp,
compat_ptr       2177 drivers/media/dvb-core/dvb_frontend.c 	return dvb_frontend_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        506 drivers/media/mc/mc-device.c 	links.pads = compat_ptr(pads_ptr);
compat_ptr        507 drivers/media/mc/mc-device.c 	links.links = compat_ptr(links_ptr);
compat_ptr       1263 drivers/media/pci/ttpci/av7110_av.c 		ret = play_iframe(av7110, compat_ptr(pic->iFrame),
compat_ptr       1327 drivers/media/usb/uvc/uvc_v4l2.c 	kp->menu_info = count ? compat_ptr(info) : NULL;
compat_ptr       1366 drivers/media/usb/uvc/uvc_v4l2.c 		.data = v.size ? compat_ptr(v.data) : NULL
compat_ptr       1390 drivers/media/usb/uvc/uvc_v4l2.c 	void __user *up = compat_ptr(arg);
compat_ptr        177 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	uclips = compat_ptr(p);
compat_ptr        217 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	uclips = compat_ptr(p);
compat_ptr        514 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		    put_user((unsigned long)compat_ptr(p), &p64->m.userptr))
compat_ptr        635 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		uplane32 = compat_ptr(p);
compat_ptr        669 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 			    put_user((unsigned long)compat_ptr(userptr),
compat_ptr        733 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 		uplane32 = compat_ptr(p);
compat_ptr        787 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    put_user_force(compat_ptr(tmp), &p64->base) ||
compat_ptr        932 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	ucontrols = compat_ptr(p);
compat_ptr        955 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 			s = compat_ptr(p);
compat_ptr        997 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	ucontrols = compat_ptr(p);
compat_ptr       1078 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    put_user_force(compat_ptr(tmp), &p64->edid) ||
compat_ptr       1180 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	void __user *p32 = compat_ptr(arg);
compat_ptr       2742 drivers/message/fusion/mptctl.c 	kfw.bufp = compat_ptr(kfw32.bufp);
compat_ptr        548 drivers/misc/mei/main.c 	return mei_ioctl(file, cmd, (unsigned long)compat_ptr(data));
compat_ptr        204 drivers/misc/phantom.c 	return phantom_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1024 drivers/misc/xilinx_sdfec.c 	return xsdfec_dev_ioctl(file, cmd, (unsigned long)compat_ptr(data));
compat_ptr        821 drivers/mmc/core/block.c 	return mmc_blk_ioctl(bdev, mode, cmd, (unsigned long) compat_ptr(arg));
compat_ptr       2457 drivers/mmc/core/block.c 	return mmc_rpmb_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1021 drivers/mtd/mtdchar.c 	void __user *argp = compat_ptr(arg);
compat_ptr       1036 drivers/mtd/mtdchar.c 				buf.length, compat_ptr(buf.ptr),
compat_ptr       1051 drivers/mtd/mtdchar.c 				buf.length, compat_ptr(buf.ptr),
compat_ptr       1072 drivers/mtd/mtdchar.c 		a.data = compat_ptr(compat_arg.data);
compat_ptr       1085 drivers/mtd/ubi/cdev.c 	unsigned long translated_arg = (unsigned long)compat_ptr(arg);
compat_ptr       1093 drivers/mtd/ubi/cdev.c 	unsigned long translated_arg = (unsigned long)compat_ptr(arg);
compat_ptr       1101 drivers/mtd/ubi/cdev.c 	unsigned long translated_arg = (unsigned long)compat_ptr(arg);
compat_ptr        108 drivers/net/ppp/pppox.c 	return pppox_ioctl(sock, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1130 drivers/net/tap.c 	return tap_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       3383 drivers/net/tun.c 		arg = (unsigned long)compat_ptr(arg);
compat_ptr        585 drivers/s390/block/dasd_ioctl.c 		argp = compat_ptr(arg);
compat_ptr        337 drivers/s390/char/fs3270.c 		argp = compat_ptr(arg);
compat_ptr         47 drivers/s390/char/sclp_ctl.c 		return compat_ptr(value);
compat_ptr         99 drivers/s390/char/sclp_ctl.c 		argp = compat_ptr(arg);
compat_ptr        465 drivers/s390/char/tape_char.c 	argp = (unsigned long) compat_ptr(data);
compat_ptr       1882 drivers/s390/char/tty3270.c 	return kbd_ioctl(tp->kbd, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        208 drivers/s390/char/vmcp.c 		argp = compat_ptr(arg);
compat_ptr        883 drivers/s390/cio/chsc_sch.c 		argp = compat_ptr(arg);
compat_ptr       1505 drivers/s390/crypto/zcrypt_api.c 	struct compat_ica_rsa_modexpo __user *umex32 = compat_ptr(arg);
compat_ptr       1512 drivers/s390/crypto/zcrypt_api.c 	mex64.inputdata = compat_ptr(mex32.inputdata);
compat_ptr       1514 drivers/s390/crypto/zcrypt_api.c 	mex64.outputdata = compat_ptr(mex32.outputdata);
compat_ptr       1516 drivers/s390/crypto/zcrypt_api.c 	mex64.b_key = compat_ptr(mex32.b_key);
compat_ptr       1517 drivers/s390/crypto/zcrypt_api.c 	mex64.n_modulus = compat_ptr(mex32.n_modulus);
compat_ptr       1547 drivers/s390/crypto/zcrypt_api.c 	struct compat_ica_rsa_modexpo_crt __user *ucrt32 = compat_ptr(arg);
compat_ptr       1554 drivers/s390/crypto/zcrypt_api.c 	crt64.inputdata = compat_ptr(crt32.inputdata);
compat_ptr       1556 drivers/s390/crypto/zcrypt_api.c 	crt64.outputdata = compat_ptr(crt32.outputdata);
compat_ptr       1558 drivers/s390/crypto/zcrypt_api.c 	crt64.bp_key = compat_ptr(crt32.bp_key);
compat_ptr       1559 drivers/s390/crypto/zcrypt_api.c 	crt64.bq_key = compat_ptr(crt32.bq_key);
compat_ptr       1560 drivers/s390/crypto/zcrypt_api.c 	crt64.np_prime = compat_ptr(crt32.np_prime);
compat_ptr       1561 drivers/s390/crypto/zcrypt_api.c 	crt64.nq_prime = compat_ptr(crt32.nq_prime);
compat_ptr       1562 drivers/s390/crypto/zcrypt_api.c 	crt64.u_mult_inv = compat_ptr(crt32.u_mult_inv);
compat_ptr       1600 drivers/s390/crypto/zcrypt_api.c 	struct compat_ica_xcRB __user *uxcRB32 = compat_ptr(arg);
compat_ptr       1613 drivers/s390/crypto/zcrypt_api.c 		compat_ptr(xcRB32.request_control_blk_addr);
compat_ptr       1617 drivers/s390/crypto/zcrypt_api.c 		compat_ptr(xcRB32.request_data_address);
compat_ptr       1621 drivers/s390/crypto/zcrypt_api.c 		compat_ptr(xcRB32.reply_control_blk_addr);
compat_ptr       1624 drivers/s390/crypto/zcrypt_api.c 		compat_ptr(xcRB32.reply_data_addr);
compat_ptr       4547 drivers/s390/net/qeth_core_main.c 			tmp = compat_ptr(oat_data.ptr);
compat_ptr        897 drivers/scsi/ch.c 		data = compat_ptr(ces32.ces_data);
compat_ptr       6216 drivers/scsi/hpsa.c 	arg64.buf = compat_ptr(cp);
compat_ptr       6254 drivers/scsi/hpsa.c 	arg64.buf = compat_ptr(cp);
compat_ptr       8412 drivers/scsi/megaraid/megaraid_sas_base.c 		    put_user(compat_ptr(ptr), sense_ioc_ptr))
compat_ptr       8418 drivers/scsi/megaraid/megaraid_sas_base.c 		    put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) ||
compat_ptr       2284 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	karg.reply_frame_buf_ptr = compat_ptr(karg32.reply_frame_buf_ptr);
compat_ptr       2285 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	karg.data_in_buf_ptr = compat_ptr(karg32.data_in_buf_ptr);
compat_ptr       2286 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	karg.data_out_buf_ptr = compat_ptr(karg32.data_out_buf_ptr);
compat_ptr       2287 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	karg.sense_data_ptr = compat_ptr(karg32.sense_data_ptr);
compat_ptr       1700 drivers/scsi/sd.c 	void __user *p = compat_ptr(arg);
compat_ptr        498 drivers/spi/spidev.c 	u_ioc = (struct spi_ioc_transfer __user *) compat_ptr(arg);
compat_ptr        525 drivers/spi/spidev.c 		ioc[n].rx_buf = (uintptr_t) compat_ptr(ioc[n].rx_buf);
compat_ptr        526 drivers/spi/spidev.c 		ioc[n].tx_buf = (uintptr_t) compat_ptr(ioc[n].tx_buf);
compat_ptr        547 drivers/spi/spidev.c 	return spidev_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        101 drivers/staging/comedi/comedi_compat32.c 	chaninfo32 = compat_ptr(arg);
compat_ptr        113 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(compat_ptr(temp.uptr), &chaninfo->maxdata_list);
compat_ptr        115 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(compat_ptr(temp.uptr), &chaninfo->flaglist);
compat_ptr        117 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(compat_ptr(temp.uptr), &chaninfo->rangelist);
compat_ptr        135 drivers/staging/comedi/comedi_compat32.c 	rangeinfo32 = compat_ptr(arg);
compat_ptr        147 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(compat_ptr(temp.uptr), &rangeinfo->range_ptr);
compat_ptr        196 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user((unsigned int __force *)compat_ptr(temp.uptr),
compat_ptr        201 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(compat_ptr(temp.uptr), &cmd->data);
compat_ptr        265 drivers/staging/comedi/comedi_compat32.c 	cmd32 = compat_ptr(arg);
compat_ptr        290 drivers/staging/comedi/comedi_compat32.c 	cmd32 = compat_ptr(arg);
compat_ptr        329 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(compat_ptr(temp.uptr), &insn->data);
compat_ptr        350 drivers/staging/comedi/comedi_compat32.c 	insnlist32 = compat_ptr(arg);
compat_ptr        359 drivers/staging/comedi/comedi_compat32.c 	insn32 = compat_ptr(uptr);
compat_ptr        394 drivers/staging/comedi/comedi_compat32.c 	insn32 = compat_ptr(arg);
compat_ptr        420 drivers/staging/comedi/comedi_compat32.c 		arg = (unsigned long)compat_ptr(arg);
compat_ptr        237 drivers/staging/isdn/gigaset/interface.c 	return if_ioctl(tty, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        935 drivers/staging/pi433/pi433_if.c 	return pi433_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1513 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.params.callback),
compat_ptr       1515 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.params.userdata),
compat_ptr       1578 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.elements), &args->elements))
compat_ptr       1590 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				   compat_ptr(args32.elements),
compat_ptr       1595 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			if (put_user(compat_ptr(tempelement32[count].data),
compat_ptr       1641 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.data), &args->data) ||
compat_ptr       1643 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.userdata), &args->userdata) ||
compat_ptr       1718 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.buf), &args->buf) ||
compat_ptr       1721 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.msgbufs), &args->msgbufs))
compat_ptr       1749 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			   compat_ptr(args32.msgbufs) +
compat_ptr       1755 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	msgbuf = compat_ptr(msgbuf32);
compat_ptr       1804 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (copy_to_user(compat_ptr(args32.buf),
compat_ptr       1856 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.buf), &args->buf))
compat_ptr       1889 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(compat_ptr(args32.pconfig), &args->pconfig))
compat_ptr        500 drivers/tty/pty.c 	return pty_bsd_ioctl(tty, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        693 drivers/tty/pty.c 		cmd == TIOCSIG ? arg : (unsigned long)compat_ptr(arg));
compat_ptr       1196 drivers/tty/synclink_gt.c 		rc = set_params32(info, compat_ptr(arg));
compat_ptr       1200 drivers/tty/synclink_gt.c 		rc = get_params32(info, compat_ptr(arg));
compat_ptr       1214 drivers/tty/synclink_gt.c 		rc = ioctl(tty, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       2713 drivers/tty/tty_io.c 	v.iomem_base = compat_ptr(v32.iomem_base);
compat_ptr       2815 drivers/tty/tty_io.c 		return tty_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       2839 drivers/tty/tty_io.c 		return compat_tty_tiocsserial(tty, compat_ptr(arg));
compat_ptr       2841 drivers/tty/tty_io.c 		return compat_tty_tiocgserial(tty, compat_ptr(arg));
compat_ptr       2856 drivers/tty/tty_io.c 				(unsigned long)compat_ptr(cmd), arg);
compat_ptr       1111 drivers/tty/vt/vt_ioctl.c 		op->data = compat_ptr(cfdarg.chardata);
compat_ptr       1119 drivers/tty/vt/vt_ioctl.c 		op->data = compat_ptr(cfdarg.chardata);
compat_ptr       1150 drivers/tty/vt/vt_ioctl.c 	op->data = compat_ptr(((struct compat_console_font_op *)op)->data);
compat_ptr       1174 drivers/tty/vt/vt_ioctl.c 	tmp_entries = compat_ptr(tmp.entries);
compat_ptr       1193 drivers/tty/vt/vt_ioctl.c 	void __user *up = compat_ptr(arg);
compat_ptr       2030 drivers/usb/core/devio.c 	    put_user(compat_ptr(udata), &p->data))
compat_ptr       2047 drivers/usb/core/devio.c 	    get_user(addr, &p32->data) || put_user(compat_ptr(addr), &p->data))
compat_ptr       2073 drivers/usb/core/devio.c 	kurb->buffer = compat_ptr(urb32.buffer);
compat_ptr       2080 drivers/usb/core/devio.c 	kurb->usercontext = compat_ptr(urb32.usercontext);
compat_ptr       2298 drivers/usb/core/devio.c 	if (copy_from_user(&ioc32, compat_ptr(arg), sizeof(ioc32)))
compat_ptr       2302 drivers/usb/core/devio.c 	ctrl.data = compat_ptr(ioc32.data);
compat_ptr       2716 drivers/usb/core/devio.c 	ret = usbdev_do_ioctl(file, cmd, compat_ptr(arg));
compat_ptr       1151 drivers/usb/mon/mon_bin.c 		ret = mon_bin_get_event(file, rp, compat_ptr(getb.hdr32),
compat_ptr       1153 drivers/usb/mon/mon_bin.c 		    compat_ptr(getb.data32), getb.alloc32);
compat_ptr       1164 drivers/usb/mon/mon_bin.c 		uptr = (struct mon_bin_mfetch32 __user *) compat_ptr(arg);
compat_ptr       1176 drivers/usb/mon/mon_bin.c 		ret = mon_bin_fetch(file, rp, compat_ptr(mfetch.offvec32),
compat_ptr       1186 drivers/usb/mon/mon_bin.c 		return mon_bin_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
compat_ptr       1191 drivers/vfio/vfio.c 	arg = (unsigned long)compat_ptr(arg);
compat_ptr       1563 drivers/vfio/vfio.c 	arg = (unsigned long)compat_ptr(arg);
compat_ptr       1694 drivers/vfio/vfio.c 	arg = (unsigned long)compat_ptr(arg);
compat_ptr       1750 drivers/vhost/net.c 	return vhost_net_ioctl(f, ioctl, (unsigned long)compat_ptr(arg));
compat_ptr       1734 drivers/vhost/scsi.c 	return vhost_scsi_ioctl(f, ioctl, (unsigned long)compat_ptr(arg));
compat_ptr        311 drivers/vhost/test.c 	return vhost_test_ioctl(f, ioctl, (unsigned long)compat_ptr(arg));
compat_ptr        775 drivers/vhost/vsock.c 	return vhost_vsock_dev_ioctl(f, ioctl, (unsigned long)compat_ptr(arg));
compat_ptr       1219 drivers/video/fbdev/core/fbmem.c 	cmap32 = compat_ptr(arg);
compat_ptr       1225 drivers/video/fbdev/core/fbmem.c 	    put_user(compat_ptr(data), &cmap->red) ||
compat_ptr       1227 drivers/video/fbdev/core/fbmem.c 	    put_user(compat_ptr(data), &cmap->green) ||
compat_ptr       1229 drivers/video/fbdev/core/fbmem.c 	    put_user(compat_ptr(data), &cmap->blue) ||
compat_ptr       1231 drivers/video/fbdev/core/fbmem.c 	    put_user(compat_ptr(data), &cmap->transp))
compat_ptr       1288 drivers/video/fbdev/core/fbmem.c 	return do_fscreeninfo_to_user(&fix, compat_ptr(arg));
compat_ptr       1307 drivers/video/fbdev/core/fbmem.c 		arg = (unsigned long) compat_ptr(arg);
compat_ptr        204 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->red);
compat_ptr        206 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->green);
compat_ptr        208 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->blue);
compat_ptr        229 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->cmap.red);
compat_ptr        231 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->cmap.green);
compat_ptr        233 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->cmap.blue);
compat_ptr        235 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->mask);
compat_ptr        237 drivers/video/fbdev/sbuslib.c 	ret |= put_user(compat_ptr(addr), &p->image);
compat_ptr        479 drivers/watchdog/cpwd.c 	return cpwd_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1987 fs/aio.c       		ret = io_submit_one(ctx, compat_ptr(user_iocb), true);
compat_ptr       2231 fs/aio.c       	ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize);
compat_ptr       2266 fs/aio.c       	ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize);
compat_ptr        696 fs/autofs/dev-ioctl.c 	return autofs_dev_ioctl(file, command, (unsigned long) compat_ptr(u));
compat_ptr        940 fs/autofs/root.c 					      (unsigned long) compat_ptr(arg));
compat_ptr       5427 fs/btrfs/ioctl.c 		arg->clone_sources = compat_ptr(args32.clone_sources);
compat_ptr       5615 fs/btrfs/ioctl.c 	return btrfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
compat_ptr         30 fs/compat.c    	dst->data = compat_ptr(src->data);
compat_ptr         64 fs/compat.c    		real->auth_flavours = compat_ptr(raw->auth_flavours);
compat_ptr         67 fs/compat.c    		real->host_addr = compat_ptr(raw->host_addr);
compat_ptr        136 fs/compat_ioctl.c 		    put_user(compat_ptr(base), &iov[i].iov_base) ||
compat_ptr        184 fs/compat_ioctl.c 	dxferp = compat_ptr(data);
compat_ptr        199 fs/compat_ioctl.c 		cmdp = compat_ptr(data);
compat_ptr        203 fs/compat_ioctl.c 		sbp = compat_ptr(data);
compat_ptr        216 fs/compat_ioctl.c 	if (put_user(compat_ptr(data), &sgio->usr_ptr))
compat_ptr        294 fs/compat_ioctl.c 	fptr64 = compat_ptr(fptr32);
compat_ptr        354 fs/compat_ioctl.c 	datap = compat_ptr(data);
compat_ptr        930 fs/compat_ioctl.c 	void __user *argp = compat_ptr(arg);
compat_ptr       1025 fs/compat_ioctl.c 		error = compat_ioctl_preallocate(f.file, compat_ptr(arg));
compat_ptr       1030 fs/compat_ioctl.c 		error = ioctl_preallocate(f.file, compat_ptr(arg));
compat_ptr       1070 fs/compat_ioctl.c 	arg = (unsigned long)compat_ptr(arg);
compat_ptr        412 fs/exec.c      		return compat_ptr(compat);
compat_ptr        178 fs/ext2/ioctl.c 	return ext2_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
compat_ptr       1349 fs/ext4/ioctl.c 		uinput = compat_ptr(arg);
compat_ptr       1383 fs/ext4/ioctl.c 	return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
compat_ptr       3454 fs/f2fs/file.c 	return f2fs_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
compat_ptr        831 fs/fat/dir.c   	struct compat_dirent __user *d1 = compat_ptr(arg);
compat_ptr        180 fs/fat/file.c  	return fat_generic_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        631 fs/fcntl.c     		err = get_compat_flock(&flock, compat_ptr(arg));
compat_ptr        639 fs/fcntl.c     			err = put_compat_flock(&flock, compat_ptr(arg));
compat_ptr        643 fs/fcntl.c     		err = get_compat_flock64(&flock, compat_ptr(arg));
compat_ptr        648 fs/fcntl.c     			err = put_compat_flock64(&flock, compat_ptr(arg));
compat_ptr        652 fs/fcntl.c     		err = get_compat_flock(&flock, compat_ptr(arg));
compat_ptr        661 fs/fcntl.c     		err = get_compat_flock64(&flock, compat_ptr(arg));
compat_ptr       2599 fs/fuse/file.c 			dst[i].iov_base = compat_ptr(ciov[i].iov_base);
compat_ptr        377 fs/gfs2/file.c 	return gfs2_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        753 fs/ioctl.c     	return file->f_op->unlocked_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1361 fs/nilfs2/ioctl.c 	return nilfs_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        776 fs/ocfs2/ioctl.c 		bp = (u64 __user *)(unsigned long)compat_ptr(info->oi_requests);
compat_ptr        981 fs/ocfs2/ioctl.c 		return ocfs2_reflink_ioctl(inode, compat_ptr(args.old_path),
compat_ptr        982 fs/ocfs2/ioctl.c 					   compat_ptr(args.new_path), preserve);
compat_ptr        742 fs/orangefs/devorangefs-req.c 		desc.ptr = compat_ptr(d32.ptr);
compat_ptr        895 fs/read_write.c 		    !access_ok(compat_ptr(buf), len)) {
compat_ptr        902 fs/read_write.c 		iov->iov_base = compat_ptr(buf);
compat_ptr        157 fs/reiserfs/ioctl.c 	return reiserfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg));
compat_ptr       1289 fs/select.c    	return do_compat_select(a.n, compat_ptr(a.inp), compat_ptr(a.outp),
compat_ptr       1290 fs/select.c    				compat_ptr(a.exp), compat_ptr(a.tvp));
compat_ptr       1344 fs/select.c    	return do_compat_pselect(n, inp, outp, exp, tsp, compat_ptr(up),
compat_ptr       1366 fs/select.c    	return do_compat_pselect(n, inp, outp, exp, tsp, compat_ptr(up),
compat_ptr        230 fs/ubifs/ioctl.c 	return ubifs_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        260 fs/xfs/xfs_ioctl32.c 	bulkreq.lastip = compat_ptr(addr);
compat_ptr        264 fs/xfs/xfs_ioctl32.c 	bulkreq.ubuffer = compat_ptr(addr);
compat_ptr        267 fs/xfs/xfs_ioctl32.c 	bulkreq.ocount = compat_ptr(addr);
compat_ptr        333 fs/xfs/xfs_ioctl32.c 	hreq->path = compat_ptr(hreq32.path);
compat_ptr        335 fs/xfs/xfs_ioctl32.c 	hreq->ihandle = compat_ptr(hreq32.ihandle);
compat_ptr        337 fs/xfs/xfs_ioctl32.c 	hreq->ohandle = compat_ptr(hreq32.ohandle);
compat_ptr        338 fs/xfs/xfs_ioctl32.c 	hreq->ohandlen = compat_ptr(hreq32.ohandlen);
compat_ptr        349 fs/xfs/xfs_ioctl32.c 			compat_ptr(hreq->ihandle), hreq->ihandlen);
compat_ptr        399 fs/xfs/xfs_ioctl32.c 	if (copy_to_user(compat_ptr(al_hreq.buffer), kbuf, al_hreq.buflen))
compat_ptr        440 fs/xfs/xfs_ioctl32.c 	ops = memdup_user(compat_ptr(am_hreq.ops), size);
compat_ptr        456 fs/xfs/xfs_ioctl32.c 				compat_ptr(ops[i].am_attrname),
compat_ptr        467 fs/xfs/xfs_ioctl32.c 					compat_ptr(ops[i].am_attrvalue),
compat_ptr        476 fs/xfs/xfs_ioctl32.c 					compat_ptr(ops[i].am_attrvalue),
compat_ptr        494 fs/xfs/xfs_ioctl32.c 	if (copy_to_user(compat_ptr(am_hreq.ops), ops, size))
compat_ptr        530 fs/xfs/xfs_ioctl32.c 	if (copy_from_user(&fsd, compat_ptr(dmhreq.data), sizeof(fsd))) {
compat_ptr        552 fs/xfs/xfs_ioctl32.c 	void			__user *arg = compat_ptr(p);
compat_ptr       1499 ipc/mqueue.c   			n.sigev_value.sival_ptr = compat_ptr(n.sigev_value.sival_int);
compat_ptr        956 ipc/msg.c      	struct compat_msgbuf __user *up = compat_ptr(msgp);
compat_ptr       1255 ipc/msg.c      	return do_msgrcv(msqid, compat_ptr(msgp), (ssize_t)msgsz, (long)msgtyp,
compat_ptr       1758 ipc/sem.c      	void __user *p = compat_ptr(arg);
compat_ptr       1614 ipc/shm.c      	err = do_shmat(shmid, compat_ptr(shmaddr), shmflg, &ret, COMPAT_SHMLBA);
compat_ptr        142 ipc/syscall.c  		return ksys_semtimedop(first, compat_ptr(ptr), second, NULL);
compat_ptr        146 ipc/syscall.c  		return compat_ksys_semtimedop(first, compat_ptr(ptr), second,
compat_ptr        147 ipc/syscall.c  						compat_ptr(fifth));
compat_ptr        153 ipc/syscall.c  		if (get_user(pad, (u32 __user *) compat_ptr(ptr)))
compat_ptr        161 ipc/syscall.c  		void __user *uptr = compat_ptr(ptr);
compat_ptr        180 ipc/syscall.c  		return compat_ksys_old_msgctl(first, second, compat_ptr(ptr));
compat_ptr        188 ipc/syscall.c  		err = do_shmat(first, compat_ptr(ptr), second, &raddr,
compat_ptr        192 ipc/syscall.c  		return put_user(raddr, (compat_ulong_t __user *)compat_ptr(third));
compat_ptr        195 ipc/syscall.c  		return ksys_shmdt(compat_ptr(ptr));
compat_ptr        199 ipc/syscall.c  		return compat_ksys_old_shmctl(first, second, compat_ptr(ptr));
compat_ptr       3973 kernel/futex.c 	*entry = compat_ptr((*uentry) & ~1);
compat_ptr       3983 kernel/futex.c 	void __user *uaddr = compat_ptr(base + futex_offset);
compat_ptr        290 kernel/kexec.c 		out.buf   = compat_ptr(in.buf);
compat_ptr        413 kernel/power/user.c 		compat_loff_t __user *uoffset = compat_ptr(arg);
compat_ptr        429 kernel/power/user.c 				      (unsigned long) compat_ptr(arg));
compat_ptr        433 kernel/power/user.c 			compat_ptr(arg);
compat_ptr        755 kernel/ptrace.c 			compat_siginfo_t __user *uinfo = compat_ptr(data);
compat_ptr       1314 kernel/ptrace.c 	compat_ulong_t __user *datap = compat_ptr(data);
compat_ptr       1372 kernel/ptrace.c 		kiov.iov_base = compat_ptr(ptr);
compat_ptr        488 kernel/seccomp.c 		fprog.filter = compat_ptr(fprog32.filter);
compat_ptr       3355 kernel/signal.c 		to->si_addr = compat_ptr(from->si_addr);
compat_ptr       3361 kernel/signal.c 		to->si_addr = compat_ptr(from->si_addr);
compat_ptr       3368 kernel/signal.c 		to->si_addr = compat_ptr(from->si_addr);
compat_ptr       3372 kernel/signal.c 		to->si_lower = compat_ptr(from->si_lower);
compat_ptr       3373 kernel/signal.c 		to->si_upper = compat_ptr(from->si_upper);
compat_ptr       3376 kernel/signal.c 		to->si_addr = compat_ptr(from->si_addr);
compat_ptr       3403 kernel/signal.c 		to->si_call_addr = compat_ptr(from->si_call_addr);
compat_ptr       4095 kernel/signal.c 		uss.ss_sp = compat_ptr(uss32.ss_sp);
compat_ptr       4280 kernel/signal.c 		new_ka.sa.sa_handler = compat_ptr(handler);
compat_ptr       4283 kernel/signal.c 		new_ka.sa.sa_restorer = compat_ptr(restorer);
compat_ptr       4365 kernel/signal.c 		new_ka.sa.sa_handler = compat_ptr(handler);
compat_ptr       4366 kernel/signal.c 		new_ka.sa.sa_restorer = compat_ptr(restorer);
compat_ptr       1457 kernel/sysctl_binary.c 	compat_oldlenp = compat_ptr(tmp.oldlenp);
compat_ptr       1461 kernel/sysctl_binary.c 	result = do_sysctl(compat_ptr(tmp.name), tmp.nlen,
compat_ptr       1462 kernel/sysctl_binary.c 			   compat_ptr(tmp.oldval), oldlen,
compat_ptr       1463 kernel/sysctl_binary.c 			   compat_ptr(tmp.newval), tmp.newlen);
compat_ptr       1871 mm/migrate.c   			put_user(compat_ptr(p), pages + i))
compat_ptr       1844 net/appletalk/ddp.c 		return atalk_ioctl(sock, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        240 net/atm/ioctl.c 	iobuf32 = compat_ptr(arg);
compat_ptr        245 net/atm/ioctl.c 	datap = compat_ptr(data);
compat_ptr        271 net/atm/ioctl.c 	sioc32 = compat_ptr(arg);
compat_ptr        276 net/atm/ioctl.c 	datap = compat_ptr(data);
compat_ptr        215 net/atm/resources.c 			buf = compat_ptr(cbuf);
compat_ptr        260 net/atm/resources.c 		buf = compat_ptr(carg);
compat_ptr        144 net/bluetooth/bnep/sock.c 	void __user *argp = compat_ptr(arg);
compat_ptr        154 net/bluetooth/bnep/sock.c 		cl.ci = compat_ptr(uci);
compat_ptr        147 net/bluetooth/cmtp/sock.c 	void __user *argp = compat_ptr(arg);
compat_ptr        157 net/bluetooth/cmtp/sock.c 		cl.ci = compat_ptr(uci);
compat_ptr        149 net/bluetooth/hidp/sock.c 	void __user *argp = compat_ptr(arg);
compat_ptr        160 net/bluetooth/hidp/sock.c 		cl.ci = compat_ptr(uci);
compat_ptr        187 net/bluetooth/hidp/sock.c 		ca.rd_data = compat_ptr(ca32.rd_data);
compat_ptr       1846 net/bridge/netfilter/ebtables.c 	ret = copy_counters_to_user(t, oldcounters, compat_ptr(tmp.counters),
compat_ptr       1851 net/bridge/netfilter/ebtables.c 	pos = compat_ptr(tmp.entries);
compat_ptr       2194 net/bridge/netfilter/ebtables.c 		repl->hook_entry[i] = compat_ptr(tmp.hook_entry[i]);
compat_ptr       2197 net/bridge/netfilter/ebtables.c 	repl->counters = compat_ptr(tmp.counters);
compat_ptr       2198 net/bridge/netfilter/ebtables.c 	repl->entries = compat_ptr(tmp.entries);
compat_ptr       2317 net/bridge/netfilter/ebtables.c 	return do_update_counters(net, hlp.name, compat_ptr(hlp.counters),
compat_ptr         59 net/compat.c   	kmsg->msg_control = compat_ptr(msg.msg_control);
compat_ptr         63 net/compat.c   		*save_addr = compat_ptr(msg.msg_name);
compat_ptr         67 net/compat.c   			err = move_addr_to_kernel(compat_ptr(msg.msg_name),
compat_ptr         84 net/compat.c   				   compat_ptr(msg.msg_iov), msg.msg_iovlen,
compat_ptr        332 net/compat.c   	f.filter = compat_ptr(f32.filter);
compat_ptr        747 net/compat.c   		ret = __sys_bind(a0, compat_ptr(a1), a[2]);
compat_ptr        750 net/compat.c   		ret = __sys_connect(a0, compat_ptr(a1), a[2]);
compat_ptr        756 net/compat.c   		ret = __sys_accept4(a0, compat_ptr(a1), compat_ptr(a[2]), 0);
compat_ptr        759 net/compat.c   		ret = __sys_getsockname(a0, compat_ptr(a1), compat_ptr(a[2]));
compat_ptr        762 net/compat.c   		ret = __sys_getpeername(a0, compat_ptr(a1), compat_ptr(a[2]));
compat_ptr        765 net/compat.c   		ret = __sys_socketpair(a0, a1, a[2], compat_ptr(a[3]));
compat_ptr        768 net/compat.c   		ret = __sys_sendto(a0, compat_ptr(a1), a[2], a[3], NULL, 0);
compat_ptr        771 net/compat.c   		ret = __sys_sendto(a0, compat_ptr(a1), a[2], a[3],
compat_ptr        772 net/compat.c   				   compat_ptr(a[4]), a[5]);
compat_ptr        775 net/compat.c   		ret = __compat_sys_recvfrom(a0, compat_ptr(a1), a[2], a[3],
compat_ptr        779 net/compat.c   		ret = __compat_sys_recvfrom(a0, compat_ptr(a1), a[2], a[3],
compat_ptr        780 net/compat.c   					    compat_ptr(a[4]),
compat_ptr        781 net/compat.c   					    compat_ptr(a[5]));
compat_ptr        788 net/compat.c   					      compat_ptr(a[3]), a[4]);
compat_ptr        792 net/compat.c   					      compat_ptr(a[3]),
compat_ptr        793 net/compat.c   					      compat_ptr(a[4]));
compat_ptr        796 net/compat.c   		ret = __compat_sys_sendmsg(a0, compat_ptr(a1), a[2]);
compat_ptr        799 net/compat.c   		ret = __compat_sys_sendmmsg(a0, compat_ptr(a1), a[2], a[3]);
compat_ptr        802 net/compat.c   		ret = __compat_sys_recvmsg(a0, compat_ptr(a1), a[2]);
compat_ptr        805 net/compat.c   		ret = __sys_recvmmsg(a0, compat_ptr(a1), a[2],
compat_ptr        807 net/compat.c   				     compat_ptr(a[4]));
compat_ptr        810 net/compat.c   		ret = __sys_accept4(a0, compat_ptr(a1), compat_ptr(a[2]), a[3]);
compat_ptr       1284 net/ipv4/netfilter/arp_tables.c 			   tmp.num_counters, compat_ptr(tmp.counters));
compat_ptr       1524 net/ipv4/netfilter/ip_tables.c 			   tmp.num_counters, compat_ptr(tmp.counters));
compat_ptr        938 net/ipv4/raw.c 		return ipmr_compat_ioctl(sk, cmd, compat_ptr(arg));
compat_ptr       1533 net/ipv6/netfilter/ip6_tables.c 			   tmp.num_counters, compat_ptr(tmp.counters));
compat_ptr       1234 net/ipv6/raw.c 		return ip6mr_compat_ioctl(sk, cmd, compat_ptr(arg));
compat_ptr       1412 net/sctp/socket.c 		param.addrs = compat_ptr(param32.addrs);
compat_ptr       3075 net/socket.c   	ifc.ifc_req = compat_ptr(ifc32.ifcbuf);
compat_ptr       3105 net/socket.c   	compat_rxnfc = compat_ptr(data);
compat_ptr       3226 net/socket.c   	ifr.ifr_settings.ifs_ifsu.raw_hdlc = compat_ptr(uptr32);
compat_ptr       3248 net/socket.c   	ifreq.ifr_data = compat_ptr(data32);
compat_ptr       3401 net/socket.c   			ret |= copy_from_user(devname, compat_ptr(rtdev), 15);
compat_ptr       3441 net/socket.c   	void __user *argp = compat_ptr(arg);
compat_ptr       2600 net/unix/af_unix.c 	return unix_ioctl(sock, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1907 net/vmw_vsock/af_vsock.c 	return vsock_dev_do_ioctl(filp, cmd, compat_ptr(arg));
compat_ptr       1077 net/wireless/wext-core.c 	iwp.pointer = compat_ptr(iwp_compat->pointer);
compat_ptr        231 net/wireless/wext-priv.c 		iwp.pointer = compat_ptr(iwp_compat->pointer);
compat_ptr       1670 net/x25/af_x25.c 	void __user *argp = compat_ptr(arg);
compat_ptr         63 security/keys/compat.c 		return keyctl_join_session_keyring(compat_ptr(arg2));
compat_ptr         66 security/keys/compat.c 		return keyctl_update_key(arg2, compat_ptr(arg3), arg4);
compat_ptr         72 security/keys/compat.c 		return keyctl_describe_key(arg2, compat_ptr(arg3), arg4);
compat_ptr         84 security/keys/compat.c 		return keyctl_keyring_search(arg2, compat_ptr(arg3),
compat_ptr         85 security/keys/compat.c 					     compat_ptr(arg4), arg5);
compat_ptr         88 security/keys/compat.c 		return keyctl_read_key(arg2, compat_ptr(arg3), arg4);
compat_ptr         97 security/keys/compat.c 		return keyctl_instantiate_key(arg2, compat_ptr(arg3), arg4,
compat_ptr        113 security/keys/compat.c 		return keyctl_get_security(arg2, compat_ptr(arg3), arg4);
compat_ptr        123 security/keys/compat.c 			arg2, compat_ptr(arg3), arg4, arg5);
compat_ptr        132 security/keys/compat.c 		return compat_keyctl_dh_compute(compat_ptr(arg2),
compat_ptr        133 security/keys/compat.c 						compat_ptr(arg3),
compat_ptr        134 security/keys/compat.c 						arg4, compat_ptr(arg5));
compat_ptr        137 security/keys/compat.c 		return keyctl_restrict_keyring(arg2, compat_ptr(arg3),
compat_ptr        138 security/keys/compat.c 					       compat_ptr(arg4));
compat_ptr        144 security/keys/compat.c 					 compat_ptr(arg4),
compat_ptr        145 security/keys/compat.c 					 compat_ptr(arg5));
compat_ptr        151 security/keys/compat.c 					 compat_ptr(arg2), compat_ptr(arg3),
compat_ptr        152 security/keys/compat.c 					 compat_ptr(arg4), compat_ptr(arg5));
compat_ptr        155 security/keys/compat.c 		return keyctl_pkey_verify(compat_ptr(arg2), compat_ptr(arg3),
compat_ptr        156 security/keys/compat.c 					  compat_ptr(arg4), compat_ptr(arg5));
compat_ptr        162 security/keys/compat.c 		return keyctl_capabilities(compat_ptr(arg2), arg3);
compat_ptr         29 security/keys/compat_dh.c 	kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname);
compat_ptr         30 security/keys/compat_dh.c 	kdfcopy.otherinfo = compat_ptr(compat_kdfcopy.otherinfo);
compat_ptr        968 sound/core/compress_offload.c 	return snd_compr_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr         36 sound/core/control_compat.c 	    put_user(compat_ptr(ptr), &data->pids))
compat_ptr        408 sound/core/control_compat.c 			(uintptr_t)compat_ptr(data->value.enumerated.names_ptr);
compat_ptr        436 sound/core/control_compat.c 	void __user *argp = compat_ptr(arg);
compat_ptr         32 sound/core/hwdep_compat.c 	    put_user(compat_ptr(ptr), &dst->image))
compat_ptr         52 sound/core/hwdep_compat.c 	void __user *argp = compat_ptr(arg);
compat_ptr        391 sound/core/oss/mixer_oss.c 				    (unsigned long)compat_ptr(arg));
compat_ptr       2720 sound/core/oss/pcm_oss.c 	return snd_pcm_oss_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr        368 sound/core/pcm_compat.c 		err = snd_pcm_lib_write(substream, compat_ptr(buf), frames);
compat_ptr        370 sound/core/pcm_compat.c 		err = snd_pcm_lib_read(substream, compat_ptr(buf), frames);
compat_ptr        414 sound/core/pcm_compat.c 	bufptr = compat_ptr(buf);
compat_ptr        424 sound/core/pcm_compat.c 		bufs[i] = compat_ptr(ptr);
compat_ptr        642 sound/core/pcm_compat.c 	void __user *argp = compat_ptr(arg);
compat_ptr        145 sound/core/rawmidi_compat.c 	void __user *argp = compat_ptr(arg);
compat_ptr        181 sound/core/seq/oss/seq_oss.c 	return odev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       1086 sound/core/seq/seq_clientmgr.c 				void *ptr = (void __force *)compat_ptr(event.data.raw32.d[1]);
compat_ptr         77 sound/core/seq/seq_compat.c 	void __user *argp = compat_ptr(arg);
compat_ptr        125 sound/core/timer_compat.c 	void __user *argp = compat_ptr(arg);
compat_ptr        168 sound/firewire/bebob/bebob_hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        161 sound/firewire/dice/dice-hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        169 sound/firewire/digi00x/digi00x-hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        161 sound/firewire/fireface/ff-hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        299 sound/firewire/fireworks/fireworks_hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        168 sound/firewire/motu/motu-hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        161 sound/firewire/oxfw/oxfw-hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr        244 sound/firewire/tascam/tascam-hwdep.c 			   (unsigned long)compat_ptr(arg));
compat_ptr         81 sound/pci/hda/hda_hwdep.c 	return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg));
compat_ptr       3086 virt/kvm/kvm_main.c 	void __user *argp = compat_ptr(arg);
compat_ptr       3566 virt/kvm/kvm_main.c 		log.dirty_bitmap = compat_ptr(compat_log.dirty_bitmap);