Lines Matching refs:bmp_bytes
91 region->bmp_bytes = bytes; in pds_vfio_dirty_alloc_bitmaps()
108 region->bmp_bytes = 0; in pds_vfio_dirty_free_bitmaps()
371 u32 bmp_bytes, bool read_seq) in pds_vfio_dirty_seq_ack() argument
397 npages = DIV_ROUND_UP_ULL(bmp_bytes + page_offset, PAGE_SIZE); in pds_vfio_dirty_seq_ack()
415 bmp_bytes, GFP_KERNEL); in pds_vfio_dirty_seq_ack()
435 offset, bmp_bytes, read_seq); in pds_vfio_dirty_seq_ack()
439 bmp_type_str, offset, bmp_bytes, in pds_vfio_dirty_seq_ack()
527 u64 bmp_offset, bmp_bytes; in pds_vfio_dirty_sync() local
562 bmp_bytes = ALIGN(DIV_ROUND_UP(length / region->page_size, in pds_vfio_dirty_sync()
564 if (bmp_bytes != bitmap_size) { in pds_vfio_dirty_sync()
567 bmp_bytes, bitmap_size); in pds_vfio_dirty_sync()
571 if (bmp_bytes > region->bmp_bytes) { in pds_vfio_dirty_sync()
574 bmp_bytes, region->bmp_bytes); in pds_vfio_dirty_sync()
583 iova, length, bmp_offset, bmp_bytes); in pds_vfio_dirty_sync()
585 err = pds_vfio_dirty_read_seq(pds_vfio, region, bmp_offset, bmp_bytes); in pds_vfio_dirty_sync()
590 bmp_offset, bmp_bytes); in pds_vfio_dirty_sync()
594 err = pds_vfio_dirty_write_ack(pds_vfio, region, bmp_offset, bmp_bytes); in pds_vfio_dirty_sync()