Searched refs:sums (Results 1 – 9 of 9) sorted by relevance
/fs/btrfs/ |
D | file-item.c | 333 struct btrfs_ordered_sum *sums; in btrfs_lookup_csums_range() local 408 sums = kzalloc(btrfs_ordered_sum_size(root, size), in btrfs_lookup_csums_range() 410 if (!sums) { in btrfs_lookup_csums_range() 415 sums->bytenr = start; in btrfs_lookup_csums_range() 416 sums->len = (int)size; in btrfs_lookup_csums_range() 424 sums->sums, in btrfs_lookup_csums_range() 429 list_add_tail(&sums->list, &tmplist); in btrfs_lookup_csums_range() 436 sums = list_entry(tmplist.next, struct btrfs_ordered_sum, list); in btrfs_lookup_csums_range() 437 list_del(&sums->list); in btrfs_lookup_csums_range() 438 kfree(sums); in btrfs_lookup_csums_range() [all …]
|
D | compression.c | 81 u32 sums; member 112 u32 *cb_sum = &cb->sums; in check_compressed_csum() 591 u32 *sums; in btrfs_submit_compressed_read() local 614 sums = &cb->sums; in btrfs_submit_compressed_read() 693 comp_bio, sums); in btrfs_submit_compressed_read() 696 sums += DIV_ROUND_UP(comp_bio->bi_iter.bi_size, in btrfs_submit_compressed_read() 725 ret = btrfs_lookup_bio_sums(root, inode, comp_bio, sums); in btrfs_submit_compressed_read()
|
D | tree-log.c | 796 struct btrfs_ordered_sum *sums; in replay_one_extent() local 797 sums = list_entry(ordered_sums.next, in replay_one_extent() 803 sums->bytenr, in replay_one_extent() 804 sums->len); in replay_one_extent() 808 sums); in replay_one_extent() 809 list_del(&sums->list); in replay_one_extent() 810 kfree(sums); in replay_one_extent() 3752 struct btrfs_ordered_sum *sums = list_entry(ordered_sums.next, in copy_items() local 3756 ret = btrfs_csum_file_blocks(trans, log, sums); in copy_items() 3757 list_del(&sums->list); in copy_items() [all …]
|
D | ordered-data.h | 39 u32 sums[]; member
|
D | relocation.c | 4644 struct btrfs_ordered_sum *sums; local 4662 sums = list_entry(list.next, struct btrfs_ordered_sum, list); 4663 list_del_init(&sums->list); 4677 new_bytenr = ordered->start + (sums->bytenr - disk_bytenr); 4678 sums->bytenr = new_bytenr; 4680 btrfs_add_ordered_sum(inode, ordered, sums);
|
D | ordered-data.c | 1106 memcpy(sum + index, ordered_sum->sums + i, in btrfs_find_ordered_sum()
|
D | inode.c | 1220 struct btrfs_ordered_sum *sums; in csum_exist_in_range() local 1229 sums = list_entry(list.next, struct btrfs_ordered_sum, list); in csum_exist_in_range() 1230 list_del(&sums->list); in csum_exist_in_range() 1231 kfree(sums); in csum_exist_in_range()
|
D | ctree.h | 3075 struct btrfs_ordered_sum *sums);
|
D | scrub.c | 2479 memcpy(csum, sum->sums + index, sctx->csum_size); in scrub_find_csum()
|