Home
last modified time | relevance | path

Searched refs:stripe (Results 1 – 10 of 10) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dread.c760 stripe = (parity + stripe + 1) % ci->num_stripes; in read_data_raid5()
841 stripe = (parity + stripe + 1) % ci->num_stripes; in read_data_raid5()
953 if (stripe == missing1 || stripe == missing2) { in raid6_recover2()
966 if (stripe != missing1 && stripe != missing2) { in raid6_recover2()
1724 stripe = (stripe + 1) % ci->num_stripes;
2067 stripe = (stripe + 1) % ci->num_stripes;
2110 stripe = (stripe + 1) % ci->num_stripes;
2186 stripe = (stripe + 1) % ci->num_stripes;
2200 stripe = (stripe + 1) % ci->num_stripes;
2214 stripe = (stripe + 1) % ci->num_stripes;
[all …]
H A Dscrub.c988 stripe = (stripe + 1) % c->chunk_item->num_stripes; in scrub_extent_raid0()
1762 stripe = (stripe + 1) % c->chunk_item->num_stripes; in scrub_raid5_stripe()
1958 stripe = (stripe + 1) % c->chunk_item->num_stripes; in scrub_raid6_stripe()
1992 stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
2104 stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
2172stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
2181stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
2251 stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
2260stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
2306 stripe = stripe == 0 ? (c->chunk_item->num_stripes - 1) : (stripe - 1); in scrub_raid6_stripe()
[all …]
H A Dwrite.c116 } stripe; typedef
1152 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid5_write()
1193 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid5_write()
1355 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid5_write()
1376 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid5_write()
1400 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid5_write()
1432 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid5_write()
1773 stripe = (stripe + 1) % c->chunk_item->num_stripes; in prepare_raid6_write()
2086 stripe->Irp->MdlAddress = stripe->mdl; in write_data()
2102 stripe->Irp->UserIosb = &stripe->iosb; in write_data()
[all …]
H A Dflushthread.c368 stripe->Irp->MdlAddress = stripe->mdl; in trim_emulation()
373 stripe->Irp->UserIosb = &stripe->iosb; in trim_emulation()
536 stripe->Irp->AssociatedIrp.SystemBuffer = stripe->dmdsa; in clean_space_cache()
539 stripe->Irp->UserIosb = &stripe->iosb; in clean_space_cache()
1735 IoCallDriver(stripe->device->devobj, stripe->Irp); in do_tree_writes()
2298 stripe->Irp->MdlAddress = stripe->mdl; in write_superblock()
2387 IoCallDriver(stripe->device->devobj, stripe->Irp); in write_superblocks()
6057 stripe = (stripe + 1) % c->chunk_item->num_stripes; in flush_partial_stripe()
6974 stripe->Irp->AssociatedIrp.SystemBuffer = &stripe->apte; in flush_disk_caches()
6976 stripe->Irp->UserBuffer = &stripe->apte; in flush_disk_caches()
[all …]
H A Dbtrfs_drv.h996 _Post_satisfies_(*stripe>=0&&*stripe<num_stripes)
997 …64_t stripe_length, _In_ uint16_t num_stripes, _Out_ uint64_t* stripeoff, _Out_ uint16_t* stripe) { in get_raid0_offset() argument
1003 *stripe = (uint16_t)(startoff / stripe_length); in get_raid0_offset()
1004 *stripeoff = initoff + startoff - (*stripe * stripe_length); in get_raid0_offset()
H A Dfsctl.c202 write_data_stripe* stripe = CONTAINING_RECORD(le, write_data_stripe, list_entry); in snapshot_tree_copy() local
204 if (stripe->status != WriteDataStatus_Ignore) { in snapshot_tree_copy()
206 IoCallDriver(stripe->device->devobj, stripe->Irp); in snapshot_tree_copy()
217 write_data_stripe* stripe = CONTAINING_RECORD(le, write_data_stripe, list_entry); in snapshot_tree_copy() local
219 if (stripe->status != WriteDataStatus_Ignore && !NT_SUCCESS(stripe->iosb.Status)) { in snapshot_tree_copy()
220 Status = stripe->iosb.Status; in snapshot_tree_copy()
221 log_device_error(Vcb, stripe->device, BTRFS_DEV_STAT_WRITE_ERRORS); in snapshot_tree_copy()
H A Dfree-space.c324 uint64_t stripe; member
340 if (ss->stripe == off + i) { in add_superblock_stripe()
357 ss->stripe = off + i; in add_superblock_stripe()
/reactos/boot/freeldr/freeldr/lib/fs/
H A Dbtrfs.c126 struct btrfs_stripe *stripe = &chunk->stripe; in insert_map() local
127 struct btrfs_stripe *stripe_end = stripe + chunk->num_stripes; in insert_map()
132 for (; stripe < stripe_end; stripe++) in insert_map()
134 TRACE("stripe: %p\n", stripe); in insert_map()
135 item.devid = stripe->devid; in insert_map()
136 item.physical = stripe->offset; in insert_map()
/reactos/boot/freeldr/freeldr/include/fs/
H A Dbtrfs.h210 struct btrfs_stripe stripe; member
/reactos/sdk/lib/fslib/btrfslib/
H A Dbtrfslib.c460 uint64_t stripe = (address - c->offset) / c->chunk_item->stripe_length; local
469 if (stripe2 == stripe)