Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_offset.c50 unsigned long stripe_size; in lov_stripe_size() local
62 stripe_size = lov_do_div64(ost_size, ssize); in lov_stripe_size()
63 if (stripe_size) in lov_stripe_size()
64 lov_size = ost_size * swidth + stripeno * ssize + stripe_size; in lov_stripe_size()
/linux-4.1.27/drivers/md/bcache/
Dwriteback.h20 do_div(offset, d->stripe_size); in offset_to_stripe()
34 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty()
37 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty()
Dwriteback.c299 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add()
303 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add()
313 if (sectors_dirty == d->stripe_size) in bcache_dev_sectors_dirty_add()
357 stripe * dc->disk.stripe_size, 0); in refill_full_stripes()
361 next_stripe * dc->disk.stripe_size, 0), in refill_full_stripes()
Dsysfs.c87 read_attribute(stripe_size);
169 sysfs_hprint(stripe_size, dc->disk.stripe_size << 9); in SHOW()
Dsuper.c784 if (!d->stripe_size) in bcache_device_init()
785 d->stripe_size = 1 << 31; in bcache_device_init()
787 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init()
1147 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
1149 if (dc->disk.stripe_size) in cached_dev_init()
Dbcache.h277 unsigned stripe_size; member
/linux-4.1.27/drivers/block/rsxx/
Drsxx_cfg.h45 __u32 stripe_size; member
Dconfig.c37 cfg->data.stripe_size = RSXX_HW_BLK_SIZE; in initialize_config()
197 card->config.data.stripe_size); in rsxx_load_config()
Ddma.c903 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
/linux-4.1.27/fs/nfs/objlayout/
Dobjio_osd.c566 unsigned stripe_size; in aligned_on_raid_stripe() local
571 stripe_size = layout->stripe_unit * in aligned_on_raid_stripe()
574 div_u64_rem(offset, stripe_size, &stripe_off); in aligned_on_raid_stripe()
578 *stripe_end = stripe_size - stripe_off; in aligned_on_raid_stripe()
/linux-4.1.27/include/linux/
Dnvme.h100 u32 stripe_size; member
/linux-4.1.27/fs/btrfs/
Dvolumes.c4241 u64 stripe_size; in __btrfs_alloc_chunk() local
4376 stripe_size = devices_info[ndevs-1].max_avail; in __btrfs_alloc_chunk()
4401 if (stripe_size * data_stripes > max_chunk_size) { in __btrfs_alloc_chunk()
4404 stripe_size = div_u64(max_chunk_size, data_stripes); in __btrfs_alloc_chunk()
4407 stripe_size = (stripe_size + mask) & ~mask; in __btrfs_alloc_chunk()
4412 if (stripe_size > devices_info[ndevs-1].max_avail) in __btrfs_alloc_chunk()
4413 stripe_size = devices_info[ndevs-1].max_avail; in __btrfs_alloc_chunk()
4416 stripe_size = div_u64(stripe_size, dev_stripes); in __btrfs_alloc_chunk()
4419 stripe_size = div_u64(stripe_size, raid_stripe_len); in __btrfs_alloc_chunk()
4420 stripe_size *= raid_stripe_len; in __btrfs_alloc_chunk()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1455 unsigned long stripe_size; in echo_get_stripe_off_id() local
1465 stripe_size = lsm->lsm_stripe_size; in echo_get_stripe_off_id()
1469 width = stripe_size * stripe_count; in echo_get_stripe_off_id()
1474 stripe_index = woffset / stripe_size; in echo_get_stripe_off_id()
1477 *offp = offset * stripe_size + woffset % stripe_size; in echo_get_stripe_off_id()
/linux-4.1.27/fs/exofs/
Dore.c253 unsigned stripe_size = layout->stripe_unit * data_devs; in ore_get_rw_state() local
259 num_stripes = div_u64_rem(length, stripe_size, &remainder); in ore_get_rw_state()
/linux-4.1.27/drivers/block/
Dnvme-core.c2138 if (dev->stripe_size) in nvme_alloc_ns()
2139 blk_queue_chunk_sectors(ns->queue, dev->stripe_size >> 9); in nvme_alloc_ns()
2322 dev->stripe_size = 1 << (ctrl->vs[3] + shift); in nvme_dev_add()
2323 max_hw_sectors = dev->stripe_size >> (shift - 9); in nvme_dev_add()
Dsx8.c387 __le16 stripe_size; member
/linux-4.1.27/drivers/scsi/esas2r/
Datioctl.h336 u32 stripe_size; member