Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-merge.c201 unsigned boundary_sectors = blk_boundary_sectors(lim, is_atomic); in get_max_io_size() local
215 if (boundary_sectors) { in get_max_io_size()
218 boundary_sectors)); in get_max_io_size()
626 unsigned int max_sectors, boundary_sectors; in blk_rq_get_max_sectors() local
632 boundary_sectors = blk_boundary_sectors(lim, is_atomic); in blk_rq_get_max_sectors()
635 if (!boundary_sectors || in blk_rq_get_max_sectors()
640 blk_boundary_sectors_left(offset, boundary_sectors)); in blk_rq_get_max_sectors()
H A Dblk-settings.c176 unsigned int boundary_sectors; in blk_validate_atomic_write_limits() local
195 boundary_sectors = lim->atomic_write_hw_boundary >> SECTOR_SHIFT; in blk_validate_atomic_write_limits()
197 if (boundary_sectors) { in blk_validate_atomic_write_limits()
214 if (WARN_ON_ONCE(lim->chunk_sectors % boundary_sectors)) in blk_validate_atomic_write_limits()
224 if (!is_power_of_2(boundary_sectors)) in blk_validate_atomic_write_limits()