Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.c5964 struct list_head stripes; in reshape_request() local
6100 INIT_LIST_HEAD(&stripes); in reshape_request()
6130 list_add(&sh->lru, &stripes); in reshape_request()
6162 while (!list_empty(&stripes)) { in reshape_request()
6163 sh = list_entry(stripes.next, struct stripe_head, lru); in reshape_request()
7354 int stripes = max_t(int, in setup_conf() local
7357 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
/Linux-v5.10/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()
849 unsigned int stripes, in imgu_css_osys_calc() argument
864 if (imgu_css_osys_calc_frame_and_stripe_params(css, stripes, osys, in imgu_css_osys_calc()
873 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.c708 const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; in imgu_css_pipeline_init() local
1003 sp_stage->num_stripes = stripes; in imgu_css_pipeline_init()
2124 unsigned int stripes, i; in imgu_css_set_parameters() local
2146 stripes = bi->info.isp.sp.iterator.num_stripes ? : 1; in imgu_css_set_parameters()
2257 for (i = 0; i < stripes; i++) { in imgu_css_set_parameters()
2260 map->daddr + (obgrid_size / stripes) * i; in imgu_css_set_parameters()
/Linux-v5.10/fs/btrfs/
Dvolumes.c2951 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()
2953 map->stripes[i].physical, in btrfs_remove_chunk()
5076 map->stripes[s].dev = devices_info[i].dev; in create_chunk()
5077 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk()
5117 struct btrfs_device *dev = map->stripes[i].dev; in create_chunk()
5247 device = map->stripes[i].dev; in btrfs_finish_chunk_alloc()
5248 dev_offset = map->stripes[i].physical; in btrfs_finish_chunk_alloc()
5265 device = map->stripes[i].dev; in btrfs_finish_chunk_alloc()
5266 dev_offset = map->stripes[i].physical; in btrfs_finish_chunk_alloc()
5342 &map->stripes[i].dev->dev_state)) { in btrfs_chunk_readonly()
[all …]
Dvolumes.h342 struct btrfs_bio_stripe stripes[]; member
377 struct btrfs_bio_stripe stripes[]; member
Dscrub.c1363 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1365 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()
2607 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
2912 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()
2914 extent_dev = bbio->stripes[0].dev; in scrub_raid56_parity()
3013 physical = map->stripes[num].physical; in scrub_stripe()
3343 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3402 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()
3403 map->stripes[i].physical == dev_offset) { in scrub_chunk()
4059 !bbio->stripes[0].dev->bdev) { in scrub_remap_extent()
[all …]
Dextent_map.c363 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits()
378 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits()
Ddev-replace.c667 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()
668 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
Dreada.c275 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()
355 dev = bbio->stripes[nzones].dev; in reada_find_extent()
Draid56.c1091 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()
1358 stripe = &rbio->bbio->stripes[i]; in find_bio_stripe()
2257 if (bbio->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
Dcheck-integrity.c1529 device = multi->stripes[0].dev; in btrfsic_map_block()
1536 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
Dblock-group.c1682 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
1686 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
Dextent_io.c2305 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure()
2307 dev = bbio->stripes[bbio->mirror_num - 1].dev; in repair_io_failure()
/Linux-v5.10/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
/Linux-v5.10/fs/btrfs/tests/
Dextent-map-tests.c498 map->stripes[i].dev = dev; in test_rmap_block()
499 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
/Linux-v5.10/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-v5.10/Documentation/driver-api/md/
Draid5-cache.rst26 shutdown can cause data in some stripes to not be in consistent state, eg, data
/Linux-v5.10/Documentation/filesystems/
Dntfs.rst344 # volume volume stripes device device
401 stripes with parity, i.e. raid level 5, should not work, too.
/Linux-v5.10/drivers/block/
DKconfig443 Say Y here if you want include the Rados block device, which stripes
/Linux-v5.10/Documentation/networking/
Dtls-offload.rst275 as received on wire, red stripes mark start of new records.
/Linux-v5.10/Documentation/admin-guide/
Dmd.rst756 requires preread stripes to wait until all full-width stripe-

12