Searched refs:granularity (Results 1 – 4 of 4) sorted by relevance
24 int granularity; member
1354 unsigned int granularity = max(lim->physical_block_size, lim->io_min); in queue_limit_alignment_offset() local1355 unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) in queue_limit_alignment_offset()1358 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()1384 unsigned int alignment, granularity, offset; in queue_limit_discard_alignment() local1391 granularity = lim->discard_granularity >> SECTOR_SHIFT; in queue_limit_discard_alignment()1392 if (!granularity) in queue_limit_discard_alignment()1396 offset = sector_div(sector, granularity); in queue_limit_discard_alignment()1399 offset = (granularity + alignment - offset) % granularity; in queue_limit_discard_alignment()
280 u16 granularity; member288 u32 granularity; member296 u64 granularity; member
45 int granularity; /* granularity */ member