Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
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()
Dcxgb4_cudbg.c439 cudbg_init.compress_type = CUDBG_COMPRESSION_ZLIB; in cxgb4_cudbg_collect()
446 cudbg_init.compress_type = CUDBG_COMPRESSION_NONE; in cxgb4_cudbg_collect()
450 cudbg_init.compress_type = CUDBG_COMPRESSION_NONE; in cxgb4_cudbg_collect()
453 cudbg_hdr->compress_type = cudbg_init.compress_type; in cxgb4_cudbg_collect()
473 if (cudbg_init.compress_type != CUDBG_COMPRESSION_NONE) in cxgb4_cudbg_collect()
Dcudbg_if.h80 u8 compress_type; /* Type of compression to use */ member
Dcudbg_lib_common.h31 u8 compress_type:4; member
Dcudbg_lib.c55 if (pdbg_init->compress_type == CUDBG_COMPRESSION_NONE) { in cudbg_write_and_release_buff()
/Linux-v5.4/fs/btrfs/
Dsuper.c435 char *compress_type; in btrfs_parse_options() local
517 info->compress_type : BTRFS_COMPRESS_NONE; in btrfs_parse_options()
523 compress_type = "zlib"; in btrfs_parse_options()
525 info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_options()
543 compress_type = "lzo"; in btrfs_parse_options()
544 info->compress_type = BTRFS_COMPRESS_LZO; in btrfs_parse_options()
551 compress_type = "zstd"; in btrfs_parse_options()
552 info->compress_type = BTRFS_COMPRESS_ZSTD; in btrfs_parse_options()
563 compress_type = "no"; in btrfs_parse_options()
585 (info->compress_type != saved_compress_type || in btrfs_parse_options()
[all …]
Dordered-data.h99 int compress_type; member
169 int type, int compress_type);
Dfile-item.c946 int compress_type = btrfs_file_extent_compression(leaf, fi); in btrfs_extent_item_to_extent_map() local
976 if (compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
978 em->compress_type = compress_type; in btrfs_extent_item_to_extent_map()
998 if (!new_inline && compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
1000 em->compress_type = compress_type; in btrfs_extent_item_to_extent_map()
Dordered-data.c176 int type, int dio, int compress_type) in __btrfs_add_ordered_extent() argument
195 entry->compress_type = compress_type; in __btrfs_add_ordered_extent()
267 int type, int compress_type) in btrfs_add_ordered_extent_compress() argument
271 compress_type); in btrfs_add_ordered_extent_compress()
Dextent_map.h55 unsigned int compress_type; member
Dcompression.h48 int compress_type; member
Dinode.c90 u64 ram_bytes, int compress_type,
170 int compress_type, in insert_inline_extent() argument
215 if (compress_type != BTRFS_COMPRESS_NONE) { in insert_inline_extent()
232 compress_type); in insert_inline_extent()
270 int compress_type, in cow_file_range_inline() argument
330 compress_type, compressed_pages); in cow_file_range_inline()
360 int compress_type; member
386 int compress_type) in add_async_extent() argument
397 async_extent->compress_type = compress_type; in add_async_extent()
485 int compress_type = fs_info->compress_type; in compress_file_range() local
[all …]
Dextent_io.h244 int compress_type) in extent_set_compress_type() argument
246 *bio_flags |= compress_type << EXTENT_BIO_FLAG_SHIFT; in extent_set_compress_type()
Dioctl.c291 comp = btrfs_compress_type2str(fs_info->compress_type); in btrfs_ioctl_setflags()
1397 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1412 if (range->compress_type > BTRFS_COMPRESS_TYPES) in btrfs_defrag_file()
1414 if (range->compress_type) in btrfs_defrag_file()
1415 compress_type = range->compress_type; in btrfs_defrag_file()
1522 BTRFS_I(inode)->defrag_compress = compress_type; in btrfs_defrag_file()
1570 if (range->compress_type == BTRFS_COMPRESS_LZO) { in btrfs_defrag_file()
1572 } else if (range->compress_type == BTRFS_COMPRESS_ZSTD) { in btrfs_defrag_file()
Dfile.c672 split->compress_type = em->compress_type; in btrfs_drop_extent_cache()
685 split->compress_type = em->compress_type; in btrfs_drop_extent_cache()
2363 hole_em->compress_type = BTRFS_COMPRESS_NONE; in fill_holes()
Dcompression.c598 cb->compress_type = extent_compress_type(bio_flags); in btrfs_submit_compressed_read()
1071 int type = cb->compress_type; in btrfs_decompress_bio()
Dextent_map.c58 em->compress_type = BTRFS_COMPRESS_NONE; in alloc_extent_map()
Ddisk-io.c2892 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in open_ctree()
2912 if (fs_info->compress_type == BTRFS_COMPRESS_LZO) in open_ctree()
2914 else if (fs_info->compress_type == BTRFS_COMPRESS_ZSTD) in open_ctree()
Dtree-log.c4274 if (em->compress_type) { in log_extent_csums()
4356 if (em->compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
4377 btrfs_set_token_file_extent_compression(leaf, fi, em->compress_type, in log_one_extent()
Dextent_io.c2421 em->compress_type); in btrfs_get_io_failure_record()
3132 em->compress_type); in __do_readpage()
Dctree.h593 unsigned long compress_type:4; member
/Linux-v5.4/fs/btrfs/tests/
Dinode-tests.c624 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
626 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
658 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
660 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
721 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
723 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
/Linux-v5.4/include/trace/events/
Dbtrfs.h262 __field( unsigned int, compress_type )
275 __entry->compress_type = map->compress_type;
290 __entry->refs, __entry->compress_type)
490 __field( int, compress_type )
504 __entry->compress_type = ordered->compress_type;
525 __entry->compress_type, __entry->refs)
/Linux-v5.4/include/uapi/linux/
Dbtrfs.h566 __u32 compress_type; member