Home
last modified time | relevance | path

Searched refs:stripes (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/md/
Ddm-stripe.c29 uint32_t stripes; member
89 uint32_t stripes; in stripe_ctr() local
99 if (kstrtouint(argv[0], 10, &stripes) || !stripes) { in stripe_ctr()
110 if (sector_div(width, stripes)) { in stripe_ctr()
126 if (argc != (2 + 2 * stripes)) { in stripe_ctr()
132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL); in stripe_ctr()
143 sc->stripes = stripes; in stripe_ctr()
146 if (stripes & (stripes - 1)) in stripe_ctr()
149 sc->stripes_shift = __ffs(stripes); in stripe_ctr()
157 ti->num_flush_bios = stripes; in stripe_ctr()
[all …]
Ddm-unstripe.c15 uint32_t stripes; member
56 if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { in unstripe_ctr()
71 if (uc->unstripe > uc->stripes && uc->stripes > 1) { in unstripe_ctr()
88 uc->unstripe_width = (uc->stripes - 1) * uc->chunk_size; in unstripe_ctr()
156 uc->stripes, (unsigned long long)uc->chunk_size, uc->unstripe, in unstripe_status()
Draid5.c6224 struct list_head stripes; in reshape_request() local
6360 INIT_LIST_HEAD(&stripes); in reshape_request()
6391 list_add(&sh->lru, &stripes); in reshape_request()
6424 while (!list_empty(&stripes)) { in reshape_request()
6425 sh = list_entry(stripes.next, struct stripe_head, lru); in reshape_request()
7632 int stripes = max_t(int, in setup_conf() local
7635 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-css-params.c361 struct imgu_css *css, unsigned int stripes, in imgu_css_osys_calc_frame_and_stripe_params() argument
546 for (s = 0; s < stripes; s++) { in imgu_css_osys_calc_frame_and_stripe_params()
571 if (stripes > 1) { in imgu_css_osys_calc_frame_and_stripe_params()
575 output_width * s / stripes; in imgu_css_osys_calc_frame_and_stripe_params()
689 if (s < stripes - 1) { in imgu_css_osys_calc_frame_and_stripe_params()
695 next_offset = output_width * (s + 1) / stripes; 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
861 if (imgu_css_osys_calc_frame_and_stripe_params(css, stripes, osys, in imgu_css_osys_calc()
870 for (s = 0; s < stripes; s++) { in imgu_css_osys_calc()
[all …]
Dipu3-abi.h1222 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
Dipu3-css.c695 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()
2111 unsigned int stripes, i; in imgu_css_set_parameters() local
2133 stripes = bi->info.isp.sp.iterator.num_stripes ? : 1; in imgu_css_set_parameters()
2244 for (i = 0; i < stripes; i++) { in imgu_css_set_parameters()
2247 map->daddr + (obgrid_size / stripes) * i; in imgu_css_set_parameters()
/linux-6.1.9/fs/btrfs/
Dvolumes.c3074 ret = btrfs_update_device(trans, map->stripes[i].dev); in remove_chunk_item()
3115 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()
3117 map->stripes[i].physical, in btrfs_remove_chunk()
5392 map->stripes[s].dev = devices_info[i].dev; in create_chunk()
5393 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk()
5433 struct btrfs_device *dev = map->stripes[i].dev; in create_chunk()
5585 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item()
5594 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item()
5595 const u64 dev_offset = map->stripes[i].physical; in btrfs_chunk_alloc_add_chunk_item()
5698 &map->stripes[i].dev->dev_state)) { in btrfs_chunk_writeable()
[all …]
Dzoned.c1351 device = map->stripes[i].dev; in btrfs_load_block_group_zone_info()
1352 physical[i] = map->stripes[i].physical; in btrfs_load_block_group_zone_info()
1795 u64 physical = bioc->stripes[i].physical; in read_zone_info()
1796 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
1860 device = map->stripes[0].dev; in btrfs_zoned_get_device()
1903 device = map->stripes[i].dev; in btrfs_zone_activate()
1904 physical = map->stripes[i].physical; in btrfs_zone_activate()
2044 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish()
2045 const u64 physical = map->stripes[i].physical; in do_zone_finish()
Dscrub.c1536 bioc->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1538 sblock->dev = bioc->stripes[stripe_index].dev; in scrub_setup_recheck_block()
2869 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
3219 extent_physical = bioc->stripes[0].physical; in scrub_raid56_data_stripe_for_parity()
3221 extent_dev = bioc->stripes[0].dev; in scrub_raid56_data_stripe_for_parity()
3531 const u64 orig_physical = map->stripes[stripe_index].physical; in scrub_simple_stripe()
3571 u64 physical = map->stripes[stripe_index].physical; in scrub_stripe()
3637 map->stripes[stripe_index].physical, in scrub_stripe()
3701 map->stripes[stripe_index].physical + dev_stripe_len; in scrub_stripe()
3723 map->stripes[stripe_index].physical, in scrub_stripe()
[all …]
Ddev-replace.c591 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy()
595 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy()
841 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()
842 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
Dvolumes.h514 struct btrfs_io_stripe stripes[]; member
549 struct btrfs_io_stripe stripes[]; member
Draid56.c1037 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_sector()
1146 if (bio->bi_bdev != bioc->stripes[i].dev->bdev) in bio_get_trace_info()
1149 trace_info->devid = bioc->stripes[i].dev->devid; in bio_get_trace_info()
1151 bioc->stripes[i].physical; in bio_get_trace_info()
1369 stripe = &rbio->bioc->stripes[i]; in find_bio_stripe()
2305 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
Dextent_map.c371 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits()
386 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits()
Dblock-group.c1796 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
1800 if (bdev && map->stripes[i].dev->bdev != bdev) in btrfs_rmap_block()
1803 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
2369 device = map->stripes[i].dev; in insert_dev_extents()
2370 dev_offset = map->stripes[i].physical; in insert_dev_extents()
Dextent-tree.c1326 struct btrfs_discard_stripe *stripes; in btrfs_discard_extent() local
1331 stripes = btrfs_map_discard(fs_info, cur, &num_bytes, &num_stripes); in btrfs_discard_extent()
1332 if (IS_ERR(stripes)) { in btrfs_discard_extent()
1333 ret = PTR_ERR(stripes); in btrfs_discard_extent()
1340 struct btrfs_discard_stripe *stripe = stripes + i; in btrfs_discard_extent()
1365 kfree(stripes); in btrfs_discard_extent()
Dcheck-integrity.c1479 device = multi->stripes[0].dev; in btrfsic_map_block()
1486 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
Dcompression.c354 bio_set_dev(bio, em->map_lookup->stripes[0].dev->bdev); in alloc_compressed_bio()
/linux-6.1.9/Documentation/admin-guide/device-mapper/
Dunstriped.rst14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset>
16 <number of stripes>
17 The number of stripes in the RAID 0.
Ddm-raid.rst187 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
Ddm-ima.rst644 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.1.9/fs/btrfs/tests/
Dextent-map-tests.c500 map->stripes[i].dev = dev; in test_rmap_block()
501 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_actlog.c300 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.1.9/Documentation/driver-api/md/
Draid5-cache.rst26 shutdown can cause data in some stripes to not be in consistent state, eg, data
/linux-6.1.9/Documentation/filesystems/
Dntfs.rst344 # volume volume stripes device device
401 stripes with parity, i.e. raid level 5, should not work, too.
/linux-6.1.9/drivers/block/
DKconfig394 Say Y here if you want include the Rados block device, which stripes

12