Lines Matching refs:argp
120 compat_ulong_t __user *argp) in w_long() argument
129 if (!err && put_user(val, argp)) in w_long()
516 static int mt_ioctl_trans(unsigned int fd, unsigned int cmd, void __user *argp) in mt_ioctl_trans() argument
544 upos32 = argp; in mt_ioctl_trans()
548 umget32 = argp; in mt_ioctl_trans()
745 static int rtc_ioctl(unsigned fd, unsigned cmd, void __user *argp) in rtc_ioctl() argument
763 return put_user(val32, (unsigned int __user *)argp); in rtc_ioctl()
765 return sys_ioctl(fd, RTC_IRQP_SET, (unsigned long)argp); in rtc_ioctl()
767 return sys_ioctl(fd, RTC_EPOCH_SET, (unsigned long)argp); in rtc_ioctl()
1431 void __user *argp = compat_ptr(arg); in do_ioctl_trans() local
1435 return ppp_gidle(fd, cmd, argp); in do_ioctl_trans()
1437 return ppp_scompress(fd, cmd, argp); in do_ioctl_trans()
1440 return ppp_sock_fprog_ioctl_trans(fd, cmd, argp); in do_ioctl_trans()
1443 return sg_ioctl_trans(fd, cmd, argp); in do_ioctl_trans()
1445 return sg_grt_trans(fd, cmd, argp); in do_ioctl_trans()
1448 return mt_ioctl_trans(fd, cmd, argp); in do_ioctl_trans()
1453 return serial_struct_ioctl(fd, cmd, argp); in do_ioctl_trans()
1456 return w_long(fd, cmd, argp); in do_ioctl_trans()
1458 return do_i2c_rdwr_ioctl(fd, cmd, argp); in do_ioctl_trans()
1460 return do_i2c_smbus_ioctl(fd, cmd, argp); in do_ioctl_trans()
1466 return rtc_ioctl(fd, cmd, argp); in do_ioctl_trans()
1470 return do_video_get_event(fd, cmd, argp); in do_ioctl_trans()
1472 return do_video_stillpicture(fd, cmd, argp); in do_ioctl_trans()
1474 return do_video_set_spu_palette(fd, cmd, argp); in do_ioctl_trans()