Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/target/
Dtarget_core_user.c149 uint32_t dbi_thresh; member
513 dbi = find_first_zero_bit(udev->data_bitmap, udev->dbi_thresh); in tcmu_get_empty_block()
514 if (dbi == udev->dbi_thresh) in tcmu_get_empty_block()
861 space = spc_bitmap_free(udev->data_bitmap, udev->dbi_thresh); in tcmu_alloc_data_space()
864 (udev->max_blocks - udev->dbi_thresh) + space; in tcmu_alloc_data_space()
873 udev->dbi_thresh += cmd->dbi_cnt; in tcmu_alloc_data_space()
874 if (udev->dbi_thresh > udev->max_blocks) in tcmu_alloc_data_space()
875 udev->dbi_thresh = udev->max_blocks; in tcmu_alloc_data_space()
2207 udev->dbi_thresh = 0; /* Default in Idle state */ in tcmu_configure_device()
3132 if (!udev->dbi_thresh) { in find_free_blocks()
[all …]