Home
last modified time | relevance | path

Searched refs:cache_strategy (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/erofs/
H A Dsuper.c202 ctx->cache_strategy = EROFS_ZIP_CACHE_READAROUND; in erofs_default_options()
230 fsparam_enum("cache_strategy", Opt_cache_strategy,
269 ctx->cache_strategy = result.uint_32; in erofs_fc_parse_param()
271 errorfc(fc, "compression not supported, cache_strategy ignored"); in erofs_fc_parse_param()
587 if (ctx->cache_strategy == EROFS_ZIP_CACHE_DISABLED) in erofs_show_options()
588 seq_puts(seq, ",cache_strategy=disabled"); in erofs_show_options()
589 else if (ctx->cache_strategy == EROFS_ZIP_CACHE_READAHEAD) in erofs_show_options()
590 seq_puts(seq, ",cache_strategy=readahead"); in erofs_show_options()
591 else if (ctx->cache_strategy == EROFS_ZIP_CACHE_READAROUND) in erofs_show_options()
592 seq_puts(seq, ",cache_strategy in erofs_show_options()
[all...]
H A Dzdata.c572 enum z_erofs_cache_alloctype cache_strategy; in z_erofs_do_read_page() local
615 if (should_alloc_managed_pages(fe, sbi->ctx.cache_strategy, map->m_la)) in z_erofs_do_read_page()
616 cache_strategy = DELAYEDALLOC; in z_erofs_do_read_page()
618 cache_strategy = DONTALLOC; in z_erofs_do_read_page()
620 preload_compressed_pages(clt, MNGD_MAPPING(sbi), cache_strategy); in z_erofs_do_read_page()
H A Dinternal.h52 unsigned char cache_strategy; member
/kernel/linux/linux-6.6/fs/erofs/
H A Dsuper.c373 ctx->opt.cache_strategy = EROFS_ZIP_CACHE_READAROUND; in erofs_default_options()
413 fsparam_enum("cache_strategy", Opt_cache_strategy,
483 ctx->opt.cache_strategy = result.uint_32; in erofs_fc_parse_param()
485 errorfc(fc, "compression not supported, cache_strategy ignored"); in erofs_fc_parse_param()
960 if (opt->cache_strategy == EROFS_ZIP_CACHE_DISABLED) in erofs_show_options()
961 seq_puts(seq, ",cache_strategy=disabled"); in erofs_show_options()
962 else if (opt->cache_strategy == EROFS_ZIP_CACHE_READAHEAD) in erofs_show_options()
963 seq_puts(seq, ",cache_strategy=readahead"); in erofs_show_options()
964 else if (opt->cache_strategy == EROFS_ZIP_CACHE_READAROUND) in erofs_show_options()
965 seq_puts(seq, ",cache_strategy in erofs_show_options()
[all...]
H A Dinternal.h67 unsigned char cache_strategy; member
H A Dzdata.c543 unsigned int cachestrategy = EROFS_I_SB(fe->inode)->opt.cache_strategy; in z_erofs_should_alloc_cache()

Completed in 8 milliseconds