Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dcompress.c68 return index >> cc->log_cluster_size; in cluster_idx()
73 return cc->cluster_idx << cc->log_cluster_size; in start_idx_of_cluster()
184 cc->clen = lzo1x_worst_compress(PAGE_SIZE << cc->log_cluster_size); in lzo_init_compress_ctx()
220 if (dic->rlen != PAGE_SIZE << dic->log_cluster_size) { in lzo_decompress_pages()
223 dic->rlen, PAGE_SIZE << dic->log_cluster_size); in lzo_decompress_pages()
300 if (ret != PAGE_SIZE << dic->log_cluster_size) { in lz4_decompress_pages()
303 ret, PAGE_SIZE << dic->log_cluster_size); in lz4_decompress_pages()
420 MAX_COMPRESS_WINDOW_SIZE(dic->log_cluster_size); in zstd_init_decompress_ctx()
477 PAGE_SIZE << dic->log_cluster_size); in zstd_decompress_pages()
755 dic->rlen = PAGE_SIZE << dic->log_cluster_size; in f2fs_decompress_cluster()
[all …]
H A Ddata.c2151 unsigned int start_idx = cc->cluster_idx << cc->log_cluster_size; in f2fs_read_multi_pages()
2325 .log_cluster_size = F2FS_I(inode)->i_log_cluster_size, in f2fs_mpage_readpages()
2368 page->index >> cc.log_cluster_size) { in f2fs_mpage_readpages()
2377 page->index >> cc.log_cluster_size; in f2fs_mpage_readpages()
2942 .log_cluster_size = F2FS_I(inode)->i_log_cluster_size, in f2fs_write_cache_pages()
2969 1 << cc.log_cluster_size > F2FS_ONSTACK_PAGES) { in f2fs_write_cache_pages()
2971 cc.log_cluster_size, GFP_NOFS | __GFP_NOFAIL); in f2fs_write_cache_pages()
2972 max_pages = 1 << cc.log_cluster_size; in f2fs_write_cache_pages()
H A Dfile.c4094 option.log_cluster_size = F2FS_I(inode)->i_log_cluster_size; in f2fs_ioc_get_compress_option()
4122 if (option.log_cluster_size < MIN_COMPRESS_LOG_SIZE || in f2fs_ioc_set_compress_option()
4123 option.log_cluster_size > MAX_COMPRESS_LOG_SIZE || in f2fs_ioc_set_compress_option()
4147 F2FS_I(inode)->i_log_cluster_size = option.log_cluster_size; in f2fs_ioc_set_compress_option()
4148 F2FS_I(inode)->i_cluster_size = BIT(option.log_cluster_size); in f2fs_ioc_set_compress_option()
H A Df2fs.h1469 unsigned int log_cluster_size; /* log of cluster size */ member
1498 unsigned int log_cluster_size; /* log of cluster size */ member
/openbmc/linux/include/uapi/linux/
H A Df2fs.h96 __u8 log_cluster_size; member