Searched refs:tcmu_global_max_pages (Results 1 – 1 of 1) sorted by relevance
227 static int tcmu_global_max_pages = TCMU_GLOBAL_MAX_PAGES_DEF; variable243 tcmu_global_max_pages = TCMU_MBS_TO_PAGES(max_area_mb); in tcmu_set_global_max_data_area()244 if (atomic_read(&global_page_count) > tcmu_global_max_pages) in tcmu_set_global_max_data_area()255 return sprintf(buffer, "%d\n", TCMU_PAGES_TO_MBS(tcmu_global_max_pages)); in tcmu_get_global_max_data_area()539 tcmu_global_max_pages) in tcmu_get_empty_block()1504 if (atomic_read(&global_page_count) > tcmu_global_max_pages && in tcmu_handle_completions()2480 if (val > TCMU_PAGES_TO_MBS(tcmu_global_max_pages)) { in tcmu_set_max_blocks_param()2482 val, TCMU_PAGES_TO_MBS(tcmu_global_max_pages)); in tcmu_set_max_blocks_param()2483 val = TCMU_PAGES_TO_MBS(tcmu_global_max_pages); in tcmu_set_max_blocks_param()3193 if (atomic_read(&global_page_count) <= tcmu_global_max_pages) in find_free_blocks()[all …]