Home
last modified time | relevance | path

Searched refs:compress_type (Results 1 – 20 of 20) 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 Dsuper.c86 unsigned long compress_type:4; member
352 ctx->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_param()
358 ctx->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_param()
366 ctx->compress_type = BTRFS_COMPRESS_LZO; in btrfs_parse_param()
372 ctx->compress_type = BTRFS_COMPRESS_ZSTD; in btrfs_parse_param()
381 ctx->compress_type = 0; in btrfs_parse_param()
1052 const char *compress_type; in btrfs_show_options() local
1070 compress_type = btrfs_compress_type2str(info->compress_type); in btrfs_show_options()
1072 seq_printf(seq, ",compress-force=%s", compress_type); in btrfs_show_options()
1074 seq_printf(seq, ",compress=%s", compress_type); in btrfs_show_options()
[all …]
H A Ddefrag.c1365 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1379 if (range->compress_type >= BTRFS_NR_COMPRESS_TYPES) in btrfs_defrag_file()
1381 if (range->compress_type) in btrfs_defrag_file()
1382 compress_type = range->compress_type; in btrfs_defrag_file()
1434 BTRFS_I(inode)->defrag_compress = compress_type; in btrfs_defrag_file()
1470 if (range->compress_type == BTRFS_COMPRESS_LZO) in btrfs_defrag_file()
1472 else if (range->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_defrag_file()
H A Dordered-data.h124 int compress_type; member
H A Dinode.c492 int compress_type, in insert_inline_extent() argument
549 if (compress_type != BTRFS_COMPRESS_NONE) { in insert_inline_extent()
555 compress_type); in insert_inline_extent()
650 int compress_type, in __cow_file_range_inline() argument
686 size, compressed_size, compress_type, in __cow_file_range_inline()
724 int compress_type, in cow_file_range_inline() argument
739 compress_type, compressed_folio, in cow_file_range_inline()
775 int compress_type; member
801 int compress_type) in add_async_extent() argument
813 async_extent->compress_type = compress_type; in add_async_extent()
[all …]
H A Dextent_io.c99 enum btrfs_compression_type compress_type; member
124 bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) in submit_one_bio()
679 if (bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) { in btrfs_bio_is_contig()
777 ASSERT(bio_ctrl->compress_type == BTRFS_COMPRESS_NONE); in submit_extent_folio()
977 enum btrfs_compression_type compress_type = BTRFS_COMPRESS_NONE; in btrfs_do_readpage() local
998 compress_type = extent_map_compression(em); in btrfs_do_readpage()
1002 if (compress_type != BTRFS_COMPRESS_NONE) in btrfs_do_readpage()
1044 if (compress_type != BTRFS_COMPRESS_NONE && in btrfs_do_readpage()
1072 if (bio_ctrl->compress_type != compress_type) { in btrfs_do_readpage()
1074 bio_ctrl->compress_type = compress_type; in btrfs_do_readpage()
H A Dcompression.h60 u8 compress_type; member
H A Dordered-data.c151 u64 offset, unsigned long flags, int compress_type) in alloc_ordered_extent() argument
184 entry->compress_type = compress_type; in alloc_ordered_extent()
1243 len, 0, flags, ordered->compress_type); in btrfs_split_ordered_extent()
H A Dfile-item.c1285 int compress_type = btrfs_file_extent_compression(leaf, fi); in btrfs_extent_item_to_extent_map() local
1306 if (compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
1307 extent_map_set_compression(em, compress_type); in btrfs_extent_item_to_extent_map()
1327 extent_map_set_compression(em, compress_type); in btrfs_extent_item_to_extent_map()
H A Dcompression.c126 switch (cb->compress_type) { in compression_decompress_bio()
603 cb->compress_type = extent_map_compression(em); in btrfs_submit_compressed_read()
1050 int type = cb->compress_type; in btrfs_decompress_bio()
H A Dbtrfs_inode.h613 int compress_type);
H A Dfs.h488 unsigned long compress_type:4; member
H A Ddisk-io.c2827 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_init_fs_info()
3137 if (fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_check_features()
3139 else if (fs_info->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_check_features()
H A Dtree-log.c4714 enum btrfs_compression_type compress_type; in log_one_extent() local
4727 compress_type = extent_map_compression(em); in log_one_extent()
4728 if (compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
4739 btrfs_set_stack_file_extent_compression(&fi, compress_type); in log_one_extent()
H A Dioctl.c363 comp = btrfs_compress_type2str(fs_info->compress_type); in btrfs_fileattr_set()
/linux/include/trace/events/
H A Dbtrfs.h513 __field( int, compress_type )
527 __entry->compress_type = ordered->compress_type;
547 __entry->compress_type, __entry->refs)