| /linux-6.15/drivers/md/ |
| H A D | dm-stripe.c | 32 uint32_t stripes; member 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() 142 sc->stripes = stripes; in stripe_ctr() 145 if (stripes & (stripes - 1)) in stripe_ctr() 156 ti->num_flush_bios = stripes; in stripe_ctr() 157 ti->num_discard_bios = stripes; in stripe_ctr() 171 for (i = 0; i < stripes; i++) { 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()
|
| /linux-6.15/drivers/staging/media/ipu3/ |
| H A D | ipu3-css-params.c | 571 if (stripes > 1) { in imgu_css_osys_calc_frame_and_stripe_params() 689 if (s < stripes - 1) { in imgu_css_osys_calc_frame_and_stripe_params() 736 if (s >= stripes - 1) { in imgu_css_osys_calc_frame_and_stripe_params() 846 unsigned int stripes, in imgu_css_osys_calc() argument 1183 if (stripes <= 1) { in imgu_css_osys_calc() 1765 for (i = 0; i < stripes; i++) in imgu_css_cfg_acc_stripe() 1769 if (stripes <= 1) { in imgu_css_cfg_acc_stripe() 1804 if (stripes <= 1) { in imgu_css_cfg_acc_stripe() 1890 if (stripes > 1) in imgu_css_cfg_acc_stripe() 2315 for (i = 0; i < stripes; i++) in imgu_css_cfg_acc() [all …]
|
| 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 | 695 const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; in imgu_css_pipeline_init() local 990 sp_stage->num_stripes = stripes; in imgu_css_pipeline_init() 2108 unsigned int stripes, i; in imgu_css_set_parameters() local 2130 stripes = bi->info.isp.sp.iterator.num_stripes ? : 1; in imgu_css_set_parameters() 2241 for (i = 0; i < stripes; i++) { in imgu_css_set_parameters() 2244 map->daddr + (obgrid_size / stripes) * i; in imgu_css_set_parameters()
|
| /linux-6.15/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 | 1041 map->stripes[i].dev = dev; in test_rmap_block() 1042 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
|
| /linux-6.15/fs/btrfs/ |
| H A D | scrub.c | 186 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES]; member 331 release_scrub_stripe(&sctx->stripes[i]); in scrub_free_ctx() 367 sctx->stripes[i].sctx = sctx; in scrub_setup_ctx() 907 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors() 1855 stripe = &sctx->stripes[i]; in flush_scrub_stripes() 1876 stripe = &sctx->stripes[i]; in flush_scrub_stripes() 1888 stripe = &sctx->stripes[i]; in flush_scrub_stripes() 1923 stripe = &sctx->stripes[sctx->cur_stripe]; in queue_scrub_stripe() 1994 map->stripes[stripe_index].dev, physical, 1, in scrub_raid56_parity_stripe() 2406 map->stripes[stripe_index].physical, in scrub_stripe() [all …]
|
| H A D | volumes.c | 3270 map->stripes[i].physical, in btrfs_remove_chunk() 5946 stripes[index].devid = map->stripes[i].dev->devid; in btrfs_read_rr() 5947 stripes[index].num = i; in btrfs_read_rr() 6152 stripes = kcalloc(*num_stripes, sizeof(*stripes), GFP_NOFS); in btrfs_map_discard() 6153 if (!stripes) { in btrfs_map_discard() 6159 stripes[i].physical = in btrfs_map_discard() 6162 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard() 6190 stripes[i].length = length; in btrfs_map_discard() 6201 return stripes; in btrfs_map_discard() 7041 map->stripes[i].physical = in read_one_chunk() [all …]
|
| H A D | zoned.c | 1289 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info() 1292 device = map->stripes[zone_idx].dev; in btrfs_load_zone_info() 2032 u64 physical = bioc->stripes[i].physical; in read_zone_info() 2033 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 2123 device = map->stripes[i].dev; in btrfs_zone_activate() 2124 physical = map->stripes[i].physical; in btrfs_zone_activate() 2286 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish() 2287 const u64 physical = map->stripes[i].physical; in do_zone_finish() 2673 map->stripes[i].dev->zone_info->reserved_active_zones--; in btrfs_check_active_zone_reservation() 2754 struct btrfs_io_stripe *stripe = &map->stripes[i]; in btrfs_reset_unused_block_groups()
|
| H A D | bio.c | 478 bio->bi_private = &bioc->stripes[dev_nr]; in btrfs_submit_mirrored_bio() 479 bio->bi_iter.bi_sector = bioc->stripes[dev_nr].physical >> SECTOR_SHIFT; in btrfs_submit_mirrored_bio() 480 bioc->stripes[dev_nr].bioc = bioc; in btrfs_submit_mirrored_bio() 482 btrfs_submit_dev_bio(bioc->stripes[dev_nr].dev, bio); in btrfs_submit_mirrored_bio()
|
| H A D | raid-stripe-tree.c | 318 u64 devid = bioc->stripes[i].dev->devid; in btrfs_insert_one_raid_extent() 319 u64 physical = bioc->stripes[i].physical; in btrfs_insert_one_raid_extent()
|
| H A D | raid56.c | 56 i, bioc->stripes[i].dev->devid, in dump_bioc() 57 bioc->stripes[i].physical); in dump_bioc() 1147 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_sector() 1250 if (bio->bi_bdev != bioc->stripes[i].dev->bdev) in bio_get_trace_info() 1253 trace_info->devid = bioc->stripes[i].dev->devid; in bio_get_trace_info() 1255 bioc->stripes[i].physical; in bio_get_trace_info() 1464 if (!rbio->bioc->stripes[stripe_nr].dev->bdev) { in set_rbio_range_error() 2061 if (!rbio->bioc->stripes[stripe].dev->bdev || in recover_rbio() 2470 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
|
| H A D | volumes.h | 585 struct btrfs_io_stripe stripes[]; member 625 struct btrfs_io_stripe stripes[]; member
|
| H A D | dev-replace.c | 562 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy() 566 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy() 837 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree() 838 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
|
| H A D | block-group.c | 2169 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block() 2173 stripe_nr = (physical - map->stripes[i].physical) >> in btrfs_rmap_block() 2175 offset = (physical - map->stripes[i].physical) & in btrfs_rmap_block() 2741 device = map->stripes[i].dev; in insert_dev_extents() 2742 dev_offset = map->stripes[i].physical; in insert_dev_extents()
|
| H A D | extent-tree.c | 1395 struct btrfs_discard_stripe *stripes; in btrfs_discard_extent() local 1400 stripes = btrfs_map_discard(fs_info, cur, &num_bytes, &num_stripes); in btrfs_discard_extent() 1401 if (IS_ERR(stripes)) { in btrfs_discard_extent() 1402 ret = PTR_ERR(stripes); in btrfs_discard_extent() 1409 struct btrfs_discard_stripe *stripe = stripes + i; in btrfs_discard_extent() 1434 kfree(stripes); in btrfs_discard_extent()
|
| /linux-6.15/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.
|
| H A D | dm-raid.rst | 187 changing the layout of stripes, hence an interruption/crash 193 the existing first stripes (those with smaller number of stripes) 195 number of stripes, calculate the redundancy blocks (CRC/Q-syndrome) 197 N-1 other new stripes. This out-of-place scheme is used to change
|
| H A D | dm-ima.rst | 644 target_attributes := <target_name> "," <target_version> "," <stripes> "," <chunk_size> "," 649 stripes := "stripes=" <NS> 654 where <X> ranges from 0 to (<NS> -1) - for <NS> described in <stripes>. 656 where <X> ranges from 0 to (<NS> -1) - for <NS> described in <stripes>. 658 where <X> ranges from 0 to (<NS> -1) - for <NS> described in <stripes>. 669 …target_index=0,target_begin=0,target_len=640,target_name=striped,target_version=1.6.0,stripes=2,ch…
|
| /linux-6.15/fs/bcachefs/ |
| H A D | lru_format.h | 13 x(stripes)
|
| H A D | Kconfig | 44 organizes data into reed-solomon stripes instead of ordinary
|
| H A D | bcachefs_format.h | 1352 x(stripes, 6, 0, \
|
| /linux-6.15/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-6.15/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
|