Lines Matching refs:SECTOR_SHIFT
911 #ifndef SECTOR_SHIFT
912 #define SECTOR_SHIFT 9 macro
915 #define SECTOR_SIZE (1 << SECTOR_SHIFT)
946 return blk_rq_bytes(rq) >> SECTOR_SHIFT; in blk_rq_sectors()
951 return blk_rq_cur_bytes(rq) >> SECTOR_SHIFT; in blk_rq_cur_sectors()
1000 UINT_MAX >> SECTOR_SHIFT); in blk_queue_get_max_sectors()
1238 SECTOR_SHIFT), in sb_issue_discard()
1240 SECTOR_SHIFT), in sb_issue_discard()
1248 SECTOR_SHIFT), in sb_issue_zeroout()
1250 SECTOR_SHIFT), in sb_issue_zeroout()
1355 unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) in queue_limit_alignment_offset()
1356 << SECTOR_SHIFT; in queue_limit_alignment_offset()
1390 alignment = lim->discard_alignment >> SECTOR_SHIFT; in queue_limit_discard_alignment()
1391 granularity = lim->discard_granularity >> SECTOR_SHIFT; in queue_limit_discard_alignment()
1402 return offset << SECTOR_SHIFT; in queue_limit_discard_alignment()