Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-merge.c235 unsigned boundary_sectors = blk_boundary_sectors(lim, is_atomic); in get_max_io_size() local
249 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() local
531 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()
/linux/include/linux/
H A Dblkdev.h1079 unsigned int boundary_sectors) in blk_boundary_sectors_left() argument
1081 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()