Searched refs:cache_strategy (Results 1 – 4 of 4) sorted by relevance
201 ctx->cache_strategy = EROFS_ZIP_CACHE_READAROUND; in erofs_default_options()268 ctx->cache_strategy = result.uint_32; in erofs_fc_parse_param()586 if (ctx->cache_strategy == EROFS_ZIP_CACHE_DISABLED) in erofs_show_options()588 else if (ctx->cache_strategy == EROFS_ZIP_CACHE_READAHEAD) in erofs_show_options()590 else if (ctx->cache_strategy == EROFS_ZIP_CACHE_READAROUND) in erofs_show_options()
574 enum z_erofs_cache_alloctype cache_strategy; in z_erofs_do_read_page() local617 if (should_alloc_managed_pages(fe, sbi->ctx.cache_strategy, map->m_la)) in z_erofs_do_read_page()618 cache_strategy = DELAYEDALLOC; in z_erofs_do_read_page()620 cache_strategy = DONTALLOC; in z_erofs_do_read_page()622 preload_compressed_pages(clt, MNGD_MAPPING(sbi), cache_strategy); in z_erofs_do_read_page()
52 unsigned char cache_strategy; member
74 cache_strategy=%s Select a strategy for cached decompression from now on: