Home
last modified time | relevance | path

Searched refs:csum_size (Results 1 – 20 of 20) sorted by relevance

/linux/fs/btrfs/
A Dfile-item.c125 u16 csum_size) in max_ordered_sum_bytes() argument
190 const u32 csum_size = fs_info->csum_size; in btrfs_lookup_csum() local
263 const u32 csum_size = fs_info->csum_size; in search_csum_tree() local
371 const u32 csum_size = fs_info->csum_size; in btrfs_lookup_bio_sums() local
508 const u32 csum_size = fs_info->csum_size; in btrfs_lookup_csums_range() local
747 const u32 csum_size = fs_info->csum_size; in truncate_one_csum() local
801 const u32 csum_size = fs_info->csum_size; in btrfs_del_csums() local
985 const u32 csum_size = fs_info->csum_size; in btrfs_csum_file_blocks() local
1051 csum_size, 1); in btrfs_csum_file_blocks()
1074 csum_size) { in btrfs_csum_file_blocks()
[all …]
A Dbtrfs_inode.h406 const u32 csum_size = root->fs_info->csum_size; in btrfs_print_data_csum_error() local
414 CSUM_FMT_VALUE(csum_size, csum), in btrfs_print_data_csum_error()
415 CSUM_FMT_VALUE(csum_size, csum_expected), in btrfs_print_data_csum_error()
422 CSUM_FMT_VALUE(csum_size, csum), in btrfs_print_data_csum_error()
423 CSUM_FMT_VALUE(csum_size, csum_expected), in btrfs_print_data_csum_error()
A Dcompression.c143 (DIV_ROUND_UP(disk_size, fs_info->sectorsize)) * fs_info->csum_size; in compressed_bio_size()
151 const u32 csum_size = fs_info->csum_size; in check_compressed_csum() local
182 if (memcmp(&csum, cb_sum, csum_size) != 0) { in check_compressed_csum()
191 cb_sum += csum_size; in check_compressed_csum()
932 sums += fs_info->csum_size * nr_sectors; in btrfs_submit_compressed_read()
A Dordered-data.h160 return sizeof(struct btrfs_ordered_sum) + num_sectors * fs_info->csum_size; in btrfs_ordered_sum_size()
A Dscrub.c1347 sctx->fs_info->csum_size); in scrub_setup_recheck_block()
1838 if (memcmp(csum, spage->csum, fs_info->csum_size)) in scrub_checksum_data()
1870 memcpy(on_disk_csum, h->csum, sctx->fs_info->csum_size); in scrub_checksum_tree_block()
1903 if (memcmp(calculated_csum, on_disk_csum, sctx->fs_info->csum_size)) in scrub_checksum_tree_block()
1940 if (memcmp(calculated_csum, s->csum, sctx->fs_info->csum_size)) in scrub_checksum_super()
2313 memcpy(spage->csum, csum, sctx->fs_info->csum_size); in scrub_pages()
2525 memcpy(csum, sum->sums + index * sctx->fs_info->csum_size, in scrub_find_csum()
2526 sctx->fs_info->csum_size); in scrub_find_csum()
2650 memcpy(spage->csum, csum, sctx->fs_info->csum_size); in scrub_pages_for_parity()
A Ddisk-io.c305 if (memcmp(disk_sb->csum, result, fs_info->csum_size)) in btrfs_check_super_csum()
452 write_extent_buffer(eb, result, 0, fs_info->csum_size); in csum_one_extent_buffer()
568 const u32 csum_size = fs_info->csum_size; in validate_extent_buffer() local
599 if (memcmp(result, header_csum, csum_size) != 0) { in validate_extent_buffer()
603 CSUM_FMT_VALUE(csum_size, header_csum), in validate_extent_buffer()
604 CSUM_FMT_VALUE(csum_size, result), in validate_extent_buffer()
3265 fs_info->csum_size = btrfs_super_csum_size(disk_super); in open_ctree()
3348 fs_info->csums_per_leaf = BTRFS_MAX_ITEM_SIZE(fs_info) / fs_info->csum_size; in open_ctree()
A Dextent_io.c2668 const u32 csum_size = fs_info->csum_size; in btrfs_repair_one_sector() local
2672 failed_bbio->csum + csum_size * icsum, csum_size); in btrfs_repair_one_sector()
A Dinode.c3247 const u32 csum_size = fs_info->csum_size; in check_data_csum() local
3255 csum_expected = ((u8 *)bbio->csum) + offset_sectors * csum_size; in check_data_csum()
3262 if (memcmp(csum, csum_expected, csum_size)) in check_data_csum()
8222 csum_offset *= fs_info->csum_size; in btrfs_submit_dio_bio()
8250 dip_size += fs_info->csum_size * nblocks; in btrfs_create_dio_private()
A Dtree-checker.c343 const u32 csumsize = fs_info->csum_size; in check_csum_item()
A Dcheck-integrity.c1678 if (memcmp(csum, h->csum, fs_info->csum_size)) in btrfsic_test_for_metadata()
A Dctree.h996 u32 csum_size; member
A Dioctl.c3324 fi_args->csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_ioctl_fs_info()
/linux/fs/ext4/
A Dnamei.c1917 int csum_size = 0; in do_split() local
1988 if (csum_size) { in do_split()
2102 int csum_size = 0; in add_dirent_to_buf() local
2166 int csum_size = 0; in make_indexed_dir() local
2212 if (csum_size) in make_indexed_dir()
2298 int csum_size = 0; in ext4_add_entry() local
2386 if (csum_size) in ext4_add_entry()
2582 int csum_size) in ext4_generic_delete_entry() argument
2632 int err, csum_size = 0; in ext4_delete_entry() local
2878 int csum_size = 0; in ext4_init_new_dir() local
[all …]
A Dinline.c1147 int err, csum_size = 0, header_size = 0; in ext4_finish_convert_inline_dir() local
1157 inode->i_sb->s_blocksize, csum_size, in ext4_finish_convert_inline_dir()
1165 csum_size = sizeof(struct ext4_dir_entry_tail); in ext4_finish_convert_inline_dir()
1172 inode->i_sb->s_blocksize - csum_size); in ext4_finish_convert_inline_dir()
1174 if (csum_size) in ext4_finish_convert_inline_dir()
A Dinode.c59 unsigned int csum_size = sizeof(dummy_csum); in ext4_inode_csum() local
62 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, csum_size); in ext4_inode_csum()
63 offset += csum_size; in ext4_inode_csum()
74 csum_size); in ext4_inode_csum()
75 offset += csum_size; in ext4_inode_csum()
A Dext4.h3088 int csum_size);
3647 int blocksize, int csum_size,
/linux/fs/jbd2/
A Drevoke.c578 int csum_size = 0; in write_one_revoke_record() local
594 csum_size = sizeof(struct jbd2_journal_block_tail); in write_one_revoke_record()
603 if (offset + sz > journal->j_blocksize - csum_size) { in write_one_revoke_record()
A Drecovery.c899 unsigned csum_size = 0; in scan_revoke_records() local
908 csum_size = sizeof(struct jbd2_journal_block_tail); in scan_revoke_records()
909 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
A Dcommit.c408 int csum_size = 0; in jbd2_journal_commit_transaction() local
413 csum_size = sizeof(struct jbd2_journal_block_tail); in jbd2_journal_commit_transaction()
747 space_left < tag_bytes + 16 + csum_size) { in jbd2_journal_commit_transaction()
/linux/include/uapi/linux/
A Dbtrfs.h267 __u16 csum_size; /* out */ member

Completed in 150 milliseconds