Home
last modified time | relevance | path

Searched refs:dbi_max (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_user.c143 uint32_t dbi_max; member
525 if (dbi > udev->dbi_max) in tcmu_get_empty_block()
526 udev->dbi_max = dbi; in tcmu_get_empty_block()
1842 tcmu_blocks_release(&udev->data_blocks, 0, udev->dbi_max + 1); in tcmu_dev_kref_release()
2895 end = udev->dbi_max + 1; in find_free_blocks()
2897 if (block == udev->dbi_max) { in find_free_blocks()
2899 * The last bit is dbi_max, so it is not possible in find_free_blocks()
2907 udev->dbi_max = 0; in find_free_blocks()
2910 udev->dbi_max = block; in find_free_blocks()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_user.c149 uint32_t dbi_max; member
542 if (i && dbi > udev->dbi_max) in tcmu_get_empty_block()
543 udev->dbi_max = dbi; in tcmu_get_empty_block()
1741 tcmu_blocks_release(udev, 0, udev->dbi_max); in tcmu_dev_kref_release()
3215 end = udev->dbi_max + 1; in find_free_blocks()
3217 if (block == udev->dbi_max) { in find_free_blocks()
3219 * The last bit is dbi_max, so it is not possible in find_free_blocks()
3227 udev->dbi_max = 0; in find_free_blocks()
3230 udev->dbi_max = block; in find_free_blocks()

Completed in 8 milliseconds