| /Linux-v5.15/drivers/md/bcache/ |
| D | writeback.h | 62 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()
|
| D | writeback.c | 574 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add() 578 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add() 588 if (sectors_dirty == d->stripe_size) in bcache_dev_sectors_dirty_add() 634 stripe * dc->disk.stripe_size, 0); in refill_full_stripes() 638 next_stripe * dc->disk.stripe_size, 0), in refill_full_stripes()
|
| D | sysfs.c | 131 read_attribute(stripe_size); 258 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
|
| D | super.c | 910 if (!d->stripe_size) in bcache_device_init() 911 d->stripe_size = 1 << 31; in bcache_device_init() 913 n = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init() 1428 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init() 1430 if (dc->disk.stripe_size) in cached_dev_init()
|
| D | bcache.h | 268 unsigned int stripe_size; member
|
| /Linux-v5.15/drivers/md/ |
| D | raid0.c | 435 unsigned int stripe_size; in raid0_handle_discard() local 460 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard() 463 sector_div(first_stripe_index, stripe_size); in raid0_handle_discard() 465 sector_div(last_stripe_index, stripe_size); in raid0_handle_discard() 467 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard() 469 start_disk_offset = ((int)(start - first_stripe_index * stripe_size) % in raid0_handle_discard() 472 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard() 474 end_disk_offset = ((int)(end - last_stripe_index * stripe_size) % in raid0_handle_discard()
|
| D | raid5.h | 574 unsigned long stripe_size; member 699 #define RAID5_STRIPE_SIZE(conf) ((conf)->stripe_size)
|
| D | raid10.c | 1596 unsigned int stripe_size; in raid10_handle_discard() local 1625 stripe_size = stripe_data_disks << geo->chunk_shift; in raid10_handle_discard() 1638 if (bio_sectors(bio) < stripe_size*2) in raid10_handle_discard() 1644 div_u64_rem(bio_start, stripe_size, &remainder); in raid10_handle_discard() 1646 split_size = stripe_size - remainder; in raid10_handle_discard() 1654 div_u64_rem(bio_end, stripe_size, &remainder); in raid10_handle_discard()
|
| D | raid5.c | 498 cnt = PAGE_SIZE / conf->stripe_size; in init_stripe_shared_pages() 6716 if (new == conf->stripe_size) in raid5_store_stripe_size() 6720 conf->stripe_size, new); in raid5_store_stripe_size() 6736 conf->stripe_size = new; in raid5_store_stripe_size() 6753 raid5_stripe_size = __ATTR(stripe_size, 0644, 6758 raid5_stripe_size = __ATTR(stripe_size, 0444, 7204 conf->stripe_size = DEFAULT_STRIPE_SIZE; in setup_conf()
|
| /Linux-v5.15/drivers/block/rsxx/ |
| D | rsxx_cfg.h | 31 __u32 stripe_size; member
|
| D | config.c | 23 cfg->data.stripe_size = RSXX_HW_BLK_SIZE; in initialize_config() 183 card->config.data.stripe_size); in rsxx_load_config()
|
| D | dma.c | 885 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
|
| /Linux-v5.15/fs/btrfs/ |
| D | extent_map.c | 359 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()
|
| D | volumes.c | 5001 u64 stripe_size; member 5188 ctl->stripe_size = div_u64(devices_info[ctl->ndevs - 1].max_avail, in decide_stripe_size_regular() 5201 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_regular() 5207 ctl->stripe_size = min(round_up(div_u64(ctl->max_chunk_size, in decide_stripe_size_regular() 5209 ctl->stripe_size); in decide_stripe_size_regular() 5213 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular() 5214 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_regular() 5232 ctl->stripe_size = zone_size; in decide_stripe_size_zoned() 5237 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_zoned() 5239 ctl->stripe_size) + ctl->nparity, in decide_stripe_size_zoned() [all …]
|
| D | block-group.c | 2319 u64 stripe_size; in insert_dev_extents() local 2328 stripe_size = em->orig_block_len; in insert_dev_extents() 2345 stripe_size); in insert_dev_extents()
|
| /Linux-v5.15/drivers/scsi/ |
| D | myrb.h | 697 unsigned short stripe_size; member
|
| D | myrs.h | 412 enum myrs_stripe_size stripe_size; /* Byte 6 */ member
|
| D | myrb.c | 1124 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-v5.15/drivers/scsi/esas2r/ |
| D | atioctl.h | 336 u32 stripe_size; member
|
| /Linux-v5.15/drivers/block/ |
| D | sx8.c | 381 __le16 stripe_size; member
|