Searched refs:granularity (Results 1 – 1 of 1) sorted by relevance
70 unsigned int max_discard_sectors, granularity; in blk_bio_discard_split() local78 granularity = max(q->limits.discard_granularity >> 9, 1U); in blk_bio_discard_split()82 max_discard_sectors -= max_discard_sectors % granularity; in blk_bio_discard_split()98 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()101 tmp = sector_div(tmp, granularity); in blk_bio_discard_split()