Home
last modified time | relevance | path

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

/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.c322 * Be careful: Only one task can add/delete stripes from temp_inactive_list at
323 * given time. Adding stripes only takes device lock, while deleting stripes
344 * remove stripes from the list in release_inactive_stripe_list()
784 * bitmap to track stripe sectors that have been added to stripes
792 * there are fewer than 3/4 the maximum number of active stripes
2510 /* Make all the stripes able to hold 'newsize' devices. in resize_stripes()
2521 * freed when all stripes are done. in resize_stripes()
2572 * OK, we have enough stripes, start collecting inactive in resize_stripes()
2573 * stripes an in resize_stripes()
6258 struct list_head stripes; reshape_request() local
7669 int stripes = max_t(int, setup_conf() local
[all...]
/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 Dvolumes.c3396 ret = btrfs_update_device(trans, map->stripes[i].dev); in btrfs_remove_dev_extents()
3423 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()
3425 map->stripes[i].physical, in btrfs_remove_chunk()
3480 * that replaces the device object associated with the map's stripes, in btrfs_remove_chunk()
4247 /* stripes filter */ in balance_remap_chunks()
4765 CHECK_APPEND_2ARG("stripes=%u..%u,", in btrfs_balance()
5662 /* Total number of stripes to allocate */ in init_alloc_chunk_ctl_policy_zoned()
5676 /* Number of stripes worth of bytes to store parity information */ in init_alloc_chunk_ctl()
5851 /* Number of stripes that count for block group size */ in decide_stripe_size_zoned()
5855 * The primary goal is to maximize the number of stripes, s in decide_stripe_size()
6425 struct stripe_mirror stripes[BTRFS_RAID1_MAX_MIRRORS] = { 0 }; btrfs_read_rr() local
6561 struct btrfs_discard_stripe *stripes; btrfs_map_discard() local
[all...]
H A Dscrub.c45 * This determines how many stripes would be submitted in one go,
93 * Set for data stripes if it's triggered from P/Q stripe.
94 * During such scrub, we should not report errors in data stripes, nor
194 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES]; member
439 release_scrub_stripe(&sctx->stripes[i]); in scrub_free_ctx()
456 /* Since sctx has inline 128 stripes, it can go beyond 64K easily. Use in scrub_setup_ctx()
472 ret = init_scrub_stripe(fs_info, &sctx->stripes[i]); in scrub_setup_ctx()
475 sctx->stripes[i].sctx = sctx; in scrub_setup_ctx()
1037 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()
1038 dev = bioc->stripes[stripe_inde in scrub_stripe_report_errors()
[all...]
H A Draid56.c56 i, bioc->stripes[i].dev->devid, in dump_bioc()
57 bioc->stripes[i].physical); in dump_bioc()
122 /* Used by the raid56 code to lock stripes for read/modify/write */
128 /* Used by the raid56 code to lock stripes for read/modify/write */
401 * Thus if the first sector of the page belongs to data stripes, then in is_data_stripe_page()
402 * the full page belongs to data stripes. in is_data_stripe_page()
1067 * Real stripes must be between 2 (2 disks RAID5, aka RAID1) and 256 in alloc_rbio()
1121 /* allocate pages for all the stripes in the bio, including parity */
1134 /* only allocate pages for p/q stripes */
1240 stripe = &rbio->bioc->stripes[stripe_n in rbio_add_io_paddrs()
[all...]
H A Draid-stripe-tree.c347 u64 devid = bioc->stripes[i].dev->devid; in btrfs_insert_one_raid_extent()
348 u64 physical = bioc->stripes[i].physical; in btrfs_insert_one_raid_extent()
H A Dzoned.c1335 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info()
1338 device = map->stripes[zone_idx].dev; in btrfs_load_zone_info()
2331 u64 physical = bioc->stripes[i].physical; in read_zone_info()
2332 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
2430 device = map->stripes[i].dev; in btrfs_zone_activate()
2431 physical = map->stripes[i].physical; in btrfs_zone_activate()
2616 ret = call_zone_finish(block_group, &map->stripes[i]); in do_zone_finish()
3078 map->stripes[i].dev->zone_info->reserved_active_zones--;
3159 struct btrfs_io_stripe *stripe = &map->stripes[i]; in btrfs_reset_unused_block_groups()
H A Dblock-group.c2303 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
2307 stripe_nr = (physical - map->stripes[i].physical) >> in btrfs_rmap_block()
2309 offset = (physical - map->stripes[i].physical) & in btrfs_rmap_block()
2369 /* Shouldn't have super stripes in sequential zones */ in btrfs_create_block_group()
2542 * We need to exclude the super stripes now so that the space info has in read_one_block_group()
2891 * with the map's stripes, because the device object's id can change
2899 device = map->stripes[i].dev; in btrfs_create_pending_block_groups()
2900 dev_offset = map->stripes[i].physical; in btrfs_create_pending_block_groups()
4951 * groups which haven't yet had their chunk stripes and device extents removed, in btrfs_populate_fully_remapped_bgs_list()
4957 * chunk's stripes ar in btrfs_populate_fully_remapped_bgs_list()
[all...]
H A Dextent-tree.c1434 * stripes don't go away while we are discarding. in btrfs_discard_extent()
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()
2915 * Complete the remapping of a block group by removing its chunk stripes and in btrfs_complete_bg_remapping()
H A Dinode.c10317 device = map->stripes[0].dev; in btrfs_swap_activate()
10323 } else if (device != map->stripes[0].dev) { in btrfs_swap_activate()
10329 physical_block_start = (map->stripes[0].physical + in btrfs_swap_activate()
H A Drelocation.c4786 ret = btrfs_update_device(trans, chunk_map->stripes[i].dev); in adjust_identity_remap_count()
/linux/Documentation/admin-guide/device-mapper/
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/staging/media/ipu3/
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/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