• Home
  • Raw
  • Download

Lines Matching full:alignment

357  * blk_queue_alignment_offset - set physical block alignment offset
359 * @offset: alignment offset in bytes
491 * attempt to combine the values and ensure proper alignment.
494 * top device's block sizes and alignment offsets may be adjusted to
495 * ensure alignment with the bottom device. If no compatible sizes
503 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
532 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits()
534 /* Bottom device has different alignment. Check that it is in blk_stack_limits()
535 * compatible with the current top alignment. in blk_stack_limits()
537 if (t->alignment_offset != alignment) { in blk_stack_limits()
541 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()
596 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()
609 /* Discard alignment and granularity */ in blk_stack_limits()
611 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits()
614 t->discard_alignment != alignment) { in blk_stack_limits()
616 bottom = b->discard_granularity + alignment; in blk_stack_limits()
629 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
723 * blk_queue_dma_alignment - set dma length and memory alignment
725 * @mask: alignment mask
728 * set required memory and length alignment for direct dma transactions.
739 * blk_queue_update_dma_alignment - update dma length and memory alignment
741 * @mask: alignment mask
744 * update required memory and length alignment for direct dma transactions.
745 * If the requested alignment is larger than the current alignment, then
746 * the current queue alignment is updated to the new value, otherwise it