Searched refs:cache_strategy (Results 1 – 3 of 3) sorted by relevance
177 sbi->cache_strategy = EROFS_ZIP_CACHE_DISABLED; in erofs_build_cache_strategy()179 sbi->cache_strategy = EROFS_ZIP_CACHE_READAHEAD; in erofs_build_cache_strategy()181 sbi->cache_strategy = EROFS_ZIP_CACHE_READAROUND; in erofs_build_cache_strategy()202 sbi->cache_strategy = EROFS_ZIP_CACHE_READAROUND; in erofs_default_options()563 if (sbi->cache_strategy == EROFS_ZIP_CACHE_DISABLED) { in erofs_show_options()565 } else if (sbi->cache_strategy == EROFS_ZIP_CACHE_READAHEAD) { in erofs_show_options()567 } else if (sbi->cache_strategy == EROFS_ZIP_CACHE_READAROUND) { in erofs_show_options()
580 enum z_erofs_cache_alloctype cache_strategy; in z_erofs_do_read_page() local623 if (should_alloc_managed_pages(fe, sbi->cache_strategy, map->m_la)) in z_erofs_do_read_page()624 cache_strategy = DELAYEDALLOC; in z_erofs_do_read_page()626 cache_strategy = DONTALLOC; in z_erofs_do_read_page()629 cache_strategy, pagepool); in z_erofs_do_read_page()
64 unsigned char cache_strategy; member