Lines Matching defs:data_size
1244 mptctl_getiocinfo (unsigned long arg, unsigned int data_size)
1261 if (data_size == sizeof(struct mpt_ioctl_iocinfo_rev0))
1263 else if (data_size == sizeof(struct mpt_ioctl_iocinfo_rev1))
1265 else if (data_size == sizeof(struct mpt_ioctl_iocinfo))
1267 else if (data_size == (sizeof(struct mpt_ioctl_iocinfo_rev0)+12))
1272 karg = kmalloc(data_size, GFP_KERNEL);
1279 if (copy_from_user(karg, uarg, data_size)) {
1296 if (karg->hdr.maxDataSize != data_size) {
1378 if (copy_to_user((char __user *)arg, karg, data_size)) {
2430 mptctl_hp_hostinfo(unsigned long arg, unsigned int data_size)
2450 if (data_size == sizeof(hp_host_info_t))
2452 else if (data_size == sizeof(hp_host_info_rev0_t))