Lines Matching refs:_IOC_SIZE
404 if (_IOC_SIZE(cmd) <= sizeof(sbuf)) {
408 mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL);
416 if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd)))
461 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd)))
2068 return _IOC_SIZE(cmd);
2091 if (_IOC_SIZE(cmd) <= sizeof(sbuf)) {
2095 mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL);
2109 if (n < _IOC_SIZE(cmd))
2110 memset((u8 *)parg + n, 0, _IOC_SIZE(cmd) - n);
2113 memset(parg, 0, _IOC_SIZE(cmd));
2158 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd)))