Home
last modified time | relevance | path

Searched refs:argsz (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dvfio.h30 __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 …]
Dfpga-dfl.h20 __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/
Dvfio.h137 __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 …]
Dfpga-dfl.h79 __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
Diommu.h151 __u32 argsz; member
256 __u32 argsz; member
322 __u32 argsz; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dvfio.h43 __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 …]
Dfpga-dfl.h32 __u32 argsz; member
39 __u32 argsz; member
53 __u32 argsz; member
61 __u32 argsz; member
76 __u32 argsz; member
Diommu.h79 __u32 argsz; member
113 __u32 argsz; member
142 __u32 argsz; member
/kernel/linux/linux-5.10/Documentation/userspace-api/
Diommu.rst63 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/
Dvfio_spapr_eeh.c54 if (op.argsz < minsz || op.flags) in vfio_spapr_iommu_eeh_ioctl()
87 if (op.argsz < minsz) in vfio_spapr_iommu_eeh_ioctl()
Dvfio_iommu_spapr_tce.c828 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()
Dvfio_iommu_type1.c2648 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/
Dvfio_ccw_ops.c370 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/
Dvfio_pci.c819 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/
Dmdpy.c531 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()
Dmbochs.c1039 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()
Dmtty.c1151 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/
Ddfl-afu-main.c649 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()
Ddfl-fme-pr.c86 if (port_pr.argsz < minsz || port_pr.flags) in fme_pr()
/kernel/linux/linux-5.10/drivers/vfio/platform/
Dvfio_platform_common.c310 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/
Dvfio_fsl_mc.c217 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/
Dvfio.rst171 { .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/
Dioctl.c862 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/
Dkvmgt.c1362 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/
Diommu.c2046 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()

12