Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/bcache/
Dwriteback.h58 do_div(offset, d->stripe_size); in offset_to_stripe()
87 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty()
90 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty()
Dwriteback.c568 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add()
572 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add()
582 if (sectors_dirty == d->stripe_size) in bcache_dev_sectors_dirty_add()
628 stripe * dc->disk.stripe_size, 0); in refill_full_stripes()
632 next_stripe * dc->disk.stripe_size, 0), in refill_full_stripes()
Dsysfs.c127 read_attribute(stripe_size);
251 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
Dsuper.c918 if (!d->stripe_size) in bcache_device_init()
919 d->stripe_size = 1 << 31; in bcache_device_init()
921 n = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init()
1447 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
1449 if (dc->disk.stripe_size) in cached_dev_init()
Dbcache.h268 unsigned int stripe_size; member
/kernel/linux/linux-5.10/drivers/md/
Draid0.c436 unsigned int stripe_size; in raid0_handle_discard() local
461 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard()
464 sector_div(first_stripe_index, stripe_size); in raid0_handle_discard()
466 sector_div(last_stripe_index, stripe_size); in raid0_handle_discard()
468 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard()
470 start_disk_offset = ((int)(start - first_stripe_index * stripe_size) % in raid0_handle_discard()
473 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()
475 end_disk_offset = ((int)(end - last_stripe_index * stripe_size) % in raid0_handle_discard()
Draid5.h574 unsigned long stripe_size; member
699 #define RAID5_STRIPE_SIZE(conf) ((conf)->stripe_size)
Draid5.c499 cnt = PAGE_SIZE / conf->stripe_size; in init_stripe_shared_pages()
6722 if (new == conf->stripe_size) in raid5_store_stripe_size()
6726 conf->stripe_size, new); in raid5_store_stripe_size()
6742 conf->stripe_size = new; in raid5_store_stripe_size()
6759 raid5_stripe_size = __ATTR(stripe_size, 0644,
6764 raid5_stripe_size = __ATTR(stripe_size, 0444,
7210 conf->stripe_size = DEFAULT_STRIPE_SIZE; in setup_conf()
/kernel/linux/linux-5.10/drivers/block/rsxx/
Drsxx_cfg.h31 __u32 stripe_size; member
Dconfig.c23 cfg->data.stripe_size = RSXX_HW_BLK_SIZE; in initialize_config()
183 card->config.data.stripe_size); in rsxx_load_config()
Ddma.c887 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent_map.c359 u64 stripe_size = em->orig_block_len; in extent_map_device_set_bits() local
367 stripe->physical + stripe_size - 1, bits); in extent_map_device_set_bits()
374 u64 stripe_size = em->orig_block_len; in extent_map_device_clear_bits() local
382 stripe->physical + stripe_size - 1, bits, in extent_map_device_clear_bits()
Dvolumes.c4929 u64 stripe_size; member
5080 ctl->stripe_size = div_u64(devices_info[ctl->ndevs - 1].max_avail, in decide_stripe_size_regular()
5093 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_regular()
5099 ctl->stripe_size = min(round_up(div_u64(ctl->max_chunk_size, in decide_stripe_size_regular()
5101 ctl->stripe_size); in decide_stripe_size_regular()
5105 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular()
5106 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_regular()
5167 j * ctl->stripe_size; in create_chunk()
5189 em->orig_block_len = ctl->stripe_size; in create_chunk()
5209 dev->bytes_used + ctl->stripe_size); in create_chunk()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dmyrb.h697 unsigned short stripe_size; member
Dmyrs.h412 enum myrs_stripe_size stripe_size; /* Byte 6 */ member
Dmyrb.c1126 cb->stripe_size = config2->blocks_per_stripe * config2->block_factor in myrb_get_hba_config()
1175 cb->stripe_size, cb->segment_size, in myrb_get_hba_config()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Datioctl.h336 u32 stripe_size; member