Lines Matching refs:csum_size

744 …s = ExAllocatePoolWithTag(PagedPool, (context->stripes[i].length * Vcb->csum_size) >> Vcb->sector_…  in scrub_extent_dup()
754 …s = ExAllocatePoolWithTag(PagedPool, (context->stripes[i].length * Vcb->csum_size) >> Vcb->sector_… in scrub_extent_dup()
763 … get_tree_checksum(Vcb, th, (uint8_t*)context->stripes[i].bad_csums + (Vcb->csum_size * j)); in scrub_extent_dup()
788 …>stripes[i].bad_csums + (j * Vcb->csum_size), (uint8_t*)csum + (j + Vcb->csum_size), Vcb->csum_siz… in scrub_extent_dup()
800 …(uint8_t*)context->stripes[i].bad_csums + (j * Vcb->csum_size), th, Vcb->csum_size) != Vcb->csum_s… in scrub_extent_dup()
833 …>stripes[i].bad_csums + (j * Vcb->csum_size), (uint8_t*)csum + (j * Vcb->csum_size), Vcb->csum_siz… in scrub_extent_dup()
840 … RtlCompareMemory((uint8_t*)context->stripes[k].bad_csums + (j * Vcb->csum_size), in scrub_extent_dup()
841 … (uint8_t*)csum + (j * Vcb->csum_size), Vcb->csum_size) == Vcb->csum_size) { in scrub_extent_dup()
864 …(uint8_t*)context->stripes[i].bad_csums + (j * Vcb->csum_size), th, Vcb->csum_size) != Vcb->csum_s… in scrub_extent_dup()
872 …uint8_t*)context->stripes[k].bad_csums + (j * Vcb->csum_size), th2, Vcb->csum_size) == Vcb->csum_s… in scrub_extent_dup()
917 …>stripes[i].bad_csums + (j * Vcb->csum_size), (uint8_t*)csum + (j + Vcb->csum_size), Vcb->csum_siz… in scrub_extent_dup()
928 …(uint8_t*)context->stripes[i].bad_csums + (j * Vcb->csum_size), th, Vcb->csum_size) != Vcb->csum_s… in scrub_extent_dup()
963 …>stripes[stripe].buf + stripeoff[stripe], (uint8_t*)csum + ((pos * Vcb->csum_size) >> Vcb->sector_… in scrub_extent_raid0()
1040 … (uint8_t*)csum + (((pos + j) * Vcb->csum_size) >> Vcb->sector_shift))) { in scrub_extent_raid10()
1205 …ExAllocatePoolWithTag(PagedPool, (context->stripes[j + k].length * Vcb->csum_size) >> Vcb->sector_… in scrub_extent_raid10()
1221 … ExAllocatePoolWithTag(PagedPool, context->stripes[j + k].length * Vcb->csum_size / Vcb->superbloc… in scrub_extent_raid10()
1232 … get_tree_checksum(Vcb, th, (uint8_t*)context->stripes[j + k].bad_csums + (Vcb->csum_size * l)); in scrub_extent_raid10()
1260 …CompareMemory((uint8_t*)context->stripes[j + k].bad_csums + ((so * Vcb->csum_size) >> Vcb->sector_… in scrub_extent_raid10()
1261 … (uint8_t*)csum + ((pos * Vcb->csum_size) >> Vcb->sector_shift), in scrub_extent_raid10()
1262 Vcb->csum_size) != Vcb->csum_size) { in scrub_extent_raid10()
1273 …CompareMemory((uint8_t*)context->stripes[j + k].bad_csums + ((so * Vcb->csum_size) >> Vcb->sector_… in scrub_extent_raid10()
1274 … (uint8_t*)csum + ((pos * Vcb->csum_size) >> Vcb->sector_shift), in scrub_extent_raid10()
1275 … Vcb->csum_size) != Vcb->csum_size) { in scrub_extent_raid10()
1308 …stripes[j + k].bad_csums + (so * Vcb->csum_size / Vcb->superblock.node_size), th, Vcb->csum_size) … in scrub_extent_raid10()
1317 …tripes[j + m].bad_csums + (so * Vcb->csum_size / Vcb->superblock.node_size), th2, Vcb->csum_size) … in scrub_extent_raid10()
1651 … rl << Vcb->sector_shift, (uint8_t*)csum + (index * Vcb->csum_size)); in scrub_data_extent()
1742 …tripe].buf + (stripeoff << Vcb->sector_shift), (uint8_t*)context->csum + (Vcb->csum_size * off))) { in scrub_raid5_stripe()
1865 …pareMemory(hash, (uint8_t*)context->csum + (Vcb->csum_size * bad_off), Vcb->csum_size) == Vcb->csu… in scrub_raid5_stripe()
1939 …ompareMemory(hash, (uint8_t*)context->csum + (Vcb->csum_size * off), Vcb->csum_size) != Vcb->csum_… in scrub_raid6_stripe()
2129 …devices[parity1]->devobj && RtlCompareMemory(hash1, th1, Vcb->csum_size) == Vcb->csum_size && th1-… in scrub_raid6_stripe()
2130 …devices[parity2]->devobj && RtlCompareMemory(hash2, th2, Vcb->csum_size) == Vcb->csum_size && th2-… in scrub_raid6_stripe()
2131 …devices[parity1]->devobj || RtlCompareMemory(hash1, th1, Vcb->csum_size) != Vcb->csum_size || th1-… in scrub_raid6_stripe()
2163 …devices[parity2]->devobj || RtlCompareMemory(hash2, th2, Vcb->csum_size) != Vcb->csum_size || th2-… in scrub_raid6_stripe()
2209 …ory(hash1, (uint8_t*)context->csum + (bad_off1 * Vcb->csum_size), Vcb->csum_size) == Vcb->csum_siz… in scrub_raid6_stripe()
2210 …ory(hash2, (uint8_t*)context->csum + (bad_off1 * Vcb->csum_size), Vcb->csum_size) == Vcb->csum_siz… in scrub_raid6_stripe()
2211 …ory(hash2, (uint8_t*)context->csum + (bad_off1 * Vcb->csum_size), Vcb->csum_size) == Vcb->csum_siz… in scrub_raid6_stripe()
2215 …ory(hash1, (uint8_t*)context->csum + (bad_off1 * Vcb->csum_size), Vcb->csum_size) != Vcb->csum_siz… in scrub_raid6_stripe()
2243 …ory(hash2, (uint8_t*)context->csum + (bad_off1 * Vcb->csum_size), Vcb->csum_size) != Vcb->csum_siz… in scrub_raid6_stripe()
2367 …->parity_scratch[i << Vcb->sector_shift], (uint8_t*)context->csum + (Vcb->csum_size * bad_off1))) { in scrub_raid6_stripe()
2395 …>parity_scratch2[i << Vcb->sector_shift], (uint8_t*)context->csum + (Vcb->csum_size * bad_off2))) { in scrub_raid6_stripe()
2496 context.csum = ExAllocatePoolWithTag(PagedPool, num_sectors * Vcb->csum_size, ALLOC_TAG); in scrub_chunk_raid56_stripe_run()
2579 …nt_end, tp2.item->key.offset + (((uint64_t)tp2.item->size << Vcb->sector_shift) / Vcb->csum_size)); in scrub_chunk_raid56_stripe_run()
2583 …tlCopyMemory((uint8_t*)context.csum + (((csum_start - run_start) * Vcb->csum_size) >> Vcb->sector_… in scrub_chunk_raid56_stripe_run()
2584 … tp2.item->data + (((csum_start - tp2.item->key.offset) * Vcb->csum_size) >> Vcb->sector_shift), in scrub_chunk_raid56_stripe_run()
2585 … (ULONG)(((csum_end - csum_start) * Vcb->csum_size) >> Vcb->sector_shift)); in scrub_chunk_raid56_stripe_run()
3008 …csum = ExAllocatePoolWithTag(PagedPool, (ULONG)((Vcb->csum_size * size) >> Vcb->sector_shift), ALL… in scrub_chunk()
3047 …f (tp2.item->size >= Vcb->csum_size && tp2.item->key.offset + (((uint64_t)tp2.item->size << Vcb->s… in scrub_chunk()
3049 …+ size, tp2.item->key.offset + (((uint64_t)tp2.item->size << Vcb->sector_shift) / Vcb->csum_size)); in scrub_chunk()
3051 …RtlCopyMemory((uint8_t*)csum + (((cs - tp.item->key.obj_id) * Vcb->csum_size) >> Vcb->sector_shift… in scrub_chunk()
3052 … tp2.item->data + (((cs - tp2.item->key.offset) * Vcb->csum_size) >> Vcb->sector_shift), in scrub_chunk()
3053 … (ULONG)(((ce - cs) * Vcb->csum_size) >> Vcb->sector_shift)); in scrub_chunk()