Home
last modified time | relevance | path

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

/fs/btrfs/
A Dsuper.c86 unsigned long compress_type:4; member
290 ctx->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_compress()
296 ctx->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_parse_compress()
303 ctx->compress_type = BTRFS_COMPRESS_LZO; in btrfs_parse_compress()
318 ctx->compress_type = 0; in btrfs_parse_compress()
1059 const char *compress_type; in btrfs_show_options() local
1077 compress_type = btrfs_compress_type2str(info->compress_type); in btrfs_show_options()
1408 fs_info->compress_type = ctx->compress_type; in btrfs_ctx_to_info()
1419 ctx->compress_type = fs_info->compress_type; in btrfs_info_to_ctx()
1478 old->compress_type != info->compress_type || in btrfs_emit_options()
[all …]
A Ddefrag.c1368 int compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_defrag_file() local
1387 compress_type = range->compress.type; in btrfs_defrag_file()
1389 if (!btrfs_compress_level_valid(compress_type, compress_level)) in btrfs_defrag_file()
1393 if (range->compress_type >= BTRFS_NR_COMPRESS_TYPES) in btrfs_defrag_file()
1395 if (range->compress_type) in btrfs_defrag_file()
1396 compress_type = range->compress_type; in btrfs_defrag_file()
1399 compress_type = BTRFS_DEFRAG_DONT_COMPRESS; in btrfs_defrag_file()
1452 inode->defrag_compress = compress_type; in btrfs_defrag_file()
1491 if (range->compress_type == BTRFS_COMPRESS_LZO) in btrfs_defrag_file()
1493 else if (range->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_defrag_file()
A Dextent_io.c101 enum btrfs_compression_type compress_type; member
127 bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) in submit_one_bio()
642 if (bio_ctrl->compress_type != BTRFS_COMPRESS_NONE) { in btrfs_bio_is_contig()
733 ASSERT(bio_ctrl->compress_type == BTRFS_COMPRESS_NONE); in submit_extent_folio()
940 enum btrfs_compression_type compress_type = BTRFS_COMPRESS_NONE; in btrfs_do_readpage() local
965 compress_type = btrfs_extent_map_compression(em); in btrfs_do_readpage()
974 compress_type != BTRFS_COMPRESS_NONE) in btrfs_do_readpage()
977 if (compress_type != BTRFS_COMPRESS_NONE) in btrfs_do_readpage()
1021 if (compress_type != BTRFS_COMPRESS_NONE && in btrfs_do_readpage()
1044 if (bio_ctrl->compress_type != compress_type) { in btrfs_do_readpage()
[all …]
A Dinode.c456 int compress_type, in insert_inline_extent() argument
519 compress_type); in insert_inline_extent()
604 int compress_type, in __cow_file_range_inline() argument
678 int compress_type, in cow_file_range_inline() argument
729 int compress_type; member
767 async_extent->compress_type = compress_type; in add_async_extent()
866 int compress_type = fs_info->compress_type; in compress_file_range() local
3084 int compress_type = 0; in btrfs_finish_one_ordered() local
3174 compress_type = ordered_extent->compress_type; in btrfs_finish_one_ordered()
3176 BUG_ON(compress_type); in btrfs_finish_one_ordered()
[all …]
A Dordered-data.c151 u64 offset, unsigned long flags, int compress_type) in alloc_ordered_extent() argument
194 entry->compress_type = compress_type; in alloc_ordered_extent()
1279 len, 0, flags, ordered->compress_type); in btrfs_split_ordered_extent()
A Dordered-data.h125 int compress_type; member
A Dfile-item.c1277 int compress_type = btrfs_file_extent_compression(leaf, fi); in btrfs_extent_item_to_extent_map() local
1298 if (compress_type != BTRFS_COMPRESS_NONE) { in btrfs_extent_item_to_extent_map()
1299 btrfs_extent_map_set_compression(em, compress_type); in btrfs_extent_item_to_extent_map()
1319 btrfs_extent_map_set_compression(em, compress_type); in btrfs_extent_item_to_extent_map()
A Dcompression.h63 u8 compress_type; member
A Dcompression.c126 switch (cb->compress_type) { in compression_decompress_bio()
603 cb->compress_type = btrfs_extent_map_compression(em); in btrfs_submit_compressed_read()
1058 int type = cb->compress_type; in btrfs_decompress_bio()
A Dbtrfs_inode.h634 int compress_type);
A Dfs.h508 int compress_type; member
A Ddisk-io.c2900 fs_info->compress_type = BTRFS_COMPRESS_ZLIB; in btrfs_init_fs_info()
3214 if (fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_check_features()
3216 else if (fs_info->compress_type == BTRFS_COMPRESS_ZSTD) in btrfs_check_features()
A Dtree-log.c4744 enum btrfs_compression_type compress_type; in log_one_extent() local
4757 compress_type = btrfs_extent_map_compression(em); in log_one_extent()
4758 if (compress_type != BTRFS_COMPRESS_NONE) { in log_one_extent()
4769 btrfs_set_stack_file_extent_compression(&fi, compress_type); in log_one_extent()
A Dioctl.c361 comp = btrfs_compress_type2str(fs_info->compress_type); in btrfs_fileattr_set()

Completed in 85 milliseconds