Searched refs:stripe_size (Results 1 – 14 of 14) sorted by relevance
/drivers/md/bcache/ |
D | writeback.h | 39 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()
|
D | writeback.c | 531 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()
|
D | sysfs.c | 116 read_attribute(stripe_size); 234 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
|
D | super.c | 819 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()
|
D | bcache.h | 268 unsigned int stripe_size; member
|
/drivers/md/ |
D | raid0.c | 483 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/ |
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 | rsxx_cfg.h | 31 __u32 stripe_size; member
|
D | dma.c | 887 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
|
/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 | 1126 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/ |
D | atioctl.h | 336 u32 stripe_size; member
|
/drivers/block/ |
D | sx8.c | 381 __le16 stripe_size; member
|