Searched refs:boundary_sectors (Results 1 – 3 of 3) sorted by relevance
207 unsigned boundary_sectors = blk_boundary_sectors(lim, is_atomic); in get_max_io_size() local219 if (boundary_sectors) { in get_max_io_size()222 boundary_sectors)); in get_max_io_size()604 unsigned int max_sectors, boundary_sectors; in blk_rq_get_max_sectors() local610 boundary_sectors = blk_boundary_sectors(lim, is_atomic); in blk_rq_get_max_sectors()613 if (!boundary_sectors || in blk_rq_get_max_sectors()618 blk_boundary_sectors_left(offset, boundary_sectors)); in blk_rq_get_max_sectors()
177 unsigned int boundary_sectors; in blk_validate_atomic_write_limits() local182 boundary_sectors = lim->atomic_write_hw_boundary >> SECTOR_SHIFT; in blk_validate_atomic_write_limits()184 if (boundary_sectors) { in blk_validate_atomic_write_limits()198 if (WARN_ON_ONCE(lim->chunk_sectors % boundary_sectors)) in blk_validate_atomic_write_limits()208 if (!is_power_of_2(boundary_sectors)) in blk_validate_atomic_write_limits()
904 unsigned int boundary_sectors) in blk_boundary_sectors_left() argument906 if (unlikely(!is_power_of_2(boundary_sectors))) in blk_boundary_sectors_left()907 return boundary_sectors - sector_div(offset, boundary_sectors); in blk_boundary_sectors_left()908 return boundary_sectors - (offset & (boundary_sectors - 1)); in blk_boundary_sectors_left()