Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-linear.c162 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()
Ddm-stripe.c312 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
Ddm-log-writes.c888 *pgoff += (get_start_sect(lc->dev->bdev) >> PAGE_SECTORS_SHIFT); in log_writes_dax_pgoff()
/Linux-v6.6/include/linux/
Dblk_types.h36 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) macro
37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT)
/Linux-v6.6/drivers/block/
Dbrd.c57 idx = sector >> PAGE_SECTORS_SHIFT; /* sector to page index */ in brd_lookup_page()
84 idx = sector >> PAGE_SECTORS_SHIFT; in brd_insert_page()
/Linux-v6.6/drivers/nvme/target/
Dpassthru.c105 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()
Dloop.c376 (NVME_LOOP_MAX_SEGMENTS - 1) << PAGE_SECTORS_SHIFT; in nvme_loop_configure_admin_queue()
/Linux-v6.6/drivers/block/null_blk/
Dmain.c905 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()
/Linux-v6.6/block/partitions/
Dcore.c714 folio = read_mapping_folio(mapping, n >> PAGE_SECTORS_SHIFT, NULL); in read_part_sector()
/Linux-v6.6/drivers/scsi/
Dsd_zbc.c881 q->limits.max_segments << PAGE_SECTORS_SHIFT); in sd_zbc_revalidate_zones()