Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_user.c153 uint32_t data_pages_per_blk; member
519 dpi = dbi * udev->data_pages_per_blk; in tcmu_get_empty_block()
730 if (page_cnt > udev->data_pages_per_blk) in tcmu_copy_data()
731 page_cnt = udev->data_pages_per_blk; in tcmu_copy_data()
733 dpi = dbi * udev->data_pages_per_blk; in tcmu_copy_data()
1620 udev->data_pages_per_blk = DATA_PAGES_PER_BLK_DEF; in tcmu_alloc_device()
1621 udev->max_blocks = DATA_AREA_PAGES_DEF / udev->data_pages_per_blk; in tcmu_alloc_device()
1669 first = first * udev->data_pages_per_blk; in tcmu_blocks_release()
1670 last = (last + 1) * udev->data_pages_per_blk - 1; in tcmu_blocks_release()
2231 udev->data_blk_size = udev->data_pages_per_blk * PAGE_SIZE; in tcmu_configure_device()
[all …]