Searched refs:sub_stripes (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | volumes.c | 56 .sub_stripes = 2, 69 .sub_stripes = 1, 82 .sub_stripes = 1, 95 .sub_stripes = 1, 108 .sub_stripes = 1, 121 .sub_stripes = 1, 134 .sub_stripes = 1, 147 .sub_stripes = 1, 160 .sub_stripes = 1, 5712 int sub_stripes; member [all …]
|
| H A D | zoned.c | 1718 raid0_allocs = kzalloc_objs(*raid0_allocs, map->num_stripes / map->sub_stripes, GFP_NOFS); in btrfs_load_block_group_raid10() 1727 for (int i = 0; i < map->num_stripes; i += map->sub_stripes) { in btrfs_load_block_group_raid10() 1730 for (int j = 1; j < map->sub_stripes; j++) { in btrfs_load_block_group_raid10() 1746 raid0_allocs[i / map->sub_stripes] = alloc; in btrfs_load_block_group_raid10() 1763 alloc = ((stripe_nr * (map->num_stripes / map->sub_stripes) + in btrfs_load_block_group_raid10() 1764 (i / map->sub_stripes)) << in btrfs_load_block_group_raid10() 1772 u32 factor = map->num_stripes / map->sub_stripes; in btrfs_load_block_group_raid10() 1780 int idx = i / map->sub_stripes; in btrfs_load_block_group_raid10() 1792 if ((i % map->sub_stripes) == 0) { in btrfs_load_block_group_raid10() 1827 if ((i % map->sub_stripes) == 0) { in btrfs_load_block_group_raid10()
|
| H A D | tree-checker.c | 893 static bool valid_stripe_count(u64 profile, u16 num_stripes, u16 sub_stripes) in valid_stripe_count() argument 899 return sub_stripes == btrfs_raid_array[BTRFS_RAID_RAID10].sub_stripes; in valid_stripe_count() 937 u16 sub_stripes; in btrfs_check_chunk_valid() local 951 sub_stripes = btrfs_chunk_sub_stripes(leaf, chunk); in btrfs_check_chunk_valid() 958 sub_stripes = btrfs_stack_chunk_sub_stripes(chunk); in btrfs_check_chunk_valid() 1086 num_stripes, sub_stripes)) { in btrfs_check_chunk_valid() 1089 num_stripes, sub_stripes, in btrfs_check_chunk_valid()
|
| H A D | volumes.h | 611 u8 sub_stripes; /* sub_stripes info for map */ member 645 int sub_stripes; member
|
| H A D | scrub.c | 2330 return btrfs_stripe_nr_to_offset(map->num_stripes / map->sub_stripes); in simple_stripe_full_stripe_len() 2346 return btrfs_stripe_nr_to_offset(stripe_index / map->sub_stripes) + in simple_stripe_get_logical() 2358 return stripe_index % map->sub_stripes + 1; in simple_stripe_mirror_num() 2473 offset = btrfs_stripe_nr_to_offset(stripe_index / map->sub_stripes); in scrub_stripe()
|
| H A D | block-group.c | 2321 map->sub_stripes); in btrfs_rmap_block()
|
| /linux/include/trace/events/ |
| H A D | btrfs.h | 1921 __field( int, sub_stripes ) 1930 __entry->sub_stripes = map->sub_stripes; 1941 __entry->num_stripes, __entry->sub_stripes,
|