Home
last modified time | relevance | path

Searched refs:stripe (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-6.6/fs/btrfs/
H A Dscrub.c96 * Set for data stripes if it's triggered from P/Q stripe.
125 * How many data/meta extents are in this stripe. Only for scrub status
136 * Indicate the states of the stripe. Bits are defined in
145 * The errors hit during the initial read of the stripe.
177 * Checksum for the whole stripe if this stripe is inside a data block
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 in release_scrub_stripe()
250 init_scrub_stripe(struct btrfs_fs_info *fs_info, struct scrub_stripe *stripe) init_scrub_stripe() argument
285 wait_scrub_stripe_io(struct scrub_stripe *stripe) wait_scrub_stripe_io() argument
583 scrub_stripe_get_page(struct scrub_stripe *stripe, int sector_nr) scrub_stripe_get_page() argument
591 scrub_stripe_get_page_offset(struct scrub_stripe *stripe, int sector_nr) scrub_stripe_get_page_offset() argument
599 scrub_verify_one_metadata(struct scrub_stripe *stripe, int sector_nr) scrub_verify_one_metadata() argument
690 scrub_verify_one_sector(struct scrub_stripe *stripe, int sector_nr) scrub_verify_one_sector() argument
752 scrub_verify_one_stripe(struct scrub_stripe *stripe, unsigned long bitmap) scrub_verify_one_stripe() argument
765 calc_sector_number(struct scrub_stripe *stripe, struct bio_vec *first_bvec) calc_sector_number() argument
786 struct scrub_stripe *stripe = bbio->private; scrub_repair_read_endio() local
818 scrub_stripe_submit_repair_read(struct scrub_stripe *stripe, int mirror, int blocksize, bool wait) scrub_stripe_submit_repair_read() argument
867 scrub_stripe_report_errors(struct scrub_ctx *sctx, struct scrub_stripe *stripe) scrub_stripe_report_errors() argument
1011 struct scrub_stripe *stripe = container_of(work, struct scrub_stripe, work); scrub_stripe_read_repair_worker() local
1101 struct scrub_stripe *stripe = bbio->private; scrub_read_endio() local
1129 struct scrub_stripe *stripe = bbio->private; scrub_write_endio() local
1153 scrub_submit_write_bio(struct scrub_ctx *sctx, struct scrub_stripe *stripe, struct btrfs_bio *bbio, bool dev_replace) scrub_submit_write_bio() argument
1195 scrub_write_sectors(struct scrub_ctx *sctx, struct scrub_stripe *stripe, unsigned long write_bitmap, bool dev_replace) scrub_write_sectors() argument
1479 fill_one_extent_info(struct btrfs_fs_info *fs_info, struct scrub_stripe *stripe, u64 extent_start, u64 extent_len, u64 extent_flags, u64 extent_gen) fill_one_extent_info() argument
1501 scrub_stripe_reset_bitmaps(struct scrub_stripe *stripe) scrub_stripe_reset_bitmaps() argument
1521 scrub_find_fill_first_stripe(struct btrfs_block_group *bg, struct btrfs_path *extent_path, struct btrfs_path *csum_path, struct btrfs_device *dev, u64 physical, int mirror_num, u64 logical_start, u32 logical_len, struct scrub_stripe *stripe) scrub_find_fill_first_stripe() argument
1633 scrub_reset_stripe(struct scrub_stripe *stripe) scrub_reset_stripe() argument
1648 scrub_submit_initial_read(struct scrub_ctx *sctx, struct scrub_stripe *stripe) scrub_submit_initial_read() argument
1694 stripe_has_metadata_error(struct scrub_stripe *stripe) stripe_has_metadata_error() argument
1725 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i]; submit_initial_group_read() local
1737 struct scrub_stripe *stripe; flush_scrub_stripes() local
1807 struct scrub_stripe *stripe; queue_scrub_stripe() local
1856 struct scrub_stripe *stripe; scrub_raid56_parity_stripe() local
[all...]
H A Draid56.c116 * the stripe hash table is used for locking, and to collect
117 * bios in hopes of making a full stripe
161 * use the page uptodate bit in the stripe cache array
201 * we hash on the first logical address of the stripe
290 * Stealing an rbio means taking all the uptodate pages from the stripe array
315 * all data stripe pages present and uptodate. in steal_rbio()
455 * insert an rbio into the stripe cache. It
525 * Returns true if the bio list inside this rbio covers an entire stripe (no
545 * the same stripe and if they are both going in the same
577 * We've need read the full stripe fro in rbio_can_merge()
1046 struct btrfs_io_stripe *stripe; rbio_add_io_sector() local
1190 int stripe; generate_pq_vertical() local
1232 int stripe; rmw_assemble_write_bios() local
1943 int stripe = total_sector_nr / rbio->stripe_nsectors; recover_rbio() local
2153 int stripe = total_sector_nr / rbio->stripe_nsectors; rmw_read_wait_recover() local
2407 int stripe; finish_parity_scrub() local
2552 is_data_stripe(struct btrfs_raid_bio *rbio, int stripe) is_data_stripe() argument
2653 int stripe = total_sector_nr / rbio->stripe_nsectors; scrub_assemble_read_bios() local
[all...]
H A Dextent_map.c364 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()
H A Dbio.c399 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()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-stripe.c21 struct stripe { struct
44 struct stripe stripe[]; member
49 * drops out of a stripe volume.
62 unsigned int stripe, char **argv) in get_stripe()
72 &sc->stripe[stripe].dev); in get_stripe()
76 sc->stripe[stripe].physical_start = start; in get_stripe()
100 ti->error = "Invalid stripe coun in stripe_ctr()
61 get_stripe(struct dm_target *ti, struct stripe_c *sc, unsigned int stripe, char **argv) get_stripe() argument
203 stripe_map_sector(struct stripe_c *sc, sector_t sector, uint32_t *stripe, sector_t *result) stripe_map_sector() argument
234 uint32_t stripe; stripe_map_range_sector() local
276 uint32_t stripe; stripe_map() local
311 uint32_t stripe; stripe_dax_direct_access() local
332 uint32_t stripe; stripe_dax_copy_from_iter() local
351 uint32_t stripe; stripe_dax_copy_to_iter() local
371 uint32_t stripe; stripe_dax_zero_page_range() local
[all...]
H A Draid5.c25 * When we discover that we will need to write to any block in a stripe
29 * we plug the array and queue the stripe for later.
111 /* Find first data disk in a raid6 stripe */
226 * In the following cases, the stripe cannot be released to cached in do_release_stripe()
227 * lists. Therefore, we make the stripe write out and set in do_release_stripe()
230 * 2. when resync is requested fot the stripe. in do_release_stripe()
278 /* full stripe */ in do_release_stripe()
415 pr_debug("remove_hash(), stripe %llu\n", in remove_hash()
425 pr_debug("insert_hash(), stripe %llu\n", in insert_hash()
431 /* find an idle stripe, mak
2916 sector_t stripe, stripe2; raid5_compute_sector() local
3124 sector_t stripe; raid5_compute_blocknr() local
3531 stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, struct stripe_head *sh) stripe_set_idx() argument
7717 int stripe = data_disks * raid5_run() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-stripe.c24 struct stripe { struct
47 struct stripe stripe[]; member
52 * drops out of a stripe volume.
65 unsigned int stripe, char **argv) in get_stripe()
75 &sc->stripe[stripe].dev); in get_stripe()
79 sc->stripe[stripe].physical_start = start; in get_stripe()
103 ti->error = "Invalid stripe coun in stripe_ctr()
64 get_stripe(struct dm_target *ti, struct stripe_c *sc, unsigned int stripe, char **argv) get_stripe() argument
201 stripe_map_sector(struct stripe_c *sc, sector_t sector, uint32_t *stripe, sector_t *result) stripe_map_sector() argument
232 uint32_t stripe; stripe_map_range_sector() local
274 uint32_t stripe; stripe_map() local
306 uint32_t stripe; stripe_dax_pgoff() local
[all...]
H A Draid5.c25 * When we discover that we will need to write to any block in a stripe
29 * we plug the array and queue the stripe for later.
118 /* Find first data disk in a raid6 stripe */
235 * In the following cases, the stripe cannot be released to cached
236 * lists. Therefore, we make the stripe write out and set
239 * 2. when resync is requested fot the stripe.
287 /* full stripe */
425 pr_debug("remove_hash(), stripe %llu\n", in remove_hash()
435 pr_debug("insert_hash(), stripe %llu\n", in insert_hash()
441 /* find an idle stripe, mak
3004 sector_t stripe, stripe2; raid5_compute_sector() local
3212 sector_t stripe; raid5_compute_blocknr() local
3643 stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, struct stripe_head *sh) stripe_set_idx() argument
8059 int stripe = data_disks * raid5_run() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Draid56.c65 /* while we're doing rmw on a stripe
67 * lock the stripe and merge more rbios
73 * LRU list for the stripe cache
84 * to add more bios into the stripe
93 * stripe locking code also uses it to hand off
94 * the stripe lock to the next pending IO
104 /* size of each individual stripe on disk */
121 /* first bad stripe */
124 /* second bad stripe (for raid6 use) */
130 * stripe
616 rbio_stripe_page_index(struct btrfs_raid_bio *rbio, int stripe, int index) rbio_stripe_page_index() argument
626 rbio_stripe_page(struct btrfs_raid_bio *rbio, int stripe, int index) rbio_stripe_page() argument
1097 struct btrfs_bio_stripe *stripe; rbio_add_io_page() local
1203 int stripe; finish_rmw() local
1375 struct btrfs_bio_stripe *stripe; find_bio_stripe() local
1520 int stripe; raid56_rmw_stripe() local
1838 int pagenr, stripe; __raid_recover_end_io() local
2085 int stripe; __raid56_parity_recover() local
2367 int stripe; finish_parity_scrub() local
2518 is_data_stripe(struct btrfs_raid_bio *rbio, int stripe) is_data_stripe() argument
2622 int stripe; raid56_parity_scrub_stripe() local
[all...]
H A Dextent_map.c363 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits() local
364 struct btrfs_device *device = stripe->dev; in extent_map_device_set_bits()
366 set_extent_bits_nowait(&device->alloc_state, stripe->physical, in extent_map_device_set_bits()
367 stripe->physical + stripe_size - 1, bits); in extent_map_device_set_bits()
378 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits() local
379 struct btrfs_device *device = stripe->dev; in extent_map_device_clear_bits()
381 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits()
382 stripe->physical + stripe_size - 1, bits, in extent_map_device_clear_bits()
H A Dvolumes.c3501 struct btrfs_stripe *stripe; in chunk_devid_filter() local
3506 stripe = btrfs_stripe_nr(chunk, i); in chunk_devid_filter()
3507 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid) in chunk_devid_filter()
3531 struct btrfs_stripe *stripe; in chunk_drange_filter() local
3546 stripe = btrfs_stripe_nr(chunk, i); in chunk_drange_filter()
3547 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid) in chunk_drange_filter()
3550 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()
5085 * The DUP profile stores more than one stripe per device, the in decide_stripe_size_regular()
5312 struct btrfs_stripe *stripe; in btrfs_finish_chunk_alloc() local
5360 stripe in btrfs_finish_chunk_alloc()
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/
H A Dipu3-css-params.c229 * Function calculates input frame stripe offset, based
230 * on output frame stripe offset and filter parameters.
244 * stripe offset and filter parameters
260 * This function calculates input frame stripe width,
261 * based on output frame stripe offset and filter parameters
277 * This function calculates output frame stripe width, basedi
278 * on output frame stripe offset and filter parameters
573 /* Calculate stripe offsets */ in imgu_css_osys_calc_frame_and_stripe_params()
596 /* Calculate stripe phase init */ in imgu_css_osys_calc_frame_and_stripe_params()
669 * input stripe in imgu_css_osys_calc_frame_and_stripe_params()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H A Dipu3-css-params.c229 * Function calculates input frame stripe offset, based
230 * on output frame stripe offset and filter parameters.
244 * stripe offset and filter parameters
260 * This function calculates input frame stripe width,
261 * based on output frame stripe offset and filter parameters
277 * This function calculates output frame stripe width, basedi
278 * on output frame stripe offset and filter parameters
573 /* Calculate stripe offsets */ in imgu_css_osys_calc_frame_and_stripe_params()
596 /* Calculate stripe phase init */ in imgu_css_osys_calc_frame_and_stripe_params()
669 * input stripe in imgu_css_osys_calc_frame_and_stripe_params()
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dwriteback.c601 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()
656 int stripe; refill_full_stripes() local
[all...]
H A Dwriteback.h66 pr_err("Invalid stripe %llu (>= nr_stripes %d).\n", in offset_to_stripe()
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()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dwriteback.c556 int stripe; in bcache_dev_sectors_dirty_add() local
561 stripe = offset_to_stripe(d, offset); in bcache_dev_sectors_dirty_add()
562 if (stripe < 0) in bcache_dev_sectors_dirty_add()
577 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add()
581 d->stripe_sectors_dirty + stripe); in bcache_dev_sectors_dirty_add()
583 set_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add()
585 clear_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add()
589 stripe++; in bcache_dev_sectors_dirty_add()
608 int stripe; in refill_full_stripes() local
611 stripe in refill_full_stripes()
[all...]
H A Dwriteback.h62 pr_err("Invalid stripe %llu (>= nr_stripes %d).\n", in offset_to_stripe()
78 int stripe = offset_to_stripe(&dc->disk, offset); in bcache_dev_stripe_dirty() local
80 if (stripe < 0) in bcache_dev_stripe_dirty()
84 if (atomic_read(dc->disk.stripe_sectors_dirty + stripe)) in bcache_dev_stripe_dirty()
91 stripe++; in bcache_dev_stripe_dirty()
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
H A Ddev.c127 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()
214 /* truncate offset to the beginning of the stripe */ in bl_map_stripe()
217 /* disk offset of the stripe */ in bl_map_stripe()
453 d->children = kcalloc(v->stripe in bl_parse_stripe()
[all...]
H A Dblocklayout.h83 } stripe; member
/kernel/linux/linux-6.6/fs/nfs/blocklayout/
H A Ddev.c127 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()
214 /* truncate offset to the beginning of the stripe */ in bl_map_stripe()
217 /* disk offset of the stripe */ in bl_map_stripe()
435 d->children = kcalloc(v->stripe in bl_parse_stripe()
[all...]
H A Dblocklayout.h83 } stripe; member
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/modes/interface/
H A Disp_const.h75 #define CEIL_ROUND_DIV_STRIPE(width, stripe, padding) \
76 CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_DS) ? 4 : 2))
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/modes/interface/
H A Disp_const.h85 #define CEIL_ROUND_DIV_STRIPE(width, stripe, padding) \
86 CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_DS) ? 4 : 2))
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_stream.c18 * snd_hdac_get_stream_stripe_ctl - get stripe control value
46 /* stripe value: 0 for 1SDO, 1 for 2SDO, 2 for 4SDO lines */ in snd_hdac_get_stream_stripe_ctl()
100 /* set stripe control */ in snd_hdac_stream_start()
101 if (azx_dev->stripe) { in snd_hdac_stream_start()
138 if (azx_dev->stripe) in snd_hdac_stream_clear()
152 if (azx_dev->stripe) in snd_hdac_stream_clear()
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_stream.c51 * snd_hdac_get_stream_stripe_ctl - get stripe control value
79 /* stripe value: 0 for 1SDO, 1 for 2SDO, 2 for 4SDO lines */ in snd_hdac_get_stream_stripe_ctl()
143 /* set stripe control */ in snd_hdac_stream_start()
144 if (azx_dev->stripe) { in snd_hdac_stream_start()
172 if (azx_dev->stripe) in snd_hdac_stream_clear()

Completed in 36 milliseconds

12