/openbmc/linux/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() 170 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()
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-afsplit.c | 30 uint32_t stripes; member 40 .stripes = 5, 72 .stripes = 5000, 81 .stripes = 1000, 92 .stripes = 1000, 133 size_t splitlen = data->blocklen * data->stripes; in test_afsplit() 140 data->blocklen, data->stripes, in test_afsplit() 145 data->blocklen, data->stripes, in test_afsplit() 162 data->blocklen, data->stripes, in test_afsplit()
|
/openbmc/linux/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
|
/openbmc/qemu/crypto/ |
H A D | afsplit.c | 90 uint32_t stripes, in qcrypto_afsplit_encode() argument 98 for (i = 0; i < (stripes - 1); i++) { in qcrypto_afsplit_encode() 122 uint32_t stripes, in qcrypto_afsplit_decode() argument 130 for (i = 0; i < (stripes - 1); i++) { in qcrypto_afsplit_decode()
|
H A D | block-luks.c | 345 unsigned int stripes) in qcrypto_block_luks_splitkeylen_sectors() argument 352 size_t splitkeylen = luks->header.master_key_len * stripes; in qcrypto_block_luks_splitkeylen_sectors() 381 cpu_to_be32s(&hdr->key_slots[i].stripes); in qcrypto_block_luks_to_disk_endian() 403 be32_to_cpus(&hdr->key_slots[i].stripes); in qcrypto_block_luks_from_disk_endian() 534 if (slot1->stripes != QCRYPTO_BLOCK_LUKS_STRIPES) { in qcrypto_block_luks_check_header() 724 splitkeylen = luks->header.master_key_len * slot->stripes; in qcrypto_block_luks_store_key() 815 slot->stripes, in qcrypto_block_luks_store_key() 900 splitkeylen = luks->header.master_key_len * slot->stripes; in qcrypto_block_luks_load_key() 986 slot->stripes, in qcrypto_block_luks_load_key() 1544 slot->stripes = QCRYPTO_BLOCK_LUKS_STRIPES; in qcrypto_block_luks_create() [all …]
|
H A D | block-luks-priv.h | 92 uint32_t stripes; member
|
/openbmc/qemu/include/crypto/ |
H A D | afsplit.h | 107 uint32_t stripes, 129 uint32_t stripes,
|
/openbmc/linux/fs/btrfs/ |
H A D | scrub.c | 186 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES]; member 332 release_scrub_stripe(&sctx->stripes[i]); in scrub_free_ctx() 368 sctx->stripes[i].sctx = sctx; in scrub_setup_ctx() 908 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors() 1754 stripe = &sctx->stripes[i]; in flush_scrub_stripes() 1775 stripe = &sctx->stripes[i]; in flush_scrub_stripes() 1787 stripe = &sctx->stripes[i]; in flush_scrub_stripes() 1819 stripe = &sctx->stripes[sctx->cur_stripe]; in queue_scrub_stripe() 1890 map->stripes[stripe_index].dev, physical, 1, in scrub_raid56_parity_stripe() 2305 map->stripes[stripe_index].physical, in scrub_stripe() [all …]
|
H A D | volumes.c | 3131 map->stripes[i].physical, in btrfs_remove_chunk() 5889 if (map->stripes[i].dev->bdev && in find_live_mirror() 6028 stripes = kcalloc(*num_stripes, sizeof(*stripes), GFP_NOFS); in btrfs_map_discard() 6029 if (!stripes) { in btrfs_map_discard() 6035 stripes[i].physical = in btrfs_map_discard() 6038 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard() 6066 stripes[i].length = length; in btrfs_map_discard() 6077 return stripes; in btrfs_map_discard() 6844 map->stripes[i].physical = in read_one_chunk() 6853 if (!map->stripes[i].dev) { in read_one_chunk() [all …]
|
H A D | bio.c | 490 bio->bi_private = &bioc->stripes[dev_nr]; in btrfs_submit_mirrored_bio() 491 bio->bi_iter.bi_sector = bioc->stripes[dev_nr].physical >> SECTOR_SHIFT; in btrfs_submit_mirrored_bio() 492 bioc->stripes[dev_nr].bioc = bioc; in btrfs_submit_mirrored_bio() 493 btrfs_submit_dev_bio(bioc->stripes[dev_nr].dev, bio); in btrfs_submit_mirrored_bio()
|
H A D | zoned.c | 1302 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info() 1305 device = map->stripes[zone_idx].dev; in btrfs_load_zone_info() 1914 u64 physical = bioc->stripes[i].physical; in read_zone_info() 1915 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 2005 device = map->stripes[i].dev; in btrfs_zone_activate() 2006 physical = map->stripes[i].physical; in btrfs_zone_activate() 2164 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish() 2165 const u64 physical = map->stripes[i].physical; in do_zone_finish() 2540 map->stripes[i].dev->zone_info->reserved_active_zones--; in btrfs_check_active_zone_reservation()
|
H A D | volumes.h | 494 struct btrfs_io_stripe stripes[]; member 528 struct btrfs_io_stripe stripes[]; member
|
H A D | dev-replace.c | 577 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy() 581 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy() 843 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree() 844 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
|
H A D | raid56.c | 1058 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_sector() 1161 if (bio->bi_bdev != bioc->stripes[i].dev->bdev) in bio_get_trace_info() 1164 trace_info->devid = bioc->stripes[i].dev->devid; in bio_get_trace_info() 1166 bioc->stripes[i].physical; in bio_get_trace_info() 1355 if (!rbio->bioc->stripes[stripe_nr].dev->bdev) { in set_rbio_range_error() 1952 if (!rbio->bioc->stripes[stripe].dev->bdev || in recover_rbio() 2361 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 210.out | 31 stripes: 4000 84 stripes: 4000 140 stripes: 4000 211 stripes: 4000
|
H A D | 198.out | 53 stripes: 4000 99 stripes: 4000
|
/openbmc/linux/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…
|
/openbmc/qemu/qapi/ |
H A D | crypto.json | 292 # @stripes: number of stripes for splitting key material 299 '*stripes': 'int',
|
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/ |
H A D | 0001-restripe.c-Use-_FILE_OFFSET_BITS-to-enable-largefile.patch | 111 (read(source[i], stripes[i], chunk_size) !=
|
/openbmc/linux/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()
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 905 map->stripes[i].dev = dev; in test_rmap_block() 906 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
|