Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/target/
Dtarget_core_user.c226 static int tcmu_global_max_pages = TCMU_GLOBAL_MAX_PAGES_DEF; variable
242 tcmu_global_max_pages = TCMU_MBS_TO_PAGES(max_area_mb); in tcmu_set_global_max_data_area()
243 if (atomic_read(&global_page_count) > tcmu_global_max_pages) in tcmu_set_global_max_data_area()
254 return sprintf(buffer, "%d\n", TCMU_PAGES_TO_MBS(tcmu_global_max_pages)); in tcmu_get_global_max_data_area()
537 tcmu_global_max_pages) in tcmu_get_empty_block()
1503 if (atomic_read(&global_page_count) > tcmu_global_max_pages && in tcmu_handle_completions()
2454 if (val > TCMU_PAGES_TO_MBS(tcmu_global_max_pages)) { in tcmu_set_max_blocks_param()
2456 val, TCMU_PAGES_TO_MBS(tcmu_global_max_pages)); in tcmu_set_max_blocks_param()
2457 val = TCMU_PAGES_TO_MBS(tcmu_global_max_pages); in tcmu_set_max_blocks_param()
3115 if (atomic_read(&global_page_count) <= tcmu_global_max_pages) in find_free_blocks()
[all …]