num_stripes 439 drivers/gpu/ipu-v3/ipu-image-convert.c cols = num_stripes(max_t(u32, downsized_width, resized_width)); num_stripes 440 drivers/gpu/ipu-v3/ipu-image-convert.c rows = num_stripes(max_t(u32, downsized_height, resized_height)); num_stripes 1467 drivers/staging/media/ipu3/ipu3-abi.h u8 num_stripes; num_stripes 1592 drivers/staging/media/ipu3/ipu3-abi.h u32 num_stripes; num_stripes 68 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.iterator.num_stripes; num_stripes 194 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.sp.iterator.num_stripes > num_stripes 1739 drivers/staging/media/ipu3/ipu3-css-params.c const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; num_stripes 1957 drivers/staging/media/ipu3/ipu3-css-params.c const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; num_stripes 703 drivers/staging/media/ipu3/ipu3-css.c const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; num_stripes 1035 drivers/staging/media/ipu3/ipu3-css.c sp_stage->num_stripes = stripes; num_stripes 1624 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.iterator.num_stripes <= 1) { num_stripes 2171 drivers/staging/media/ipu3/ipu3-css.c stripes = bi->info.isp.sp.iterator.num_stripes ? : 1; num_stripes 1166 fs/btrfs/block-group.c num_items = 3 + map->num_stripes; num_stripes 112 fs/btrfs/ctree.h static inline unsigned long btrfs_chunk_item_size(int num_stripes) num_stripes 114 fs/btrfs/ctree.h BUG_ON(num_stripes == 0); num_stripes 116 fs/btrfs/ctree.h sizeof(struct btrfs_stripe) * (num_stripes - 1); num_stripes 1465 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(chunk_num_stripes, struct btrfs_chunk, num_stripes, 16); num_stripes 1487 fs/btrfs/ctree.h num_stripes, 16); num_stripes 739 fs/btrfs/dev-replace.c for (i = 0; i < map->num_stripes; i++) num_stripes 1328 fs/btrfs/extent-tree.c for (i = 0; i < bbio->num_stripes; i++, stripe++) { num_stripes 358 fs/btrfs/extent_map.c for (i = 0; i < map->num_stripes; i++) { num_stripes 373 fs/btrfs/extent_map.c for (i = 0; i < map->num_stripes; i++) { num_stripes 12 fs/btrfs/print-tree.c int num_stripes = btrfs_chunk_num_stripes(eb, chunk); num_stripes 16 fs/btrfs/print-tree.c btrfs_chunk_type(eb, chunk), num_stripes); num_stripes 17 fs/btrfs/print-tree.c for (i = 0 ; i < num_stripes ; i++) { num_stripes 981 fs/btrfs/raid56.c int real_stripes = bbio->num_stripes - bbio->num_tgtdevs; num_stripes 1370 fs/btrfs/raid56.c for (i = 0; i < rbio->bbio->num_stripes; i++) { num_stripes 22 fs/btrfs/raid56.h return map->num_stripes - nr_parity_stripes(map); num_stripes 273 fs/btrfs/reada.c for (i = 0; i < bbio->num_stripes; ++i) { num_stripes 277 fs/btrfs/reada.c zone->ndevs = bbio->num_stripes; num_stripes 344 fs/btrfs/reada.c if (bbio->num_stripes > BTRFS_MAX_MIRRORS) { num_stripes 351 fs/btrfs/reada.c real_stripes = bbio->num_stripes - bbio->num_tgtdevs; num_stripes 1035 fs/btrfs/scrub.c int max_allowed = r->bbio->num_stripes - num_stripes 1233 fs/btrfs/scrub.c return (int)bbio->num_stripes; num_stripes 1359 fs/btrfs/scrub.c bbio->num_stripes - num_stripes 2687 fs/btrfs/scrub.c stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); num_stripes 2690 fs/btrfs/scrub.c stripe_index = rot % map->num_stripes; num_stripes 3085 fs/btrfs/scrub.c increment = map->stripe_len * map->num_stripes; num_stripes 3088 fs/btrfs/scrub.c int factor = map->num_stripes / map->sub_stripes; num_stripes 3094 fs/btrfs/scrub.c mirror_num = num % map->num_stripes + 1; num_stripes 3097 fs/btrfs/scrub.c mirror_num = num % map->num_stripes + 1; num_stripes 3453 fs/btrfs/scrub.c for (i = 0; i < map->num_stripes; ++i) { num_stripes 1909 fs/btrfs/super.c int num_stripes = 1; num_stripes 1938 fs/btrfs/super.c num_stripes = nr_devices; num_stripes 1940 fs/btrfs/super.c num_stripes = 2; num_stripes 1942 fs/btrfs/super.c num_stripes = 4; num_stripes 1990 fs/btrfs/super.c num_stripes = min(num_stripes, nr_devices); num_stripes 1996 fs/btrfs/super.c avail_space += devices_info[i].max_avail * num_stripes; num_stripes 1998 fs/btrfs/super.c for (j = i + 1 - num_stripes; j <= i; j++) num_stripes 575 fs/btrfs/tree-checker.c u16 num_stripes; num_stripes 583 fs/btrfs/tree-checker.c num_stripes = btrfs_chunk_num_stripes(leaf, chunk); num_stripes 587 fs/btrfs/tree-checker.c if (!num_stripes) { num_stripes 589 fs/btrfs/tree-checker.c "invalid chunk num_stripes, have %u", num_stripes); num_stripes 662 fs/btrfs/tree-checker.c (type & BTRFS_BLOCK_GROUP_RAID1 && num_stripes != 2) || num_stripes 663 fs/btrfs/tree-checker.c (type & BTRFS_BLOCK_GROUP_RAID5 && num_stripes < 2) || num_stripes 664 fs/btrfs/tree-checker.c (type & BTRFS_BLOCK_GROUP_RAID6 && num_stripes < 3) || num_stripes 665 fs/btrfs/tree-checker.c (type & BTRFS_BLOCK_GROUP_DUP && num_stripes != 2) || num_stripes 666 fs/btrfs/tree-checker.c ((type & BTRFS_BLOCK_GROUP_PROFILE_MASK) == 0 && num_stripes != 1)) { num_stripes 669 fs/btrfs/tree-checker.c num_stripes, sub_stripes, num_stripes 2936 fs/btrfs/volumes.c u32 num_stripes; num_stripes 2956 fs/btrfs/volumes.c num_stripes = btrfs_stack_chunk_num_stripes(chunk); num_stripes 2957 fs/btrfs/volumes.c len += btrfs_chunk_item_size(num_stripes); num_stripes 3042 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 3493 fs/btrfs/volumes.c int num_stripes = btrfs_chunk_num_stripes(leaf, chunk); num_stripes 3496 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 3505 fs/btrfs/volumes.c static u64 calc_data_stripes(u64 type, int num_stripes) num_stripes 3512 fs/btrfs/volumes.c return num_stripes - nparity; num_stripes 3514 fs/btrfs/volumes.c return num_stripes / ncopies; num_stripes 3523 fs/btrfs/volumes.c int num_stripes = btrfs_chunk_num_stripes(leaf, chunk); num_stripes 3534 fs/btrfs/volumes.c factor = calc_data_stripes(type, num_stripes); num_stripes 3536 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 3571 fs/btrfs/volumes.c int num_stripes = btrfs_chunk_num_stripes(leaf, chunk); num_stripes 3573 fs/btrfs/volumes.c if (bargs->stripes_min <= num_stripes num_stripes 3574 fs/btrfs/volumes.c && num_stripes <= bargs->stripes_max) num_stripes 4965 fs/btrfs/volumes.c int num_stripes; /* total number of stripes to allocate */ num_stripes 5123 fs/btrfs/volumes.c num_stripes = ndevs * dev_stripes; num_stripes 5129 fs/btrfs/volumes.c data_stripes = (num_stripes - nparity) / ncopies; num_stripes 5151 fs/btrfs/volumes.c map = kmalloc(map_lookup_size(num_stripes), GFP_NOFS); num_stripes 5156 fs/btrfs/volumes.c map->num_stripes = num_stripes; num_stripes 5204 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 5213 fs/btrfs/volumes.c atomic64_sub(stripe_size * map->num_stripes, &info->free_chunk_space); num_stripes 5258 fs/btrfs/volumes.c item_size = btrfs_chunk_item_size(map->num_stripes); num_stripes 5275 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 5293 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 5308 fs/btrfs/volumes.c btrfs_set_stack_chunk_num_stripes(chunk, map->num_stripes); num_stripes 5389 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 5451 fs/btrfs/volumes.c ret = map->num_stripes; num_stripes 5464 fs/btrfs/volumes.c ret = map->num_stripes; num_stripes 5518 fs/btrfs/volumes.c int num_stripes; num_stripes 5527 fs/btrfs/volumes.c num_stripes = map->sub_stripes; num_stripes 5529 fs/btrfs/volumes.c num_stripes = map->num_stripes; num_stripes 5531 fs/btrfs/volumes.c preferred_mirror = first + current->pid % num_stripes; num_stripes 5549 fs/btrfs/volumes.c for (i = first; i < first + num_stripes; i++) { num_stripes 5568 fs/btrfs/volumes.c static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) num_stripes 5577 fs/btrfs/volumes.c for (i = 0; i < num_stripes - 1; i++) { num_stripes 5648 fs/btrfs/volumes.c u64 num_stripes; num_stripes 5695 fs/btrfs/volumes.c num_stripes = 1; num_stripes 5704 fs/btrfs/volumes.c factor = map->num_stripes / sub_stripes; num_stripes 5705 fs/btrfs/volumes.c num_stripes = min_t(u64, map->num_stripes, num_stripes 5715 fs/btrfs/volumes.c num_stripes = map->num_stripes; num_stripes 5717 fs/btrfs/volumes.c stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, num_stripes 5721 fs/btrfs/volumes.c bbio = alloc_btrfs_bio(num_stripes, 0); num_stripes 5727 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 5767 fs/btrfs/volumes.c if (stripe_index == map->num_stripes) { num_stripes 5775 fs/btrfs/volumes.c bbio->num_stripes = num_stripes; num_stripes 5800 fs/btrfs/volumes.c int num_stripes; num_stripes 5814 fs/btrfs/volumes.c num_stripes = bbio->num_stripes; num_stripes 5815 fs/btrfs/volumes.c if (*mirror_num > num_stripes) { num_stripes 5830 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 5866 fs/btrfs/volumes.c int num_stripes = *num_stripes_ret; num_stripes 5884 fs/btrfs/volumes.c index_where_to_add = num_stripes; num_stripes 5885 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 5902 fs/btrfs/volumes.c num_stripes = index_where_to_add; num_stripes 5915 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 5933 fs/btrfs/volumes.c bbio->stripes + num_stripes; num_stripes 5939 fs/btrfs/volumes.c bbio->tgtdev_map[index_srcdev] = num_stripes; num_stripes 5942 fs/btrfs/volumes.c num_stripes++; num_stripes 5946 fs/btrfs/volumes.c *num_stripes_ret = num_stripes; num_stripes 6072 fs/btrfs/volumes.c int num_stripes; num_stripes 6114 fs/btrfs/volumes.c if (dev_replace_is_ongoing && mirror_num == map->num_stripes + 1 && num_stripes 6124 fs/btrfs/volumes.c } else if (mirror_num > map->num_stripes) { num_stripes 6128 fs/btrfs/volumes.c num_stripes = 1; num_stripes 6131 fs/btrfs/volumes.c stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, num_stripes 6137 fs/btrfs/volumes.c num_stripes = map->num_stripes; num_stripes 6148 fs/btrfs/volumes.c num_stripes = map->num_stripes; num_stripes 6156 fs/btrfs/volumes.c u32 factor = map->num_stripes / map->sub_stripes; num_stripes 6162 fs/btrfs/volumes.c num_stripes = map->sub_stripes; num_stripes 6180 fs/btrfs/volumes.c num_stripes = map->num_stripes; num_stripes 6198 fs/btrfs/volumes.c div_u64_rem(stripe_nr + stripe_index, map->num_stripes, num_stripes 6209 fs/btrfs/volumes.c stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, num_stripes 6213 fs/btrfs/volumes.c if (stripe_index >= map->num_stripes) { num_stripes 6216 fs/btrfs/volumes.c stripe_index, map->num_stripes); num_stripes 6221 fs/btrfs/volumes.c num_alloc_stripes = num_stripes; num_stripes 6227 fs/btrfs/volumes.c tgtdev_indexes = num_stripes; num_stripes 6250 fs/btrfs/volumes.c div_u64_rem(stripe_nr, num_stripes, &rot); num_stripes 6255 fs/btrfs/volumes.c bbio->raid_map[(i+rot) % num_stripes] = num_stripes 6258 fs/btrfs/volumes.c bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; num_stripes 6260 fs/btrfs/volumes.c bbio->raid_map[(i+rot+1) % num_stripes] = num_stripes 6265 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 6279 fs/btrfs/volumes.c sort_parity_stripes(bbio, num_stripes); num_stripes 6283 fs/btrfs/volumes.c handle_ops_on_dev_replace(op, &bbio, dev_replace, &num_stripes, num_stripes 6289 fs/btrfs/volumes.c bbio->num_stripes = num_stripes; num_stripes 6298 fs/btrfs/volumes.c if (patch_the_first_stripe_for_dev_replace && num_stripes > 0) { num_stripes 6299 fs/btrfs/volumes.c WARN_ON(num_stripes > 1); num_stripes 6302 fs/btrfs/volumes.c bbio->mirror_num = map->num_stripes + 1; num_stripes 6351 fs/btrfs/volumes.c length = div_u64(length, map->num_stripes / map->sub_stripes); num_stripes 6353 fs/btrfs/volumes.c length = div_u64(length, map->num_stripes); num_stripes 6359 fs/btrfs/volumes.c buf = kcalloc(map->num_stripes, sizeof(u64), GFP_NOFS); num_stripes 6362 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 6371 fs/btrfs/volumes.c stripe_nr = stripe_nr * map->num_stripes + i; num_stripes 6374 fs/btrfs/volumes.c stripe_nr = stripe_nr * map->num_stripes + i; num_stripes 6380 fs/btrfs/volumes.c WARN_ON(nr >= map->num_stripes); num_stripes 6386 fs/btrfs/volumes.c WARN_ON(nr >= map->num_stripes); num_stripes 6421 fs/btrfs/volumes.c BUG_ON(stripe_index >= bbio->num_stripes); num_stripes 6578 fs/btrfs/volumes.c total_devs = bbio->num_stripes; num_stripes 6583 fs/btrfs/volumes.c atomic_set(&bbio->stripes_pending, bbio->num_stripes); num_stripes 6744 fs/btrfs/volumes.c static u64 calc_stripe_length(u64 type, u64 chunk_len, int num_stripes) num_stripes 6752 fs/btrfs/volumes.c data_stripes = num_stripes - 1; num_stripes 6755 fs/btrfs/volumes.c data_stripes = num_stripes - 2; num_stripes 6758 fs/btrfs/volumes.c data_stripes = num_stripes / ncopies; num_stripes 6775 fs/btrfs/volumes.c int num_stripes; num_stripes 6781 fs/btrfs/volumes.c num_stripes = btrfs_chunk_num_stripes(leaf, chunk); num_stripes 6808 fs/btrfs/volumes.c map = kmalloc(map_lookup_size(num_stripes), GFP_NOFS); num_stripes 6822 fs/btrfs/volumes.c map->num_stripes = num_stripes; num_stripes 6830 fs/btrfs/volumes.c map->num_stripes); num_stripes 6831 fs/btrfs/volumes.c for (i = 0; i < num_stripes; i++) { num_stripes 7063 fs/btrfs/volumes.c u32 num_stripes; num_stripes 7125 fs/btrfs/volumes.c num_stripes = btrfs_chunk_num_stripes(sb, chunk); num_stripes 7126 fs/btrfs/volumes.c if (!num_stripes) { num_stripes 7129 fs/btrfs/volumes.c num_stripes, cur_offset); num_stripes 7143 fs/btrfs/volumes.c len = btrfs_chunk_item_size(num_stripes); num_stripes 7207 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 7727 fs/btrfs/volumes.c stripe_len = calc_stripe_length(map->type, em->len, map->num_stripes); num_stripes 7737 fs/btrfs/volumes.c for (i = 0; i < map->num_stripes; i++) { num_stripes 7741 fs/btrfs/volumes.c if (map->verified_stripes >= map->num_stripes) { num_stripes 7802 fs/btrfs/volumes.c if (em->map_lookup->num_stripes != num_stripes 7807 fs/btrfs/volumes.c em->map_lookup->num_stripes); num_stripes 336 fs/btrfs/volumes.h int num_stripes; num_stripes 378 fs/btrfs/volumes.h int num_stripes; num_stripes 942 include/trace/events/btrfs.h __field( int, num_stripes ) num_stripes 951 include/trace/events/btrfs.h __entry->num_stripes = map->num_stripes; num_stripes 964 include/trace/events/btrfs.h __entry->num_stripes, __entry->sub_stripes, num_stripes 430 include/uapi/linux/btrfs_tree.h __le16 num_stripes;