Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/target/
Dtarget_core_user.c152 uint32_t data_pages_per_blk; member
517 dpi = dbi * udev->data_pages_per_blk; in tcmu_get_empty_block()
728 if (page_cnt > udev->data_pages_per_blk) in tcmu_copy_data()
729 page_cnt = udev->data_pages_per_blk; in tcmu_copy_data()
731 dpi = dbi * udev->data_pages_per_blk; in tcmu_copy_data()
1619 udev->data_pages_per_blk = DATA_PAGES_PER_BLK_DEF; in tcmu_alloc_device()
1620 udev->max_blocks = DATA_AREA_PAGES_DEF / udev->data_pages_per_blk; in tcmu_alloc_device()
1663 XA_STATE(xas, &udev->data_pages, first * udev->data_pages_per_blk); in tcmu_blocks_release()
1668 xas_for_each(&xas, page, (last + 1) * udev->data_pages_per_blk - 1) { in tcmu_blocks_release()
2206 udev->data_blk_size = udev->data_pages_per_blk * PAGE_SIZE; in tcmu_configure_device()
[all …]