/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_offset.c | 50 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/ |
D | writeback.h | 20 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()
|
D | writeback.c | 299 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()
|
D | sysfs.c | 87 read_attribute(stripe_size); 169 sysfs_hprint(stripe_size, dc->disk.stripe_size << 9); in SHOW()
|
D | super.c | 784 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()
|
D | bcache.h | 277 unsigned stripe_size; member
|
/linux-4.1.27/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 | 903 return rsxx_dma_stripe_setup(card, card->config.data.stripe_size); in rsxx_dma_configure()
|
/linux-4.1.27/fs/nfs/objlayout/ |
D | objio_osd.c | 566 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/ |
D | nvme.h | 100 u32 stripe_size; member
|
/linux-4.1.27/fs/btrfs/ |
D | volumes.c | 4241 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/ |
D | echo_client.c | 1455 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/ |
D | ore.c | 253 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/ |
D | nvme-core.c | 2138 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()
|
D | sx8.c | 387 __le16 stripe_size; member
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | atioctl.h | 336 u32 stripe_size; member
|