Home
last modified time | relevance | path

Searched refs:SECTOR_SHIFT (Results 1 – 4 of 4) sorted by relevance

/include/linux/
Dt10-pi.h48 return blk_rq_pos(rq) >> (shift - SECTOR_SHIFT) & 0xffffffff; in t10_pi_ref_tag()
Dblkdev.h911 #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()
[all …]
Diomap.h76 return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; in iomap_sector()
Ddevice-mapper.h628 return (n >> SECTOR_SHIFT); in to_sector()
633 return (n << SECTOR_SHIFT); in to_bytes()