Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
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()
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()
Dcudbg_if.h81 u8 compress_type; /* Type of compression to use */ member
Dcudbg_lib_common.h31 u8 compress_type:4; member
Dcudbg_lib.c463 if (pdbg_init->compress_type == CUDBG_COMPRESSION_NONE) { in cudbg_write_and_release_buff()
/linux-6.1.9/fs/btrfs/
Dsuper.c625 char *compress_type; in btrfs_parse_options() local
714 info->compress_type : BTRFS_COMPRESS_NONE; in btrfs_parse_options()
721 compress_type = "zlib"; in btrfs_parse_options()
723 info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_options()
741 compress_type = "lzo"; in btrfs_parse_options()
742 info->compress_type = BTRFS_COMPRESS_LZO; in btrfs_parse_options()
750 compress_type = "zstd"; in btrfs_parse_options()
751 info->compress_type = BTRFS_COMPRESS_ZSTD; in btrfs_parse_options()
762 compress_type = "no"; in btrfs_parse_options()
764 info->compress_type = 0; in btrfs_parse_options()
[all …]
Dordered-data.h123 int compress_type; member
185 int compress_type);
Dfile-item.c1223 int compress_type = btrfs_file_extent_compression(leaf, fi); in btrfs_extent_item_to_extent_map() local
1242 if (compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
1244 em->compress_type = compress_type; in btrfs_extent_item_to_extent_map()
1264 if (!new_inline && compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
1266 em->compress_type = compress_type; in btrfs_extent_item_to_extent_map()
Dextent_map.c58 em->compress_type = BTRFS_COMPRESS_NONE; in alloc_extent_map()
809 split->compress_type = em->compress_type; in btrfs_drop_extent_map_range()
826 split->compress_type = em->compress_type; in btrfs_drop_extent_map_range()
Dinode.c125 u64 ram_bytes, int compress_type,
285 int compress_type, in insert_inline_extent() argument
329 if (compress_type != BTRFS_COMPRESS_NONE) { in insert_inline_extent()
346 compress_type); in insert_inline_extent()
393 int compress_type, in cow_file_range_inline() argument
441 size, compressed_size, compress_type, in cow_file_range_inline()
481 int compress_type; member
507 int compress_type) in add_async_extent() argument
518 async_extent->compress_type = compress_type; in add_async_extent()
628 int compress_type = fs_info->compress_type; in compress_file_range() local
[all …]
Dextent_map.h56 unsigned int compress_type; member
Dcompression.h55 u8 compress_type; member
Dextent_io.c95 enum btrfs_compression_type compress_type; member
138 bio_ctrl->compress_type); in submit_one_bio()
1365 enum btrfs_compression_type compress_type) in btrfs_bio_add_page() argument
1377 if (bio_ctrl->compress_type != compress_type) in btrfs_bio_add_page()
1384 } else if (bio_ctrl->compress_type == BTRFS_COMPRESS_NONE) { in btrfs_bio_add_page()
1448 if (bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) { in calc_bio_boundaries()
1490 enum btrfs_compression_type compress_type) in alloc_new_bio() argument
1503 if (compress_type != BTRFS_COMPRESS_NONE) in alloc_new_bio()
1508 bio_ctrl->compress_type = compress_type; in alloc_new_bio()
1571 enum btrfs_compression_type compress_type, in submit_extent_page() argument
[all …]
Dordered-data.c167 int compress_type) in btrfs_add_ordered_extent() argument
204 entry->compress_type = compress_type; in btrfs_add_ordered_extent()
1108 ordered->compress_type); in clone_ordered_extent()
Dcompression.c104 switch (cb->compress_type) { in compression_decompress_bio()
695 ASSERT(em->compress_type != BTRFS_COMPRESS_NONE); in btrfs_submit_compressed_read()
713 cb->compress_type = em->compress_type; in btrfs_submit_compressed_read()
1218 int type = cb->compress_type; in btrfs_decompress_bio()
Dextent_io.h72 enum btrfs_compression_type compress_type);
Dioctl.c341 comp = btrfs_compress_type2str(fs_info->compress_type); in btrfs_fileattr_set()
1809 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1821 if (range->compress_type >= BTRFS_NR_COMPRESS_TYPES) in btrfs_defrag_file()
1823 if (range->compress_type) in btrfs_defrag_file()
1824 compress_type = range->compress_type; in btrfs_defrag_file()
1888 BTRFS_I(inode)->defrag_compress = compress_type; in btrfs_defrag_file()
1926 if (range->compress_type == BTRFS_COMPRESS_LZO) in btrfs_defrag_file()
1928 else if (range->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_defrag_file()
Dctree.h704 unsigned long compress_type:4; member
3356 int mirror_num, enum btrfs_compression_type compress_type);
3461 int compress_type);
Ddisk-io.c3345 if (fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_check_features()
3347 else if (fs_info->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_check_features()
3538 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in open_ctree()
Dtree-log.c4652 if (em->compress_type) { in log_extent_csums()
4704 if (em->compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
4716 btrfs_set_stack_file_extent_compression(&fi, em->compress_type); in log_one_extent()
Dfile.c2460 hole_em->compress_type = BTRFS_COMPRESS_NONE; in fill_holes()
/linux-6.1.9/fs/btrfs/tests/
Dinode-tests.c617 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
619 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
651 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
653 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
714 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
716 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
/linux-6.1.9/include/trace/events/
Dbtrfs.h302 __field( unsigned int, compress_type )
315 __entry->compress_type = map->compress_type;
330 __entry->refs, __entry->compress_type)
530 __field( int, compress_type )
544 __entry->compress_type = ordered->compress_type;
564 __entry->compress_type, __entry->refs)
/linux-6.1.9/include/uapi/linux/
Dbtrfs.h612 __u32 compress_type; member