Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 2 of 2) sorted by relevance

/block/
Dblk-settings.c588 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
617 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits()
622 if (t->alignment_offset != alignment) { in blk_stack_limits()
626 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()
681 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()
696 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits()
699 t->discard_alignment != alignment) { in blk_stack_limits()
701 bottom = b->discard_granularity + alignment; in blk_stack_limits()
714 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
Dblk-merge.c69 int alignment; in blk_bio_discard_split() local
96 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()
98 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()