Lines Matching refs:num_regions
540 (vgpu->num_regions + 1) * sizeof(*region), in intel_vgpu_register_reg()
546 vgpu->region[vgpu->num_regions].type = type; in intel_vgpu_register_reg()
547 vgpu->region[vgpu->num_regions].subtype = subtype; in intel_vgpu_register_reg()
548 vgpu->region[vgpu->num_regions].ops = ops; in intel_vgpu_register_reg()
549 vgpu->region[vgpu->num_regions].size = size; in intel_vgpu_register_reg()
550 vgpu->region[vgpu->num_regions].flags = flags; in intel_vgpu_register_reg()
551 vgpu->region[vgpu->num_regions].data = data; in intel_vgpu_register_reg()
552 vgpu->num_regions++; in intel_vgpu_register_reg()
810 if (index >= VFIO_PCI_NUM_REGIONS + vgpu->num_regions) { in intel_vgpu_rw()
839 if (index >= VFIO_PCI_NUM_REGIONS + vgpu->num_regions) in intel_vgpu_rw()
1167 info.num_regions = VFIO_PCI_NUM_REGIONS + in intel_vgpu_ioctl()
1168 vgpu->num_regions; in intel_vgpu_ioctl()
1259 vgpu->num_regions) in intel_vgpu_ioctl()
1264 vgpu->num_regions); in intel_vgpu_ioctl()
1648 for (i = 0; i < vgpu->num_regions; i++) in intel_vgpu_detach_regions()
1652 vgpu->num_regions = 0; in intel_vgpu_detach_regions()