Searched refs:boundary_sectors (Results 1 – 2 of 2) sorted by relevance
235 unsigned boundary_sectors = blk_boundary_sectors(lim, is_atomic); in get_max_io_size() local249 if (boundary_sectors) { in get_max_io_size()252 boundary_sectors)); in get_max_io_size()525 unsigned int max_sectors, boundary_sectors; in blk_rq_get_max_sectors() local531 boundary_sectors = blk_boundary_sectors(lim, is_atomic); in blk_rq_get_max_sectors()534 if (!boundary_sectors || in blk_rq_get_max_sectors()539 blk_boundary_sectors_left(offset, boundary_sectors)); in blk_rq_get_max_sectors()
1079 unsigned int boundary_sectors) in blk_boundary_sectors_left() argument1081 if (unlikely(!is_power_of_2(boundary_sectors))) in blk_boundary_sectors_left()1082 return boundary_sectors - sector_div(offset, boundary_sectors); in blk_boundary_sectors_left()1083 return boundary_sectors - (offset & (boundary_sectors - 1)); in blk_boundary_sectors_left()