Searched refs:alignment (Results 1 – 2 of 2) sorted by relevance
503 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local532 alignment = queue_limit_alignment_offset(b, start); 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()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()
71 int alignment; in blk_bio_discard_split() local98 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()100 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()