Lines Matching refs:region_info
138 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS]; member
609 if (!mdev_state->region_info[index].size) in mdev_read_base()
631 mdev_state->region_info[index].start = ((u64)start_hi << 32) | in mdev_read_base()
668 if (!mdev_state->region_info[index].start) in mdev_access()
1021 struct vfio_region_info *region_info, in mtty_get_region_info() argument
1027 bar_index = region_info->index; in mtty_get_region_info()
1049 mdev_state->region_info[bar_index].size = size; in mtty_get_region_info()
1050 mdev_state->region_info[bar_index].vfio_offset = in mtty_get_region_info()
1053 region_info->size = size; in mtty_get_region_info()
1054 region_info->offset = MTTY_VFIO_PCI_INDEX_TO_OFFSET(bar_index); in mtty_get_region_info()
1055 region_info->flags = VFIO_REGION_INFO_FLAG_READ | in mtty_get_region_info()