Home
last modified time | relevance | path

Searched refs:sub_stripes (Results 1 – 13 of 13) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dscrub.c998 uint16_t stripe, sub_stripes = max(c->chunk_item->sub_stripes, 1); in scrub_extent_raid10() local
1026 for (k = 0; k < sub_stripes; k++) { in scrub_extent_raid10()
1060 for (k = 0; k < sub_stripes; k++) { in scrub_extent_raid10()
1110 for (k = 0; k < sub_stripes; k++) { in scrub_extent_raid10()
1121 for (k = 0; k < sub_stripes; k++) { in scrub_extent_raid10()
1250 if (stripe == j / sub_stripes) { in scrub_extent_raid10()
1423 uint16_t endoffstripe, j, sub_stripes = max(c->chunk_item->sub_stripes, 1); in scrub_extent() local
1434 startoffstripe *= sub_stripes; in scrub_extent()
1435 endoffstripe *= sub_stripes; in scrub_extent()
1452 for (j = 1; j < sub_stripes; j++) { in scrub_extent()
[all …]
H A Dread.c526 stripe *= ci->sub_stripes; in read_data_raid10()
528 for (uint16_t j = 0; j < ci->sub_stripes; j++) { in read_data_raid10()
535 for (uint16_t j = 0; j < ci->sub_stripes; j++) { in read_data_raid10()
595 stripe2 *= ci->sub_stripes; in read_data_raid10()
1748 if ((ci->num_stripes % ci->sub_stripes) != 0) {
1769 startoffstripe *= ci->sub_stripes;
1770 endoffstripe *= ci->sub_stripes;
1773 c->last_stripe = (orig_ls + 1) % ci->sub_stripes;
1827 for (j = 0; j < ci->sub_stripes; j++) {
1851 for (j = 0; j < ci->sub_stripes; j++) {
[all …]
H A Dwrite.c412 sub_stripes = 0; in alloc_chunk()
418 sub_stripes = 0; in alloc_chunk()
424 sub_stripes = 1; in alloc_chunk()
430 sub_stripes = 2; in alloc_chunk()
436 sub_stripes = 1; in alloc_chunk()
442 sub_stripes = 1; in alloc_chunk()
448 sub_stripes = 1; in alloc_chunk()
454 sub_stripes = 1; in alloc_chunk()
460 sub_stripes = 1; in alloc_chunk()
558 factor = num_stripes / sub_stripes; in alloc_chunk()
[all …]
H A Dbtrfs.h348 uint16_t sub_stripes; member
H A Dfree-space.c377 ULONG sub_stripes = max(ci->sub_stripes, 1); in get_superblock_size() local
379 …if (cis[j].offset + (ci->size * ci->num_stripes / sub_stripes) > superblock_addrs[i] && cis[j].off… in get_superblock_size()
382 off_start *= ci->num_stripes / sub_stripes; in get_superblock_size()
383 off_start += (j / sub_stripes) * ci->stripe_length; in get_superblock_size()
H A Dbtrfs.c3685 … if (c->chunk_item->sub_stripes == 0 || c->chunk_item->sub_stripes > c->chunk_item->num_stripes) {
3686 …stripes %u, sub_stripes %u)\n", c->offset, c->chunk_item->num_stripes, c->chunk_item->sub_stripes);
3793 uint16_t sub_stripes = max(ci->sub_stripes, 1); local
3795 …if (cis[j].offset + (ci->size * ci->num_stripes / sub_stripes) > superblock_addrs[i] && cis[j].off…
3805 off_start *= ci->num_stripes / sub_stripes;
3806 off_start += (j / sub_stripes) * ci->stripe_length;
3811 …get_raid0_offset(off_start, ci->stripe_length, ci->num_stripes / sub_stripes, &startoff, &startoff…
H A Dflushthread.c239 uint16_t sub_stripes, startoffstripe, endoffstripe, i; in clean_space_cache_chunk() local
241 sub_stripes = max(1, c->chunk_item->sub_stripes); in clean_space_cache_chunk()
243 … c->offset, c->chunk_item->stripe_length, c->chunk_item->num_stripes / sub_stripes, &startoff, &st… in clean_space_cache_chunk()
244 …->size - 1, c->chunk_item->stripe_length, c->chunk_item->num_stripes / sub_stripes, &endoff, &endo… in clean_space_cache_chunk()
246 startoffstripe *= sub_stripes; in clean_space_cache_chunk()
247 endoffstripe *= sub_stripes; in clean_space_cache_chunk()
249 for (i = 0; i < c->chunk_item->num_stripes; i += sub_stripes) { in clean_space_cache_chunk()
268 for (j = 0; j < sub_stripes; j++) { in clean_space_cache_chunk()
4258 factor = c->chunk_item->num_stripes / c->chunk_item->sub_stripes; in create_chunk()
5543 factor = c->chunk_item->num_stripes / c->chunk_item->sub_stripes; in drop_chunk()
H A Dbalance.c2265 factor = c->chunk_item->num_stripes / c->chunk_item->sub_stripes; in should_balance_chunk()
3026 factor = c->chunk_item->num_stripes / c->chunk_item->sub_stripes; in regenerate_space_list()
H A Dfsctl.c1596 factor = c->chunk_item->num_stripes / c->chunk_item->sub_stripes; in get_usage()
/reactos/boot/freeldr/freeldr/include/fs/
H A Dbtrfs.h209 __u16 sub_stripes; member
/reactos/boot/freeldr/freeldr/lib/fs/
H A Dbtrfs.c465 TRACE("chunk sub_stripes: %u\n", chunk->sub_stripes); in btrfs_read_sys_chunk_array()
/reactos/modules/rosapps/applications/devutils/btrfstools/
H A Dbtrfs_structures.py681 self.io_width, self.sector_size, self.num_stripes, self.sub_stripes = \
/reactos/sdk/lib/fslib/btrfslib/
H A Dbtrfslib.c441 c->chunk_item->sub_stripes = 0;