/Linux-v6.6/fs/btrfs/ |
D | scrub.c | 232 static void release_scrub_stripe(struct scrub_stripe *stripe) in release_scrub_stripe() argument 234 if (!stripe) in release_scrub_stripe() 238 if (stripe->pages[i]) in release_scrub_stripe() 239 __free_page(stripe->pages[i]); in release_scrub_stripe() 240 stripe->pages[i] = NULL; in release_scrub_stripe() 242 kfree(stripe->sectors); in release_scrub_stripe() 243 kfree(stripe->csums); in release_scrub_stripe() 244 stripe->sectors = NULL; in release_scrub_stripe() 245 stripe->csums = NULL; in release_scrub_stripe() 246 stripe->sctx = NULL; in release_scrub_stripe() [all …]
|
D | raid56.c | 1046 struct btrfs_io_stripe *stripe; in rbio_add_io_sector() local 1058 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_sector() 1059 disk_start = stripe->physical + sector_nr * sectorsize; in rbio_add_io_sector() 1062 if (!stripe->dev->bdev) { in rbio_add_io_sector() 1086 last->bi_bdev == stripe->dev->bdev) { in rbio_add_io_sector() 1095 bio = bio_alloc(stripe->dev->bdev, in rbio_add_io_sector() 1190 int stripe; in generate_pq_vertical() local 1194 for (stripe = 0; stripe < rbio->nr_data; stripe++) { in generate_pq_vertical() 1195 sector = sector_in_rbio(rbio, stripe, sectornr, 0); in generate_pq_vertical() 1196 pointers[stripe] = kmap_local_page(sector->page) + in generate_pq_vertical() [all …]
|
D | bio.c | 399 struct btrfs_io_stripe *stripe = bio->bi_private; in btrfs_orig_write_end_io() local 400 struct btrfs_io_context *bioc = stripe->bioc; in btrfs_orig_write_end_io() 407 btrfs_log_dev_io_error(bio, stripe->dev); in btrfs_orig_write_end_io() 425 struct btrfs_io_stripe *stripe = bio->bi_private; in btrfs_clone_write_end_io() local 428 atomic_inc(&stripe->bioc->error); in btrfs_clone_write_end_io() 429 btrfs_log_dev_io_error(bio, stripe->dev); in btrfs_clone_write_end_io() 433 bio_endio(stripe->bioc->orig_bio); in btrfs_clone_write_end_io()
|
D | extent_map.c | 364 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits() local 365 struct btrfs_device *device = stripe->dev; in extent_map_device_set_bits() 367 set_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_set_bits() 368 stripe->physical + stripe_size - 1, in extent_map_device_set_bits() 380 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits() local 381 struct btrfs_device *device = stripe->dev; in extent_map_device_clear_bits() 383 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits() 384 stripe->physical + stripe_size - 1, in extent_map_device_clear_bits()
|
D | volumes.c | 3672 struct btrfs_stripe *stripe; in chunk_devid_filter() local 3677 stripe = btrfs_stripe_nr(chunk, i); in chunk_devid_filter() 3678 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid) in chunk_devid_filter() 3699 struct btrfs_stripe *stripe; in chunk_drange_filter() local 3714 stripe = btrfs_stripe_nr(chunk, i); in chunk_drange_filter() 3715 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid) in chunk_drange_filter() 3718 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter() 5540 struct btrfs_stripe *stripe; in btrfs_chunk_alloc_add_chunk_item() local 5596 stripe = &chunk->stripe; in btrfs_chunk_alloc_add_chunk_item() 5601 btrfs_set_stack_stripe_devid(stripe, device->devid); in btrfs_chunk_alloc_add_chunk_item() [all …]
|
/Linux-v6.6/drivers/md/ |
D | dm-stripe.c | 24 struct stripe { struct 47 struct stripe stripe[]; argument 65 unsigned int stripe, char **argv) in get_stripe() argument 75 &sc->stripe[stripe].dev); in get_stripe() 79 sc->stripe[stripe].physical_start = start; in get_stripe() 132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL); in stripe_ctr() 177 dm_put_device(ti, sc->stripe[i].dev); in stripe_ctr() 181 atomic_set(&(sc->stripe[i].error_count), 0); in stripe_ctr() 195 dm_put_device(ti, sc->stripe[i].dev); in stripe_dtr() 202 uint32_t *stripe, sector_t *result) in stripe_map_sector() argument [all …]
|
D | Makefile | 6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
|
/Linux-v6.6/drivers/staging/media/ipu3/ |
D | ipu3-css-params.c | 1005 osys->stripe[s].crop_top[pin] = in imgu_css_osys_calc() 1007 osys->stripe[s].input_width = in imgu_css_osys_calc() 1009 osys->stripe[s].input_height = in imgu_css_osys_calc() 1011 osys->stripe[s].block_height = in imgu_css_osys_calc() 1013 osys->stripe[s].block_width = in imgu_css_osys_calc() 1015 osys->stripe[s].output_width[pin] = in imgu_css_osys_calc() 1017 osys->stripe[s].output_height[pin] = in imgu_css_osys_calc() 1022 osys->stripe[s].crop_left[pin] = in imgu_css_osys_calc() 1024 osys->stripe[s].output_offset[pin] = in imgu_css_osys_calc() 1032 osys->stripe[s].crop_left[pin] = 0; in imgu_css_osys_calc() [all …]
|
/Linux-v6.6/drivers/md/bcache/ |
D | writeback.c | 601 int stripe; in bcache_dev_sectors_dirty_add() local 606 stripe = offset_to_stripe(d, offset); in bcache_dev_sectors_dirty_add() 607 if (stripe < 0) in bcache_dev_sectors_dirty_add() 622 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add() 626 d->stripe_sectors_dirty + stripe); in bcache_dev_sectors_dirty_add() 628 if (!test_bit(stripe, d->full_dirty_stripes)) in bcache_dev_sectors_dirty_add() 629 set_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add() 631 if (test_bit(stripe, d->full_dirty_stripes)) in bcache_dev_sectors_dirty_add() 632 clear_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add() 637 stripe++; in bcache_dev_sectors_dirty_add() [all …]
|
D | writeback.h | 82 int stripe = offset_to_stripe(&dc->disk, offset); in bcache_dev_stripe_dirty() local 84 if (stripe < 0) in bcache_dev_stripe_dirty() 88 if (atomic_read(dc->disk.stripe_sectors_dirty + stripe)) in bcache_dev_stripe_dirty() 95 stripe++; in bcache_dev_stripe_dirty()
|
/Linux-v6.6/Documentation/driver-api/md/ |
D | raid5-ppl.rst | 6 addressed by PPL is that after a dirty shutdown, parity of a particular stripe 15 Partial parity for a write operation is the XOR of stripe data chunks not 18 the stripe, consistent with its state before the write operation, regardless of 20 this stripe is missing, this updated parity can be used to recover its 29 stripe. It does not require a dedicated journaling drive. Write performance is 36 silent data corruption. If a dirty disk of a stripe is lost, no PPL recovery is 37 performed for this stripe (parity is not updated). So it is possible to have 38 arbitrary data in the written part of a stripe if that disk is lost. In such
|
D | raid5-cache.rst | 27 and parity don't match. The reason is that a stripe write involves several RAID 52 write. If a write crosses all RAID disks of a stripe, we call it full-stripe 53 write. For non-full-stripe writes, MD must read old data before the new parity 57 RAID disks only after the data becomes a full stripe write. This will 101 release the memory cache. The flush conditions could be stripe becomes a full 102 stripe write, free cache disk space is low or free in-kernel memory cache space 107 data and data. If MD finds a stripe with data and valid parities (1 parity for
|
/Linux-v6.6/fs/nfs/blocklayout/ |
D | dev.c | 127 p = xdr_decode_hyper(p, &b->stripe.chunk_size); in nfs4_block_decode_volume() 128 b->stripe.volumes_count = be32_to_cpup(p++); in nfs4_block_decode_volume() 129 if (b->stripe.volumes_count > PNFS_BLOCK_MAX_DEVICES) { in nfs4_block_decode_volume() 130 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume() 134 p = xdr_inline_decode(xdr, b->stripe.volumes_count * 4); in nfs4_block_decode_volume() 137 for (i = 0; i < b->stripe.volumes_count; i++) in nfs4_block_decode_volume() 138 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume() 435 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe() 440 for (i = 0; i < v->stripe.volumes_count; i++) { in bl_parse_stripe() 442 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe() [all …]
|
D | blocklayout.h | 83 } stripe; member
|
/Linux-v6.6/Documentation/admin-guide/device-mapper/ |
D | unstriped.rst | 14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset> 25 <stripe #> 26 The stripe number within the device that corresponds to physical 33 An example of undoing an existing dm-stripe 88 in a 256k stripe across the two cores::
|
D | striped.rst | 2 dm-stripe
|
D | dm-raid.rst | 83 "stripe size". It is the only mandatory parameter and 194 starting at data_offset to fill up a new stripe with the larger 196 and write that new stripe to offset 0. Same will be applied to all 355 of a RAID 4/5/6 stripe and if subsequent read results are not 416 1.14.0 Fix reshape race on small devices. Fix stripe adding reshape
|
D | dm-log.rst | 7 inconsistent because a RAID stripe is currently being operated on or
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/isp/modes/interface/ |
D | isp_const.h | 75 #define CEIL_ROUND_DIV_STRIPE(width, stripe, padding) \ argument 76 …CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_D…
|
/Linux-v6.6/Documentation/filesystems/ |
D | ntfs.rst | 15 - Using NTFS volume and stripe sets 35 For fault tolerance and raid support (i.e. volume and stripe sets), you can 245 Using NTFS volume and stripe sets 248 For support of volume and stripe sets, you can either use the kernel's 257 You will need to create a table of the components of the volume/stripe set and 262 though untested, there is no reason why stripe sets, i.e. raid level 0, and 397 Linear volume sets, i.e. linear raid, as well as stripe sets, i.e. raid level 404 NTFS volume/stripe you are configuring in /etc/raidtab as the persistent 407 Windows by default uses a stripe chunk size of 64k, so you probably want the 410 For example, if you have a stripe set consisting of two partitions /dev/hda5 [all …]
|
/Linux-v6.6/Documentation/admin-guide/ |
D | xfs.rst | 134 stripe unit configured at **mkfs(8)** time. 147 Data allocations will not be aligned at stripe unit 183 Used to specify the stripe unit and width for a RAID device 184 or a stripe volume. "value" must be specified in 512-byte 200 Data allocations will be rounded up to stripe width boundaries 202 size is larger than the stripe width size.
|
/Linux-v6.6/Documentation/scsi/ |
D | arcmsr_spec.rst | 422 byte 8 stripe size 769 10:new stripe size 812 byte 29 stripe size 836 byte 29 new stripe size
|
D | ChangeLog.ips | 121 8K stripe size.
|
/Linux-v6.6/sound/hda/ |
D | hdac_stream.c | 144 if (azx_dev->stripe) { in snd_hdac_stream_start() 172 if (azx_dev->stripe) in snd_hdac_stream_clear()
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | sysfs-fs-ext4 | 16 stripe size is not set in the ext4 superblock
|