Searched refs:alignment (Results 1 – 2 of 2) sorted by relevance
500 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local527 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits()532 if (t->alignment_offset != alignment) { in blk_stack_limits()536 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()580 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()591 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits()594 t->discard_alignment != alignment) { in blk_stack_limits()596 bottom = b->discard_granularity + alignment; in blk_stack_limits()609 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
67 int alignment; in blk_bio_discard_split() local94 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()96 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()