Home
last modified time | relevance | path

Searched refs:PAGE_SECTORS_SHIFT (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-linear.c161 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()
Ddm-stripe.c313 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
Ddm-log-writes.c887 *pgoff += (get_start_sect(lc->dev->bdev) >> PAGE_SECTORS_SHIFT); in log_writes_dax_pgoff()
/linux-6.1.9/include/linux/
Dblk_types.h36 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) macro
37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT)
/linux-6.1.9/drivers/block/
Dbrd.c71 idx = sector >> PAGE_SECTORS_SHIFT; /* sector to page index */ in brd_lookup_page()
110 idx = sector >> PAGE_SECTORS_SHIFT; in brd_insert_page()
/linux-6.1.9/drivers/block/null_blk/
Dmain.c856 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()
/linux-6.1.9/block/partitions/
Dcore.c717 folio = read_mapping_folio(mapping, n >> PAGE_SECTORS_SHIFT, NULL); in read_part_sector()