Lines Matching refs:SECTOR_SHIFT
25 #define SECTOR_SHIFT 9
26 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT)
201 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT;
208 sector += copy >> SECTOR_SHIFT;
228 sector += PAGE_SIZE >> SECTOR_SHIFT;
241 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT;
254 sector += copy >> SECTOR_SHIFT;
273 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT;
287 sector += copy >> SECTOR_SHIFT;
340 if (sector + (bio->bi_size >> SECTOR_SHIFT) >
360 sector += len >> SECTOR_SHIFT;