Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dinode.c203 if (ri->i_compress_algorithm >= COMPRESS_MAX) { in sanity_check_compress_inode()
206 __func__, inode->i_ino, ri->i_compress_algorithm); in sanity_check_compress_inode()
227 switch (ri->i_compress_algorithm) { in sanity_check_compress_inode()
505 fi->i_compress_algorithm = ri->i_compress_algorithm; in do_read_inode()
730 ri->i_compress_algorithm = in f2fs_update_inode()
731 F2FS_I(inode)->i_compress_algorithm; in f2fs_update_inode()
H A Dcompress.c552 return f2fs_cops[F2FS_I(inode)->i_compress_algorithm]; in f2fs_is_compress_backend_ready()
622 f2fs_cops[fi->i_compress_algorithm]; in f2fs_compress_pages()
628 cc->cluster_size, fi->i_compress_algorithm); in f2fs_compress_pages()
736 f2fs_cops[fi->i_compress_algorithm]; in f2fs_decompress_cluster()
741 dic->cluster_size, fi->i_compress_algorithm); in f2fs_decompress_cluster()
1587 f2fs_cops[F2FS_I(dic->inode)->i_compress_algorithm]; in f2fs_prepare_decomp_mem()
1624 f2fs_cops[F2FS_I(dic->inode)->i_compress_algorithm]; in f2fs_release_decomp_mem()
H A Df2fs.h859 unsigned char i_compress_algorithm; /* algorithm type */ member
4399 F2FS_I(inode)->i_compress_algorithm = in set_compress_context()
4408 if ((F2FS_I(inode)->i_compress_algorithm == COMPRESS_LZ4 || in set_compress_context()
4409 F2FS_I(inode)->i_compress_algorithm == COMPRESS_ZSTD) && in set_compress_context()
H A Dfile.c4106 option.algorithm = F2FS_I(inode)->i_compress_algorithm; in f2fs_ioc_get_compress_option()
4159 F2FS_I(inode)->i_compress_algorithm = option.algorithm; in f2fs_ioc_set_compress_option()
4163 if (F2FS_I(inode)->i_compress_algorithm == COMPRESS_ZSTD) in f2fs_ioc_set_compress_option()
/openbmc/linux/include/linux/
H A Df2fs_fs.h311 __u8 i_compress_algorithm; /* compress algorithm */ member