Searched refs:PAGE_SECTORS_SHIFT (Results 1 – 7 of 7) sorted by relevance
161 sector_t sector = linear_map_sector(ti, *pgoff << PAGE_SECTORS_SHIFT); in linear_dax_pgoff()163 *pgoff = (get_start_sect(lc->dev->bdev) + sector) >> PAGE_SECTORS_SHIFT; in linear_dax_pgoff()
313 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
887 *pgoff += (get_start_sect(lc->dev->bdev) >> PAGE_SECTORS_SHIFT); in log_writes_dax_pgoff()
36 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) macro37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT)
71 idx = sector >> PAGE_SECTORS_SHIFT; /* sector to page index */ in brd_lookup_page()110 idx = sector >> PAGE_SECTORS_SHIFT; in brd_insert_page()
856 idx = sector >> PAGE_SECTORS_SHIFT; in null_free_sector()927 idx = sector >> PAGE_SECTORS_SHIFT; in __null_lookup_page()974 idx = sector >> PAGE_SECTORS_SHIFT; in null_insert_page()997 t_page = null_insert_page(nullb, idx << PAGE_SECTORS_SHIFT, true); in null_flush_cache_page()
717 folio = read_mapping_folio(mapping, n >> PAGE_SECTORS_SHIFT, NULL); in read_part_sector()