Lines Matching refs:cmd
176 unsigned int cmd, unsigned long arg) in dvb_generic_ioctl() argument
186 return dvb_usercopy(file, cmd, arg, dvbdev->kernel_ioctl); in dvb_generic_ioctl()
961 unsigned int cmd, unsigned long arg, in dvb_usercopy() argument
963 unsigned int cmd, void *arg)) in dvb_usercopy()
971 switch (_IOC_DIR(cmd)) { in dvb_usercopy()
982 if (_IOC_SIZE(cmd) <= sizeof(sbuf)) { in dvb_usercopy()
986 mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL); in dvb_usercopy()
993 if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) in dvb_usercopy()
999 err = func(file, cmd, parg); in dvb_usercopy()
1007 switch (_IOC_DIR(cmd)) { in dvb_usercopy()
1010 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) in dvb_usercopy()