Searched refs:stripe_size (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/drivers/md/bcache/ |
D | writeback.h | 34 do_div(offset, d->stripe_size); in offset_to_stripe() 48 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty() 51 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty()
|
D | writeback.c | 518 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add() 522 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add() 532 if (sectors_dirty == d->stripe_size) in bcache_dev_sectors_dirty_add() 578 stripe * dc->disk.stripe_size, 0); in refill_full_stripes() 582 next_stripe * dc->disk.stripe_size, 0), in refill_full_stripes()
|
D | sysfs.c | 110 read_attribute(stripe_size); 227 sysfs_hprint(stripe_size, ((uint64_t)dc->disk.stripe_size) << 9); in SHOW()
|
D | super.c | 781 if (!d->stripe_size) in bcache_device_init() 782 d->stripe_size = 1 << 31; in bcache_device_init() 784 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init() 1252 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init() 1254 if (dc->disk.stripe_size) in cached_dev_init()
|
D | bcache.h | 268 unsigned int stripe_size; member
|
/Linux-v4.19/drivers/md/ |
D | raid0.c | 471 unsigned int stripe_size; in raid0_handle_discard() local 496 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard() 499 sector_div(first_stripe_index, stripe_size); in raid0_handle_discard() 501 sector_div(last_stripe_index, stripe_size); in raid0_handle_discard() 503 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard() 505 start_disk_offset = ((int)(start - first_stripe_index * stripe_size) % in raid0_handle_discard() 508 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard() 510 end_disk_offset = ((int)(end - last_stripe_index * stripe_size) % in raid0_handle_discard()
|
/Linux-v4.19/drivers/block/rsxx/ |
D | rsxx_cfg.h | 45 __u32 stripe_size; member
|
D | config.c | 37 cfg->data.stripe_size = RSXX_HW_BLK_SIZE; in initialize_config() 197 card->config.data.stripe_size); in rsxx_load_config()
|
D | dma.c | 901 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
|
/Linux-v4.19/fs/btrfs/ |
D | volumes.c | 4601 u64 stripe_size; in __btrfs_alloc_chunk() local 4746 stripe_size = div_u64(devices_info[ndevs - 1].max_avail, dev_stripes); in __btrfs_alloc_chunk() 4766 if (stripe_size * data_stripes > max_chunk_size) { in __btrfs_alloc_chunk() 4767 stripe_size = div_u64(max_chunk_size, data_stripes); in __btrfs_alloc_chunk() 4770 stripe_size = round_up(stripe_size, SZ_16M); in __btrfs_alloc_chunk() 4776 stripe_size = min(devices_info[ndevs - 1].max_avail, in __btrfs_alloc_chunk() 4777 stripe_size); in __btrfs_alloc_chunk() 4781 stripe_size = round_down(stripe_size, BTRFS_STRIPE_LEN); in __btrfs_alloc_chunk() 4795 j * stripe_size; in __btrfs_alloc_chunk() 4804 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk() [all …]
|
/Linux-v4.19/fs/exofs/ |
D | ore.c | 267 unsigned stripe_size = layout->stripe_unit * data_devs; in ore_get_rw_state() local 273 num_stripes = div_u64_rem(length, stripe_size, &remainder); in ore_get_rw_state()
|
/Linux-v4.19/drivers/scsi/esas2r/ |
D | atioctl.h | 336 u32 stripe_size; member
|
/Linux-v4.19/drivers/block/ |
D | sx8.c | 387 __le16 stripe_size; member
|