Home
last modified time | relevance | path

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

12

/linux/drivers/md/
H A Ddm-stripe.c32 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 Ddm-unstripe.c16 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 Draid5.c6253 struct list_head stripes; in reshape_request() local
6395 INIT_LIST_HEAD(&stripes); in reshape_request()
6426 list_add(&sh->lru, &stripes); in reshape_request()
6459 while (!list_empty(&stripes)) { in reshape_request()
6460 sh = list_entry(stripes.next, struct stripe_head, lru); in reshape_request()
7658 int stripes = max_t(int, in setup_conf() local
7661 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
/linux/drivers/staging/media/ipu3/
H A 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 …]
H A 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
H A Dipu3-css.c696 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/fs/btrfs/tests/
H A Draid-stripe-tree-tests.c68 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 Dextent-map-tests.c1044 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 Dscrub.c194 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES]; member
438 release_scrub_stripe(&sctx->stripes[i]); in scrub_free_ctx()
471 ret = init_scrub_stripe(fs_info, &sctx->stripes[i]); in scrub_setup_ctx()
474 sctx->stripes[i].sctx = sctx; in scrub_setup_ctx()
1041 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()
1042 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()
1237 btrfs_repair_one_zone(fs_info, sctx->stripes[0].bg->start); in scrub_stripe_read_repair_worker()
1445 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
1949 scrub_throttle_dev_io(sctx, sctx->stripes[0].dev, in submit_initial_group_read()
1953 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i]; in submit_initial_group_read()
[all …]
H A Draid56.c56 i, bioc->stripes[i].dev->devid, in dump_bioc()
57 bioc->stripes[i].physical); in dump_bioc()
1260 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_paddrs()
1358 if (bio->bi_bdev != bioc->stripes[i].dev->bdev) in bio_get_trace_info()
1361 trace_info->devid = bioc->stripes[i].dev->devid; in bio_get_trace_info()
1363 bioc->stripes[i].physical; in bio_get_trace_info()
1587 if (!rbio->bioc->stripes[stripe_nr].dev->bdev) { in set_rbio_range_error()
2178 if (!rbio->bioc->stripes[stripe].dev->bdev || in recover_rbio()
2595 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
H A Draid-stripe-tree.c312 u64 devid = bioc->stripes[i].dev->devid; in btrfs_insert_one_raid_extent()
313 u64 physical = bioc->stripes[i].physical; in btrfs_insert_one_raid_extent()
H A Dzoned.c1319 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info()
1322 device = map->stripes[zone_idx].dev; in btrfs_load_zone_info()
2317 u64 physical = bioc->stripes[i].physical; in read_zone_info()
2318 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
2413 device = map->stripes[i].dev; in btrfs_zone_activate()
2414 physical = map->stripes[i].physical; in btrfs_zone_activate()
2599 ret = call_zone_finish(block_group, &map->stripes[i]); in do_zone_finish()
3070 map->stripes[i].dev->zone_info->reserved_active_zones--; in btrfs_check_active_zone_reservation()
3151 struct btrfs_io_stripe *stripe = &map->stripes[i]; in btrfs_reset_unused_block_groups()
H A Dbio.c553 bio->bi_private = &bioc->stripes[dev_nr]; in btrfs_submit_mirrored_bio()
554 bio->bi_iter.bi_sector = bioc->stripes[dev_nr].physical >> SECTOR_SHIFT; in btrfs_submit_mirrored_bio()
555 bioc->stripes[dev_nr].bioc = bioc; in btrfs_submit_mirrored_bio()
557 btrfs_submit_dev_bio(bioc->stripes[dev_nr].dev, bio); in btrfs_submit_mirrored_bio()
H A Ddev-replace.c560 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy()
564 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy()
835 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()
836 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
H A Dvolumes.h584 struct btrfs_io_stripe stripes[]; member
624 struct btrfs_io_stripe stripes[]; member
H A Dblock-group.c2237 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
2241 stripe_nr = (physical - map->stripes[i].physical) >> in btrfs_rmap_block()
2243 offset = (physical - map->stripes[i].physical) & in btrfs_rmap_block()
2840 device = map->stripes[i].dev; in insert_dev_extents()
2841 dev_offset = map->stripes[i].physical; in insert_dev_extents()
H A Dinode.c10486 device = map->stripes[0].dev; in btrfs_swap_activate()
10492 } else if (device != map->stripes[0].dev) { in btrfs_swap_activate()
10498 physical_block_start = (map->stripes[0].physical + in btrfs_swap_activate()
/linux/Documentation/admin-guide/device-mapper/
H A 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
390 raid0 -> raid10 with near layout and N >= 2 mirror groups (raid0 stripes have to become first membe…
403 raid4: add and remove stripes (minimum 3), change stripesize
404 raid5: add and remove stripes (minimum 3, special case 2 for raid1 takeover), change rotating pari…
405 raid6: add and remove stripes (minimum 4), change rotating syndrome algorithms, change stripesize
406 raid10 near: add stripes (minimum 4), change stripesize, no stripe removal possible, change to of…
407 raid10 offset: add stripes, change stripesize, no stripe removal possible, change to near layout
H A Dunstriped.rst14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset>
16 <number of stripes>
17 The number of stripes in the RAID 0.
H A 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/drivers/block/drbd/
H A 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/Documentation/driver-api/md/
H A Draid5-cache.rst26 shutdown can cause data in some stripes to not be in consistent state, eg, data
/linux/drivers/block/
H A DKconfig320 Say Y here if you want include the Rados block device, which stripes
/linux/Documentation/networking/
H A Dtls-offload.rst276 as received on wire, red stripes mark start of new records.
/linux/Documentation/admin-guide/
H A Dmd.rst802 requires preread stripes to wait until all full-width stripe-

12