Home
last modified time | relevance | path

Searched refs:bmplen (Results 1 – 7 of 7) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dscrub.c1625 …extension* Vcb, chunk* c, uint64_t offset, ULONG type, void* csum, RTL_BITMAP* bmp, ULONG bmplen) { in scrub_data_extent() argument
1632 if (index >= bmplen) in scrub_data_extent()
1635 if (index + runlength >= bmplen) { in scrub_data_extent()
1636 runlength = bmplen - index; in scrub_data_extent()
2977 ULONG* bmparr = NULL, bmplen; in scrub_chunk() local
3015 bmplen = (ULONG)(size >> Vcb->sector_shift); in scrub_chunk()
3017 …bmparr = ExAllocatePoolWithTag(PagedPool, (ULONG)(sector_align((bmplen >> 3) + 1, sizeof(ULONG))),… in scrub_chunk()
3025 RtlInitializeBitMap(&bmp, bmparr, bmplen); in scrub_chunk()
3093 Status = scrub_data_extent(Vcb, c, tp.item->key.obj_id, type, csum, &bmp, bmplen); in scrub_chunk()
H A Dbalance.c1759 ULONG bmplen, runlength, index, lastoff; in balance_data_chunk() local
1833 bmplen = (ULONG)(dr->size >> Vcb->sector_shift); in balance_data_chunk()
1835 …bmparr = ExAllocatePoolWithTag(PagedPool, (ULONG)sector_align(bmplen + 1, sizeof(ULONG)), ALLOC_TA… in balance_data_chunk()
1850 RtlInitializeBitMap(&bmp, bmparr, bmplen); in balance_data_chunk()
1898 if (index >= bmplen) in balance_data_chunk()
1901 if (index + runlength >= bmplen) { in balance_data_chunk()
1902 runlength = bmplen - index; in balance_data_chunk()
H A Dfree-space.c734 ULONG bmplen = 0; in load_stored_free_space_tree() local
791 if (bmplen < tp.item->size) { in load_stored_free_space_tree()
795 bmplen = (ULONG)sector_align(tp.item->size, sizeof(ULONG)); in load_stored_free_space_tree()
796 bmparr = ExAllocatePoolWithTag(PagedPool, bmplen, ALLOC_TAG); in load_stored_free_space_tree()
H A Dread.c686 if (index >= ps->bmplen) in read_data_raid5()
689 if (index + runlength >= ps->bmplen) { in read_data_raid5()
690 runlength = ps->bmplen - index; in read_data_raid5()
1033 if (index >= ps->bmplen) in read_data_raid6()
1036 if (index + runlength >= ps->bmplen) { in read_data_raid6()
1037 runlength = ps->bmplen - index; in read_data_raid6()
H A Dwrite.c1038 ps->bmplen = (ULONG)(num_data_stripes * c->chunk_item->stripe_length) >> Vcb->sector_shift; in add_partial_stripe()
1041 …ps->bmparr = ExAllocatePoolWithTag(NonPagedPool, (size_t)sector_align(((ps->bmplen / 8) + 1), size… in add_partial_stripe()
1049 RtlInitializeBitMap(&ps->bmp, ps->bmparr, ps->bmplen); in add_partial_stripe()
H A Dbtrfs_drv.h555 ULONG bmplen; member
H A Dflushthread.c5982 if (index >= ps->bmplen) in flush_partial_stripe()
5985 if (index + runlength >= ps->bmplen) { in flush_partial_stripe()
5986 runlength = ps->bmplen - index; in flush_partial_stripe()