Searched refs:lbs (Results 1 – 2 of 2) sorted by relevance
471 static unsigned int blk_round_down_sectors(unsigned int sectors, unsigned int lbs) in blk_round_down_sectors() argument473 sectors = round_down(sectors, lbs >> SECTOR_SHIFT); in blk_round_down_sectors()
153 unsigned lbs = queue_logical_block_size(q) >> SECTOR_SHIFT; in get_max_io_size() local161 return sectors & ~(lbs - 1); in get_max_io_size()