Home
last modified time | relevance | path

Searched refs:compress_type (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_cudbg.c201 cudbg_init.compress_type = CUDBG_COMPRESSION_ZLIB; in cxgb4_cudbg_collect()
208 cudbg_init.compress_type = CUDBG_COMPRESSION_NONE; in cxgb4_cudbg_collect()
212 cudbg_init.compress_type = CUDBG_COMPRESSION_NONE; in cxgb4_cudbg_collect()
215 cudbg_hdr->compress_type = cudbg_init.compress_type; in cxgb4_cudbg_collect()
242 if (cudbg_init.compress_type != CUDBG_COMPRESSION_NONE) in cxgb4_cudbg_collect()
H A Dcudbg_common.c20 if (pdbg_init->compress_type != CUDBG_COMPRESSION_NONE) { in cudbg_get_buff()
40 if (pdbg_init->compress_type != CUDBG_COMPRESSION_NONE) in cudbg_put_buff()
H A Dcudbg_if.h81 u8 compress_type; /* Type of compression to use */ member
H A Dcudbg_lib_common.h31 u8 compress_type:4; member
H A Dcudbg_lib.c463 if (pdbg_init->compress_type == CUDBG_COMPRESSION_NONE) { in cudbg_write_and_release_buff()
/linux/fs/btrfs/
H A Ddefrag.c1367 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1386 compress_type = range->compress.type; in btrfs_defrag_file()
1388 if (!btrfs_compress_level_valid(compress_type, compress_level)) in btrfs_defrag_file()
1392 if (range->compress_type >= BTRFS_NR_COMPRESS_TYPES) in btrfs_defrag_file()
1394 if (range->compress_type) in btrfs_defrag_file()
1395 compress_type = range->compress_type; in btrfs_defrag_file()
1398 compress_type = BTRFS_DEFRAG_DONT_COMPRESS; in btrfs_defrag_file()
1451 inode->defrag_compress = compress_type; in btrfs_defrag_file()
1490 if (range->compress_type == BTRFS_COMPRESS_LZO) in btrfs_defrag_file()
1492 else if (range->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_defrag_file()
H A Dextent_io.c102 enum btrfs_compression_type compress_type; member
188 bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) in submit_one_bio()
716 if (bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) { in btrfs_bio_is_contig()
808 ASSERT(bio_ctrl->compress_type == BTRFS_COMPRESS_NONE); in submit_extent_folio()
1027 enum btrfs_compression_type compress_type = BTRFS_COMPRESS_NONE; in btrfs_do_readpage() local
1060 compress_type = btrfs_extent_map_compression(em); in btrfs_do_readpage()
1069 compress_type != BTRFS_COMPRESS_NONE) in btrfs_do_readpage()
1072 if (compress_type != BTRFS_COMPRESS_NONE) in btrfs_do_readpage()
1116 if (compress_type != BTRFS_COMPRESS_NONE && in btrfs_do_readpage()
1139 if (bio_ctrl->compress_type != compress_type) { in btrfs_do_readpage()
[all …]
H A Dcompression.c92 switch (cb->compress_type) { in compression_decompress_bio()
591 cb->compress_type = btrfs_extent_map_compression(em); in btrfs_submit_compressed_read()
1049 cb->compress_type = type; in btrfs_compress_bio()
1090 int type = cb->compress_type; in btrfs_decompress_bio()
H A Dfile-item.c1333 int compress_type = btrfs_file_extent_compression(leaf, fi); in btrfs_extent_item_to_extent_map() local
1354 if (compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
1355 btrfs_extent_map_set_compression(em, compress_type); in btrfs_extent_item_to_extent_map()
1375 btrfs_extent_map_set_compression(em, compress_type); in btrfs_extent_item_to_extent_map()
H A Dinode.c462 int compress_type, in insert_inline_extent() argument
521 if (compress_type != BTRFS_COMPRESS_NONE) { in insert_inline_extent()
527 compress_type); in insert_inline_extent()
631 int compress_type, in __cow_file_range_inline() argument
670 size, compressed_size, compress_type, in __cow_file_range_inline()
896 int compress_type = fs_info->compress_type; in compress_file_range() local
961 compress_type = inode->defrag_compress; in compress_file_range()
964 compress_type = inode->prop_compress; in compress_file_range()
968 cb = btrfs_compress_bio(inode, start, cur_len, compress_type, in compress_file_range()
1113 file_extent.compression = async_extent->cb->compress_type; in submit_one_async_extent()
[all …]
H A Dfs.h576 int compress_type; member
H A Ddisk-io.c2885 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_init_fs_info()
3204 if (fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_check_features()
3206 else if (fs_info->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_check_features()
H A Dtree-log.c5147 enum btrfs_compression_type compress_type; in log_one_extent() local
5160 compress_type = btrfs_extent_map_compression(em); in log_one_extent()
5161 if (compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
5172 btrfs_set_stack_file_extent_compression(&fi, compress_type); in log_one_extent()
H A Dioctl.c361 comp = btrfs_compress_type2str(fs_info->compress_type); in btrfs_fileattr_set()
/linux/include/trace/events/
H A Dbtrfs.h514 __field( int, compress_type )
528 __entry->compress_type = ordered->compress_type;
548 __entry->compress_type, __entry->refs)