• Home
  • Raw
  • Download

Lines Matching refs:minsz

780 	unsigned long minsz, ddwsz;  in tce_iommu_ioctl()  local
822 minsz = offsetofend(struct vfio_iommu_spapr_tce_info, in tce_iommu_ioctl()
825 if (copy_from_user(&info, (void __user *)arg, minsz)) in tce_iommu_ioctl()
828 if (info.argsz < minsz) in tce_iommu_ioctl()
848 minsz = ddwsz; in tce_iommu_ioctl()
850 if (copy_to_user((void __user *)arg, &info, minsz)) in tce_iommu_ioctl()
864 minsz = offsetofend(struct vfio_iommu_type1_dma_map, size); in tce_iommu_ioctl()
866 if (copy_from_user(&param, (void __user *)arg, minsz)) in tce_iommu_ioctl()
869 if (param.argsz < minsz) in tce_iommu_ioctl()
930 minsz = offsetofend(struct vfio_iommu_type1_dma_unmap, in tce_iommu_ioctl()
933 if (copy_from_user(&param, (void __user *)arg, minsz)) in tce_iommu_ioctl()
936 if (param.argsz < minsz) in tce_iommu_ioctl()
972 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl()
979 if (copy_from_user(&param, (void __user *)arg, minsz)) in tce_iommu_ioctl()
982 if (param.argsz < minsz) in tce_iommu_ioctl()
1005 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl()
1008 if (copy_from_user(&param, (void __user *)arg, minsz)) in tce_iommu_ioctl()
1011 if (param.argsz < minsz) in tce_iommu_ioctl()
1070 minsz = offsetofend(struct vfio_iommu_spapr_tce_create, in tce_iommu_ioctl()
1073 if (copy_from_user(&create, (void __user *)arg, minsz)) in tce_iommu_ioctl()
1076 if (create.argsz < minsz) in tce_iommu_ioctl()
1093 if (!ret && copy_to_user((void __user *)arg, &create, minsz)) in tce_iommu_ioctl()
1111 minsz = offsetofend(struct vfio_iommu_spapr_tce_remove, in tce_iommu_ioctl()
1114 if (copy_from_user(&remove, (void __user *)arg, minsz)) in tce_iommu_ioctl()
1117 if (remove.argsz < minsz) in tce_iommu_ioctl()