Lines Matching refs:dpi
511 int i, cnt, dbi, dpi; in tcmu_get_empty_block() local
518 dpi = dbi * udev->data_pages_per_blk; in tcmu_get_empty_block()
520 xas_set(&xas, dpi); in tcmu_get_empty_block()
532 if (xa_store(&udev->data_pages, dpi + i, page, GFP_NOIO)) { in tcmu_get_empty_block()
709 int page_cnt, page_inx, dpi; in tcmu_copy_data() local
732 dpi = dbi * udev->data_pages_per_blk; in tcmu_copy_data()
734 page_inx++, dpi++) { in tcmu_copy_data()
735 page = xa_load(&udev->data_pages, dpi); in tcmu_copy_data()
1665 unsigned long dpi; in tcmu_blocks_release() local
1670 xa_for_each_range(&udev->data_pages, dpi, page, first, last) { in tcmu_blocks_release()
1671 xa_erase(&udev->data_pages, dpi); in tcmu_blocks_release()
1838 static struct page *tcmu_try_get_data_page(struct tcmu_dev *udev, uint32_t dpi) in tcmu_try_get_data_page() argument
1843 page = xa_load(&udev->data_pages, dpi); in tcmu_try_get_data_page()
1856 dpi, udev->name); in tcmu_try_get_data_page()
1906 uint32_t dpi; in tcmu_vma_fault() local
1909 dpi = (offset - udev->data_off) / PAGE_SIZE; in tcmu_vma_fault()
1910 page = tcmu_try_get_data_page(udev, dpi); in tcmu_vma_fault()