Home
last modified time | relevance | path

Searched refs:stripe_size (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/md/bcache/
Dwriteback.h62 do_div(offset, d->stripe_size); in offset_to_stripe()
91 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty()
94 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty()
Dwriteback.c613 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add()
617 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add()
627 if (sectors_dirty == d->stripe_size) { in bcache_dev_sectors_dirty_add()
676 stripe * dc->disk.stripe_size, 0); in refill_full_stripes()
680 next_stripe * dc->disk.stripe_size, 0), in refill_full_stripes()
Dsysfs.c131 read_attribute(stripe_size);
258 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
Dsuper.c906 if (!d->stripe_size) in bcache_device_init()
907 d->stripe_size = 1 << 31; in bcache_device_init()
909 n = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init()
1419 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
1421 if (dc->disk.stripe_size) in cached_dev_init()
Dbcache.h268 unsigned int stripe_size; member
/linux-6.1.9/drivers/md/
Draid0.c440 unsigned int stripe_size; in raid0_handle_discard() local
465 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard()
468 sector_div(first_stripe_index, stripe_size); in raid0_handle_discard()
470 sector_div(last_stripe_index, stripe_size); in raid0_handle_discard()
472 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard()
474 start_disk_offset = ((int)(start - first_stripe_index * stripe_size) % in raid0_handle_discard()
477 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()
479 end_disk_offset = ((int)(end - last_stripe_index * stripe_size) % in raid0_handle_discard()
Draid5.h586 unsigned long stripe_size; member
704 #define RAID5_STRIPE_SIZE(conf) ((conf)->stripe_size)
Draid10.c1655 unsigned int stripe_size; in raid10_handle_discard() local
1688 stripe_size = stripe_data_disks << geo->chunk_shift; in raid10_handle_discard()
1701 if (bio_sectors(bio) < stripe_size*2) in raid10_handle_discard()
1707 div_u64_rem(bio_start, stripe_size, &remainder); in raid10_handle_discard()
1709 split_size = stripe_size - remainder; in raid10_handle_discard()
1717 div_u64_rem(bio_end, stripe_size, &remainder); in raid10_handle_discard()
Draid5.c508 cnt = PAGE_SIZE / conf->stripe_size; in init_stripe_shared_pages()
6985 if (new == conf->stripe_size) in raid5_store_stripe_size()
6989 conf->stripe_size, new); in raid5_store_stripe_size()
7005 conf->stripe_size = new; in raid5_store_stripe_size()
7022 raid5_stripe_size = __ATTR(stripe_size, 0644,
7027 raid5_stripe_size = __ATTR(stripe_size, 0444,
7474 conf->stripe_size = DEFAULT_STRIPE_SIZE; in setup_conf()
/linux-6.1.9/fs/btrfs/
Dextent_map.c367 u64 stripe_size = em->orig_block_len; in extent_map_device_set_bits() local
375 stripe->physical + stripe_size - 1, bits); in extent_map_device_set_bits()
382 u64 stripe_size = em->orig_block_len; in extent_map_device_clear_bits() local
390 stripe->physical + stripe_size - 1, bits, in extent_map_device_clear_bits()
Dvolumes.c5092 u64 stripe_size; member
5269 ctl->stripe_size = div_u64(devices_info[ctl->ndevs - 1].max_avail, in decide_stripe_size_regular()
5282 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_regular()
5288 ctl->stripe_size = min(round_up(div_u64(ctl->max_chunk_size, in decide_stripe_size_regular()
5290 ctl->stripe_size); in decide_stripe_size_regular()
5294 ctl->stripe_size = min_t(u64, ctl->stripe_size, SZ_1G); in decide_stripe_size_regular()
5297 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular()
5298 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_regular()
5316 ctl->stripe_size = zone_size; in decide_stripe_size_zoned()
5321 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_zoned()
[all …]
Dblock-group.c2347 u64 stripe_size; in insert_dev_extents() local
2356 stripe_size = em->orig_block_len; in insert_dev_extents()
2373 stripe_size); in insert_dev_extents()
/linux-6.1.9/drivers/scsi/
Dmyrb.h697 unsigned short stripe_size; member
Dmyrs.h412 enum myrs_stripe_size stripe_size; /* Byte 6 */ member
Dmyrb.c1124 cb->stripe_size = config2->blocks_per_stripe * config2->block_factor in myrb_get_hba_config()
1173 cb->stripe_size, cb->segment_size, in myrb_get_hba_config()
/linux-6.1.9/drivers/scsi/esas2r/
Datioctl.h336 u32 stripe_size; member