Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dsuper.c396 char *compress_type; in btrfs_parse_options() local
478 compress_type = "zlib"; in btrfs_parse_options()
479 info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_options()
484 compress_type = "lzo"; in btrfs_parse_options()
485 info->compress_type = BTRFS_COMPRESS_LZO; in btrfs_parse_options()
491 compress_type = "no"; in btrfs_parse_options()
503 compress_type); in btrfs_parse_options()
508 compress_type); in btrfs_parse_options()
1034 char *compress_type; in btrfs_show_options() local
1052 if (info->compress_type == BTRFS_COMPRESS_ZLIB) in btrfs_show_options()
[all …]
Dordered-data.h112 int compress_type; member
180 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
207 entry->compress_type = compress_type; in __btrfs_add_ordered_extent()
268 int type, int compress_type) in btrfs_add_ordered_extent_compress() argument
272 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()
324 int compress_type; member
343 int compress_type) in add_async_extent() argument
354 async_extent->compress_type = compress_type; in add_async_extent()
414 int compress_type = root->fs_info->compress_type; in compress_file_range() local
481 compress_type = BTRFS_I(inode)->force_compress; in compress_file_range()
[all …]
Dextent_io.h165 int compress_type) in extent_set_compress_type() argument
167 *bio_flags |= compress_type << EXTENT_BIO_FLAG_SHIFT; in extent_set_compress_type()
Dcompression.c65 int compress_type; member
181 ret = btrfs_decompress_biovec(cb->compress_type, in end_compressed_bio_read()
621 cb->compress_type = extent_compress_type(bio_flags); in btrfs_submit_compressed_read()
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()
2208 hole_em->compress_type = BTRFS_COMPRESS_NONE; in fill_holes()
Dextent_map.c56 em->compress_type = BTRFS_COMPRESS_NONE; in alloc_extent_map()
Dioctl.c325 if (root->fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_ioctl_setflags()
1258 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1272 if (range->compress_type > BTRFS_COMPRESS_TYPES) in btrfs_defrag_file()
1274 if (range->compress_type) in btrfs_defrag_file()
1275 compress_type = range->compress_type; in btrfs_defrag_file()
1380 BTRFS_I(inode)->force_compress = compress_type; in btrfs_defrag_file()
1443 if (range->compress_type == BTRFS_COMPRESS_LZO) { in btrfs_defrag_file()
3152 em->compress_type = BTRFS_COMPRESS_NONE; in clone_update_extent_map()
Dtree-log.c3900 if (em->compress_type) { in wait_ordered_extents()
3991 if (em->compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
4012 btrfs_set_token_file_extent_compression(leaf, fi, em->compress_type, in log_one_extent()
Dctree.h1451 unsigned long compress_type:4; member
1980 __u32 compress_type; member
Ddisk-io.c2682 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in open_ctree()
2722 if (tree_root->fs_info->compress_type == BTRFS_COMPRESS_LZO) in open_ctree()
Dextent_io.c2251 em->compress_type); in btrfs_get_io_failure_record()
2994 em->compress_type); in __do_readpage()
/linux-4.1.27/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.1.27/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()