Searched refs:sector_shift (Results 1 – 2 of 2) sorted by relevance
1585 int sector_shift = pbr->pbr_sshift; in _pagebuf_page_io() local1596 sector = 1 << sector_shift; in _pagebuf_page_io()1632 block_offset = pg_offset >> sector_shift; in _pagebuf_page_io()1633 block_offset = pg_offset - (block_offset << sector_shift); in _pagebuf_page_io()1635 sector_shift; in _pagebuf_page_io()1637 blk_length = (pg_length + pbr->pbr_smask) >> sector_shift; in _pagebuf_page_io()1645 sector = blk_length << sector_shift; in _pagebuf_page_io()1651 sector = blk_length << sector_shift; in _pagebuf_page_io()1658 sector = 1 << sector_shift; in _pagebuf_page_io()
197 int sector_shift; in xfs_map_at_offset() local209 sector_shift = block_bits - BBSHIFT; in xfs_map_at_offset()210 bn = iomapp->iomap_bn >> sector_shift; in xfs_map_at_offset()213 ASSERT((bn << sector_shift) >= iomapp->iomap_bn); in xfs_map_at_offset()