| /linux/drivers/md/ |
| H A D | dm-stripe.c | 32 uint32_t stripes; member 47 struct stripe stripe[] __counted_by(stripes); 92 uint32_t stripes; in stripe_ctr() local 102 if (kstrtouint(argv[0], 10, &stripes) || !stripes) { in stripe_ctr() 113 if (sector_div(width, stripes)) { in stripe_ctr() 127 if (argc != (2 + 2 * stripes)) { in stripe_ctr() 132 sc = kmalloc_flex(*sc, stripe, stripes); in stripe_ctr() 142 sc->stripes = stripes; in stripe_ctr() 145 if (stripes & (stripes - 1)) in stripe_ctr() 148 sc->stripes_shift = __ffs(stripes); in stripe_ctr() [all …]
|
| H A D | dm-unstripe.c | 16 uint32_t stripes; member 57 if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { in unstripe_ctr() 72 if (uc->unstripe > uc->stripes && uc->stripes > 1) { in unstripe_ctr() 89 uc->unstripe_width = (sector_t)(uc->stripes - 1) * uc->chunk_size; in unstripe_ctr() 157 uc->stripes, (unsigned long long)uc->chunk_size, uc->unstripe, in unstripe_status()
|
| H A D | raid5.c | 6402 struct list_head stripes; in reshape_request() local 6551 INIT_LIST_HEAD(&stripes); in reshape_request() 6582 list_add(&sh->lru, &stripes); in reshape_request() 6615 while (!list_empty(&stripes)) { in reshape_request() 6616 sh = list_entry(stripes.next, struct stripe_head, lru); in reshape_request() 7832 int stripes = max_t(int, in setup_conf() local 7835 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
|
| /linux/fs/btrfs/tests/ |
| H A D | raid-stripe-tree-tests.c | 68 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents() 89 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents() 110 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents() 244 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_delete_two_extents() 265 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_delete_two_extents() 286 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_delete_two_extents() 387 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole() 527 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_front_delete_prev_item() 548 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_front_delete_prev_item() 667 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_front_delete() [all …]
|
| H A D | extent-map-tests.c | 1044 map->stripes[i].dev = dev; in test_rmap_block() 1045 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
|
| /linux/fs/btrfs/ |
| H A D | volumes.c | 3478 ret = btrfs_update_device(trans, map->stripes[i].dev); in remove_chunk_item() 3505 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_dev_extents() 3507 map->stripes[i].physical, in btrfs_remove_dev_extents() 6051 struct btrfs_io_stripe *stripe = &map->stripes[i]; in chunk_map_device_set_bits() 6063 struct btrfs_io_stripe *stripe = &map->stripes[i]; in btrfs_chunk_map_device_clear_bits() 6173 map->stripes[s].dev = devices_info[i].dev; in create_chunk() 6174 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk() 6195 struct btrfs_device *dev = map->stripes[i].dev; in create_chunk() 6326 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() 6335 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() [all …]
|
| H A D | scrub.c | 45 * This determines how many stripes would be submitted in one go, 87 * Set for data stripes if it's triggered from P/Q stripe. 88 * During such scrub, we should not report errors in data stripes, nor 186 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES]; member 425 release_scrub_stripe(&sctx->stripes[i]); in scrub_free_ctx() 442 /* Since sctx has inline 128 stripes, it can go beyond 64K easily. Use in scrub_setup_ctx() 458 ret = init_scrub_stripe(fs_info, &sctx->stripes[i]); in scrub_setup_ctx() 461 sctx->stripes[i].sctx = sctx; in scrub_setup_ctx() 1021 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors() 1022 dev = bioc->stripes[stripe_inde in scrub_stripe_report_errors() [all...] |
| H A D | raid56.c | 56 i, bioc->stripes[i].dev->devid, in dump_bioc() 57 bioc->stripes[i].physical); in dump_bioc() 1240 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_paddrs() 1338 if (bio->bi_bdev != bioc->stripes[i].dev->bdev) in bio_get_trace_info() 1341 trace_info->devid = bioc->stripes[i].dev->devid; in bio_get_trace_info() 1343 bioc->stripes[i].physical; in bio_get_trace_info() 1568 if (!rbio->bioc->stripes[stripe_nr].dev->bdev) { in set_rbio_range_error() 2156 if (!rbio->bioc->stripes[stripe].dev->bdev || in recover_rbio() 2573 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
|
| H A D | raid-stripe-tree.c | 348 u64 devid = bioc->stripes[i].dev->devid; in btrfs_insert_one_raid_extent() 349 u64 physical = bioc->stripes[i].physical; in btrfs_insert_one_raid_extent()
|
| H A D | dev-replace.c | 564 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy() 568 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy() 850 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree() 851 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
|
| H A D | zoned.c | 1335 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info() 1338 device = map->stripes[zone_idx].dev; in btrfs_load_zone_info() 2345 u64 physical = bioc->stripes[i].physical; in read_zone_info() 2346 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 2444 device = map->stripes[i].dev; in btrfs_zone_activate() 2445 physical = map->stripes[i].physical; in btrfs_zone_activate() 2629 ret = call_zone_finish(block_group, &map->stripes[i]); in do_zone_finish() 3095 map->stripes[i].dev->zone_info->reserved_active_zones--; in btrfs_check_active_zone_reservation() 3176 struct btrfs_io_stripe *stripe = &map->stripes[i]; in btrfs_reset_unused_block_groups()
|
| H A D | volumes.h | 600 struct btrfs_io_stripe stripes[]; member 646 struct btrfs_io_stripe stripes[]; member
|
| H A D | block-group.c | 2309 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block() 2313 stripe_nr = (physical - map->stripes[i].physical) >> in btrfs_rmap_block() 2315 offset = (physical - map->stripes[i].physical) & in btrfs_rmap_block() 2904 device = map->stripes[i].dev; in insert_dev_extents() 2905 dev_offset = map->stripes[i].physical; in insert_dev_extents()
|
| H A D | extent-tree.c | 1438 struct btrfs_discard_stripe *stripes; in btrfs_discard_extent() local 1443 stripes = btrfs_map_discard(fs_info, cur, &num_bytes, &num_stripes, in btrfs_discard_extent() 1445 if (IS_ERR(stripes)) { in btrfs_discard_extent() 1446 ret = PTR_ERR(stripes); in btrfs_discard_extent() 1453 struct btrfs_discard_stripe *stripe = stripes + i; in btrfs_discard_extent() 1478 kfree(stripes); in btrfs_discard_extent()
|
| H A D | inode.c | 10543 device = map->stripes[0].dev; in btrfs_swap_activate() 10549 } else if (device != map->stripes[0].dev) { in btrfs_swap_activate() 10555 physical_block_start = (map->stripes[0].physical + in btrfs_swap_activate()
|
| H A D | relocation.c | 4854 ret = btrfs_update_device(trans, chunk_map->stripes[i].dev); in btrfs_last_identity_remap_gone()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | unstriped.rst | 14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset> 16 <number of stripes> 17 The number of stripes in the RAID 0.
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-abi.h | 1222 struct imgu_abi_af_stripe_config stripes[IPU3_UAPI_MAX_STRIPES]; member 1234 } stripes[IPU3_UAPI_MAX_STRIPES]; member 1249 struct ipu3_uapi_awb_fr_config_s stripes[IPU3_UAPI_MAX_STRIPES]; member 1268 struct ipu3_uapi_awb_config_s stripes[IPU3_UAPI_MAX_STRIPES]; member
|
| H A D | ipu3-css.c | 696 const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; in imgu_css_pipeline_init() local 991 sp_stage->num_stripes = stripes; in imgu_css_pipeline_init() 2109 unsigned int stripes, i; in imgu_css_set_parameters() local 2131 stripes = bi->info.isp.sp.iterator.num_stripes ? : 1; in imgu_css_set_parameters() 2242 for (i = 0; i < stripes; i++) { in imgu_css_set_parameters() 2245 map->daddr + (obgrid_size / stripes) * i; in imgu_css_set_parameters()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_actlog.c | 300 const unsigned int stripes = device->ldev->md.al_stripes; in al_tr_number_to_on_disk_sector() local 307 t = ((t % stripes) * stripe_size_4kB) + t/stripes; in al_tr_number_to_on_disk_sector()
|
| /linux/Documentation/driver-api/md/ |
| H A D | raid5-cache.rst | 26 shutdown can cause data in some stripes to not be in consistent state, eg, data
|
| /linux/drivers/block/ |
| H A D | Kconfig | 320 Say Y here if you want include the Rados block device, which stripes
|