Home
last modified time | relevance | path

Searched refs:region_page_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/vfio/pci/pds/
H A Ddirty.c185 u64 region_start, region_size, region_page_size; in pds_vfio_dirty_enable() local
241 region_page_size = *page_size; in pds_vfio_dirty_enable()
248 page_count = DIV_ROUND_UP(region_size, region_page_size); in pds_vfio_dirty_enable()
252 region_info->page_size_log2 = ilog2(region_page_size); in pds_vfio_dirty_enable()
275 (u8)ilog2(region_page_size)); in pds_vfio_dirty_enable()
293 dirty->region_page_size = region_page_size; in pds_vfio_dirty_enable()
423 u64 page_size = pds_vfio->dirty.region_page_size; in pds_vfio_dirty_process_bitmaps()
472 pages = DIV_ROUND_UP(length, pds_vfio->dirty.region_page_size); in pds_vfio_dirty_sync()
478 pds_vfio->vf_id, iova, length, pds_vfio->dirty.region_page_size, in pds_vfio_dirty_sync()
488 bmp_bytes = ALIGN(DIV_ROUND_UP(length / dirty->region_page_size, in pds_vfio_dirty_sync()
[all …]
H A Ddirty.h20 u64 region_page_size; member