/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | vfio.h | 30 __u32 argsz; member 40 __u32 argsz; member 56 __u32 argsz; member 92 __u32 argsz; member 103 __u32 argsz; member 161 __u32 argsz; member 168 __u32 argsz; member 175 __u32 argsz; member 201 __u32 argsz; member 214 __u32 argsz; member [all …]
|
D | fpga-dfl.h | 20 __u32 argsz; member 29 __u32 argsz; member 47 __u32 argsz; member 57 __u32 argsz; member 64 __u32 argsz; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | vfio.h | 137 __u32 argsz; member 196 __u32 argsz; member 246 __u32 argsz; member 694 __u32 argsz; member 744 __u32 argsz; member 841 __u32 argsz; member 856 __u32 argsz; member 890 __u32 argsz; member 939 __u32 argsz; member 970 __u32 argsz; member [all …]
|
D | fpga-dfl.h | 79 __u32 argsz; /* Structure length */ member 99 __u32 argsz; /* Structure length */ member 128 __u32 argsz; /* Structure length */ member 147 __u32 argsz; /* Structure length */ member 229 __u32 argsz; /* Structure length */ member
|
D | iommu.h | 151 __u32 argsz; member 256 __u32 argsz; member 322 __u32 argsz; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | vfio.h | 43 __u32 argsz; member 53 __u32 argsz; member 78 __u32 argsz; member 160 __u32 argsz; member 171 __u32 argsz; member 224 __u32 argsz; member 231 __u32 argsz; member 238 __u32 argsz; member 262 __u32 argsz; member 275 __u32 argsz; member [all …]
|
D | fpga-dfl.h | 32 __u32 argsz; member 39 __u32 argsz; member 53 __u32 argsz; member 61 __u32 argsz; member 76 __u32 argsz; member
|
D | iommu.h | 79 __u32 argsz; member 113 __u32 argsz; member 142 __u32 argsz; member
|
/kernel/linux/linux-5.10/Documentation/userspace-api/ |
D | iommu.rst | 63 structure passed by setting argsz appropriately. 64 Though at the same time, argsz is user provided data which is not 65 trusted. The argsz field allows the user app to indicate how much data 130 __u32 argsz; 138 In order to determine the size and feature set of the user data, argsz 142 A "__u32 argsz" field is *always* at the beginning of each structure. 148 __u32 argsz; 165 VFIO is responsible for checking its own argsz and flags. It then 170 - Generic IOMMU layer checks argsz range based on UAPI data in the 178 - Vendor IOMMU driver checks argsz based on vendor flags. UAPI data [all …]
|
/kernel/linux/linux-5.10/drivers/vfio/ |
D | vfio_spapr_eeh.c | 54 if (op.argsz < minsz || op.flags) in vfio_spapr_iommu_eeh_ioctl() 87 if (op.argsz < minsz) in vfio_spapr_iommu_eeh_ioctl()
|
D | vfio_iommu_spapr_tce.c | 828 if (info.argsz < minsz) in tce_iommu_ioctl() 847 if (info.argsz >= ddwsz) in tce_iommu_ioctl() 869 if (param.argsz < minsz) in tce_iommu_ioctl() 936 if (param.argsz < minsz) in tce_iommu_ioctl() 982 if (param.argsz < minsz) in tce_iommu_ioctl() 1011 if (param.argsz < minsz) in tce_iommu_ioctl() 1076 if (create.argsz < minsz) in tce_iommu_ioctl() 1117 if (remove.argsz < minsz) in tce_iommu_ioctl()
|
D | vfio_iommu_type1.c | 2648 if (info.argsz < minsz) in vfio_iommu_type1_get_info() 2651 if (info.argsz >= capsz) { in vfio_iommu_type1_get_info() 2677 if (info.argsz < sizeof(info) + caps.size) { in vfio_iommu_type1_get_info() 2678 info.argsz = sizeof(info) + caps.size; in vfio_iommu_type1_get_info() 2709 if (map.argsz < minsz || map.flags & ~mask) in vfio_iommu_type1_map_dma() 2728 if (unmap.argsz < minsz || in vfio_iommu_type1_unmap_dma() 2735 if (unmap.argsz < (minsz + sizeof(bitmap))) in vfio_iommu_type1_unmap_dma() 2779 if (dirty.argsz < minsz || dirty.flags & ~mask) in vfio_iommu_type1_dirty_pages() 2809 size_t data_size = dirty.argsz - minsz; in vfio_iommu_type1_dirty_pages()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | vfio_ccw_ops.c | 370 if (info->argsz < sizeof(*info) + caps.size) { in vfio_ccw_mdev_get_region_info() 371 info->argsz = sizeof(*info) + caps.size; in vfio_ccw_mdev_get_region_info() 533 if (info.argsz < minsz) in vfio_ccw_mdev_ioctl() 551 if (info.argsz < minsz) in vfio_ccw_mdev_ioctl() 569 if (info.argsz < minsz || info.index >= VFIO_CCW_NUM_IRQS) in vfio_ccw_mdev_ioctl()
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci.c | 819 if (info.argsz < minsz) in vfio_pci_ioctl() 822 if (info.argsz >= capsz) { in vfio_pci_ioctl() 846 if (info.argsz < sizeof(info) + caps.size) { in vfio_pci_ioctl() 847 info.argsz = sizeof(info) + caps.size; in vfio_pci_ioctl() 876 if (info.argsz < minsz) in vfio_pci_ioctl() 990 if (info.argsz < sizeof(info) + caps.size) { in vfio_pci_ioctl() 991 info.argsz = sizeof(info) + caps.size; in vfio_pci_ioctl() 1018 if (info.argsz < minsz || info.index >= VFIO_PCI_NUM_IRQS) in vfio_pci_ioctl() 1105 if (hdr.argsz < minsz) in vfio_pci_ioctl() 1129 if (hdr.argsz < sizeof(hdr) + (fill.max * sizeof(*devices))) { in vfio_pci_ioctl() [all …]
|
/kernel/linux/linux-5.10/samples/vfio-mdev/ |
D | mdpy.c | 531 if (info.argsz < minsz) in mdpy_ioctl() 556 if (info.argsz < minsz) in mdpy_ioctl() 579 if ((info.argsz < minsz) || in mdpy_ioctl() 603 if (plane.argsz < minsz) in mdpy_ioctl()
|
D | mbochs.c | 1039 ext->base.argsz = sizeof(*ext); in mbochs_get_region_info() 1184 if (info.argsz < minsz) in mbochs_ioctl() 1205 outsz = info.base.argsz; in mbochs_ioctl() 1230 if ((info.argsz < minsz) || in mbochs_ioctl() 1254 if (plane.argsz < minsz) in mbochs_ioctl()
|
D | mtty.c | 1151 if (info.argsz < minsz) in mtty_ioctl() 1176 if (info.argsz < minsz) in mtty_ioctl() 1199 if ((info.argsz < minsz) || in mtty_ioctl()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
D | dfl-afu-main.c | 649 if (info.argsz < minsz) in afu_ioctl_get_info() 678 if (rinfo.argsz < minsz || rinfo.padding) in afu_ioctl_get_region_info() 707 if (map.argsz < minsz || map.flags) in afu_ioctl_dma_map() 738 if (unmap.argsz < minsz || unmap.flags) in afu_ioctl_dma_unmap()
|
D | dfl-fme-pr.c | 86 if (port_pr.argsz < minsz || port_pr.flags) in fme_pr()
|
/kernel/linux/linux-5.10/drivers/vfio/platform/ |
D | vfio_platform_common.c | 310 if (info.argsz < minsz) in vfio_platform_ioctl() 330 if (info.argsz < minsz) in vfio_platform_ioctl() 352 if (info.argsz < minsz) in vfio_platform_ioctl()
|
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/ |
D | vfio_fsl_mc.c | 217 if (info.argsz < minsz) in vfio_fsl_mc_ioctl() 240 if (info.argsz < minsz) in vfio_fsl_mc_ioctl() 263 if (info.argsz < minsz) in vfio_fsl_mc_ioctl()
|
/kernel/linux/linux-5.10/Documentation/driver-api/ |
D | vfio.rst | 171 { .argsz = sizeof(group_status) }; 172 struct vfio_iommu_type1_info iommu_info = { .argsz = sizeof(iommu_info) }; 173 struct vfio_iommu_type1_dma_map dma_map = { .argsz = sizeof(dma_map) }; 174 struct vfio_device_info device_info = { .argsz = sizeof(device_info) }; 219 struct vfio_region_info reg = { .argsz = sizeof(reg) }; 230 struct vfio_irq_info irq = { .argsz = sizeof(irq) }; 339 struct vfio_eeh_pe_op pe_op = { .argsz = sizeof(pe_op), .flags = 0 };
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | ioctl.c | 862 static const size_t argsz[5] = { in nilfs_ioctl_clean_segments() local 888 if (argv[4].v_size != argsz[4]) in nilfs_ioctl_clean_segments() 908 if (argv[n].v_size != argsz[n]) in nilfs_ioctl_clean_segments()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 1362 if (info.argsz < minsz) in intel_vgpu_ioctl() 1388 if (info.argsz < minsz) in intel_vgpu_ioctl() 1504 if (info.argsz < sizeof(info) + caps.size) { in intel_vgpu_ioctl() 1505 info.argsz = sizeof(info) + caps.size; in intel_vgpu_ioctl() 1533 if (info.argsz < minsz || info.index >= VFIO_PCI_NUM_IRQS) in intel_vgpu_ioctl() 1600 if (dmabuf.argsz < minsz) in intel_vgpu_ioctl()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | iommu.c | 2046 if (inv_info.argsz < minsz) in iommu_uapi_cache_invalidate() 2051 inv_info.argsz < offsetofend(struct iommu_cache_invalidate_info, granu.pasid_info)) in iommu_uapi_cache_invalidate() 2055 inv_info.argsz < offsetofend(struct iommu_cache_invalidate_info, granu.addr_info)) in iommu_uapi_cache_invalidate() 2065 min_t(u32, inv_info.argsz, sizeof(inv_info)) - minsz)) in iommu_uapi_cache_invalidate() 2119 if (data->argsz < minsz) in iommu_sva_prepare_bind_data() 2129 min_t(u32, data->argsz, sizeof(*data)) - minsz)) in iommu_sva_prepare_bind_data()
|