Home
last modified time | relevance | path

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

/linux/drivers/md/bcache/
A 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()
A Dwriteback.c574 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()
A Dsysfs.c131 read_attribute(stripe_size);
258 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
A Dsuper.c910 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()
1424 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
1426 if (dc->disk.stripe_size) in cached_dev_init()
A Dbcache.h268 unsigned int stripe_size; member
/linux/drivers/md/
A Draid0.c435 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()
A Draid5.h574 unsigned long stripe_size; member
699 #define RAID5_STRIPE_SIZE(conf) ((conf)->stripe_size)
A Draid10.c1596 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()
A Draid5.c498 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/drivers/block/rsxx/
A Dconfig.c23 cfg->data.stripe_size = RSXX_HW_BLK_SIZE; in initialize_config()
183 card->config.data.stripe_size); in rsxx_load_config()
A Drsxx_cfg.h31 __u32 stripe_size; member
A Ddma.c885 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
/linux/fs/btrfs/
A 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()
A Dvolumes.c5059 u64 stripe_size; member
5267 ctl->stripe_size); in decide_stripe_size_regular()
5271 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular()
5272 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_regular()
5290 ctl->stripe_size = zone_size; in decide_stripe_size_zoned()
5297 ctl->stripe_size) + ctl->nparity, in decide_stripe_size_zoned()
5304 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_zoned()
5368 j * ctl->stripe_size; in create_chunk()
5390 em->orig_block_len = ctl->stripe_size; in create_chunk()
5410 dev->bytes_used + ctl->stripe_size); in create_chunk()
[all …]
A Dblock-group.c2349 u64 stripe_size; in insert_dev_extents() local
2358 stripe_size = em->orig_block_len; in insert_dev_extents()
2375 stripe_size); in insert_dev_extents()
/linux/drivers/scsi/
A Dmyrb.h697 unsigned short stripe_size; member
A Dmyrs.h412 enum myrs_stripe_size stripe_size; /* Byte 6 */ member
A 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/drivers/scsi/esas2r/
A Datioctl.h336 u32 stripe_size; member
/linux/drivers/block/
A Dsx8.c382 __le16 stripe_size; member

Completed in 100 milliseconds