Home
last modified time | relevance | path

Searched refs:alignment_offset (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/block/
Dblk-settings.c126 lim->alignment_offset = 0; in blk_set_default_limits()
371 q->limits.alignment_offset = in blk_queue_alignment_offset()
516 if (t->alignment_offset != alignment) { in blk_stack_limits()
519 + t->alignment_offset; in blk_stack_limits()
563 t->alignment_offset = lcm(t->alignment_offset, alignment) in blk_stack_limits()
567 if (t->alignment_offset & (t->logical_block_size - 1)) { in blk_stack_limits()
Dgenhd.c976 static DEVICE_ATTR(alignment_offset, S_IRUGO, disk_alignment_offset_show, NULL);
/linux-2.6.39/drivers/block/
Dvirtio_blk.c302 u8 physical_block_exp, alignment_offset; in virtblk_probe() local
436 offsetof(struct virtio_blk_config, alignment_offset), in virtblk_probe()
437 &alignment_offset); in virtblk_probe()
438 if (!err && alignment_offset) in virtblk_probe()
439 blk_queue_alignment_offset(q, blk_size * alignment_offset); in virtblk_probe()
/linux-2.6.39/include/linux/
Dvirtio_blk.h43 __u8 alignment_offset; member
Dblkdev.h246 unsigned int alignment_offset; member
1032 return q->limits.alignment_offset; in queue_alignment_offset()
1040 return (granularity + lim->alignment_offset - alignment) in queue_limit_alignment_offset()
1052 return bdev->bd_part->alignment_offset; in bdev_alignment_offset()
1054 return q->limits.alignment_offset; in bdev_alignment_offset()
Dgenhd.h102 sector_t alignment_offset; member
/linux-2.6.39/fs/partitions/
Dcheck.c251 return sprintf(buf, "%llu\n", (unsigned long long)p->alignment_offset); in part_alignment_offset_show()
324 static DEVICE_ATTR(alignment_offset, S_IRUGO, part_alignment_offset_show, NULL);
450 p->alignment_offset = in add_partition()
/linux-2.6.39/Documentation/ABI/testing/
Dsysfs-block64 What: /sys/block/<disk>/alignment_offset
75 What: /sys/block/<disk>/<partition>/alignment_offset
/linux-2.6.39/drivers/md/
Ddm-table.c517 q->limits.alignment_offset, in dm_set_device_limits()