• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/

Lines Matching refs:alignment

359  * blk_queue_alignment_offset - set physical block alignment offset
361 * @offset: alignment offset in bytes
486 * attempt to combine the values and ensure proper alignment.
489 * top device's block sizes and alignment offsets may be adjusted to
490 * ensure alignment with the bottom device. If no compatible sizes
498 unsigned int top, bottom, alignment, ret = 0;
514 alignment = queue_limit_alignment_offset(b, start);
516 /* Bottom device has different alignment. Check that it is
517 * compatible with the current top alignment.
519 if (t->alignment_offset != alignment) {
523 bottom = max(b->physical_block_size, b->io_min) + alignment;
566 t->alignment_offset = lcm(t->alignment_offset, alignment)
575 /* Discard alignment and granularity */
577 alignment = queue_limit_discard_alignment(b, start);
580 t->discard_alignment != alignment) {
582 bottom = b->discard_granularity + alignment;
593 t->discard_alignment = lcm(t->discard_alignment, alignment) &
609 * 0 if alignment didn't change. Returns -1 if adding the bottom
738 * blk_queue_dma_alignment - set dma length and memory alignment
740 * @mask: alignment mask
743 * set required memory and length alignment for direct dma transactions.
754 * blk_queue_update_dma_alignment - update dma length and memory alignment
756 * @mask: alignment mask
759 * update required memory and length alignment for direct dma transactions.
760 * If the requested alignment is larger than the current alignment, then
761 * the current queue alignment is updated to the new value, otherwise it