Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dsuper.c382 char *compress_type; in btrfs_parse_options() local
464 compress_type = "zlib"; in btrfs_parse_options()
465 info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_options()
470 compress_type = "lzo"; in btrfs_parse_options()
471 info->compress_type = BTRFS_COMPRESS_LZO; in btrfs_parse_options()
477 compress_type = "no"; in btrfs_parse_options()
489 compress_type); in btrfs_parse_options()
494 compress_type); in btrfs_parse_options()
1122 char *compress_type; in btrfs_show_options() local
1140 if (info->compress_type == BTRFS_COMPRESS_ZLIB) in btrfs_show_options()
[all …]
Dordered-data.h111 int compress_type; member
179 int type, int compress_type);
Dfile-item.c892 int compress_type = btrfs_file_extent_compression(leaf, fi); in btrfs_extent_item_to_extent_map() local
921 if (compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
923 em->compress_type = compress_type; in btrfs_extent_item_to_extent_map()
943 if (!new_inline && compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
945 em->compress_type = compress_type; in btrfs_extent_item_to_extent_map()
Dextent_map.h37 unsigned int compress_type; member
Dordered-data.c186 int type, int dio, int compress_type) in __btrfs_add_ordered_extent() argument
204 entry->compress_type = compress_type; in __btrfs_add_ordered_extent()
265 int type, int compress_type) in btrfs_add_ordered_extent_compress() argument
269 compress_type); in btrfs_add_ordered_extent_compress()
Dinode.c140 int compress_type, in insert_inline_extent() argument
185 if (compress_type != BTRFS_COMPRESS_NONE) { in insert_inline_extent()
202 compress_type); in insert_inline_extent()
242 int compress_type, in cow_file_range_inline() argument
300 compress_type, compressed_pages); in cow_file_range_inline()
331 int compress_type; member
350 int compress_type) in add_async_extent() argument
361 async_extent->compress_type = compress_type; in add_async_extent()
421 int compress_type = root->fs_info->compress_type; in compress_file_range() local
488 compress_type = BTRFS_I(inode)->force_compress; in compress_file_range()
[all …]
Dextent_io.h178 int compress_type) in extent_set_compress_type() argument
180 *bio_flags |= compress_type << EXTENT_BIO_FLAG_SHIFT; in extent_set_compress_type()
Dcompression.c65 int compress_type; member
178 ret = btrfs_decompress_biovec(cb->compress_type, in end_compressed_bio_read()
617 cb->compress_type = extent_compress_type(bio_flags); in btrfs_submit_compressed_read()
Dextent_map.c56 em->compress_type = BTRFS_COMPRESS_NONE; in alloc_extent_map()
Dfile.c616 split->compress_type = em->compress_type; in btrfs_drop_extent_cache()
629 split->compress_type = em->compress_type; in btrfs_drop_extent_cache()
2231 hole_em->compress_type = BTRFS_COMPRESS_NONE; in fill_holes()
Dioctl.c326 if (root->fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_ioctl_setflags()
1267 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1281 if (range->compress_type > BTRFS_COMPRESS_TYPES) in btrfs_defrag_file()
1283 if (range->compress_type) in btrfs_defrag_file()
1284 compress_type = range->compress_type; in btrfs_defrag_file()
1389 BTRFS_I(inode)->force_compress = compress_type; in btrfs_defrag_file()
1452 if (range->compress_type == BTRFS_COMPRESS_LZO) { in btrfs_defrag_file()
3351 em->compress_type = BTRFS_COMPRESS_NONE; in clone_update_extent_map()
Dtree-log.c4002 if (em->compress_type) { in wait_ordered_extents()
4093 if (em->compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
4114 btrfs_set_token_file_extent_compression(leaf, fi, em->compress_type, in log_one_extent()
Dctree.h1485 unsigned long compress_type:4; member
2010 __u32 compress_type; member
Ddisk-io.c2730 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in open_ctree()
2770 if (tree_root->fs_info->compress_type == BTRFS_COMPRESS_LZO) in open_ctree()
Dextent_io.c2319 em->compress_type); in btrfs_get_io_failure_record()
3061 em->compress_type); in __do_readpage()
/linux-4.4.14/include/trace/events/
Dbtrfs.h186 __field( unsigned int, compress_type )
198 __entry->compress_type = map->compress_type;
212 __entry->refs, __entry->compress_type)
243 __field( int, compress_type )
256 __entry->compress_type = ordered->compress_type;
274 __entry->compress_type, __entry->refs)
/linux-4.4.14/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()
657 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
659 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()
718 if (em->compress_type != BTRFS_COMPRESS_ZLIB) { in test_btrfs_get_extent()
720 BTRFS_COMPRESS_ZLIB, em->compress_type); in test_btrfs_get_extent()