Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dwriteback.h39 do_div(offset, d->stripe_size); in offset_to_stripe()
53 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty()
56 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty()
Dwriteback.c531 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add()
535 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add()
545 if (sectors_dirty == d->stripe_size) in bcache_dev_sectors_dirty_add()
591 stripe * dc->disk.stripe_size, 0); in refill_full_stripes()
595 next_stripe * dc->disk.stripe_size, 0), in refill_full_stripes()
Dsysfs.c116 read_attribute(stripe_size);
234 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
Dsuper.c819 if (!d->stripe_size) in bcache_device_init()
820 d->stripe_size = 1 << 31; in bcache_device_init()
822 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init()
1324 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
1326 if (dc->disk.stripe_size) in cached_dev_init()
Dbcache.h268 unsigned int stripe_size; member
/drivers/md/
Draid0.c483 unsigned int stripe_size; in raid0_handle_discard() local
508 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard()
511 sector_div(first_stripe_index, stripe_size); in raid0_handle_discard()
513 sector_div(last_stripe_index, stripe_size); in raid0_handle_discard()
515 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard()
517 start_disk_offset = ((int)(start - first_stripe_index * stripe_size) % in raid0_handle_discard()
520 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()
522 end_disk_offset = ((int)(end - last_stripe_index * stripe_size) % in raid0_handle_discard()
/drivers/block/rsxx/
Dconfig.c23 cfg->data.stripe_size = RSXX_HW_BLK_SIZE; in initialize_config()
183 card->config.data.stripe_size); in rsxx_load_config()
Drsxx_cfg.h31 __u32 stripe_size; member
Ddma.c887 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
/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()
/drivers/scsi/esas2r/
Datioctl.h336 u32 stripe_size; member
/drivers/block/
Dsx8.c381 __le16 stripe_size; member