Searched refs:PAGE_SECTORS_SHIFT (Results 1 – 10 of 10) sorted by relevance
162 sector_t sector = linear_map_sector(ti, *pgoff << PAGE_SECTORS_SHIFT); in linear_dax_pgoff()164 *pgoff = (get_start_sect(lc->dev->bdev) + sector) >> PAGE_SECTORS_SHIFT; in linear_dax_pgoff()
312 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
888 *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)
57 idx = sector >> PAGE_SECTORS_SHIFT; /* sector to page index */ in brd_lookup_page()84 idx = sector >> PAGE_SECTORS_SHIFT; in brd_insert_page()
105 max_hw_sectors = min_not_zero(pctrl->max_segments << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl()112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl()
376 (NVME_LOOP_MAX_SEGMENTS - 1) << PAGE_SECTORS_SHIFT; in nvme_loop_configure_admin_queue()
905 idx = sector >> PAGE_SECTORS_SHIFT; in null_free_sector()976 idx = sector >> PAGE_SECTORS_SHIFT; in __null_lookup_page()1023 idx = sector >> PAGE_SECTORS_SHIFT; in null_insert_page()1046 t_page = null_insert_page(nullb, idx << PAGE_SECTORS_SHIFT, true); in null_flush_cache_page()
714 folio = read_mapping_folio(mapping, n >> PAGE_SECTORS_SHIFT, NULL); in read_part_sector()
881 q->limits.max_segments << PAGE_SECTORS_SHIFT); in sd_zbc_revalidate_zones()