Searched refs:PAGE_SECTORS_SHIFT (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/drivers/md/ |
| H A D | dm-linear.c | 163 sector_t sector = linear_map_sector(ti, *pgoff << PAGE_SECTORS_SHIFT); in linear_dax_pgoff() 165 *pgoff = (get_start_sect(lc->dev->bdev) + sector) >> PAGE_SECTORS_SHIFT; in linear_dax_pgoff()
|
| H A D | dm-stripe.c | 313 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
|
| H A D | dm-log-writes.c | 888 *pgoff += (get_start_sect(lc->dev->bdev) >> PAGE_SECTORS_SHIFT); in log_writes_dax_pgoff()
|
| /linux-6.15/drivers/block/ |
| H A D | brd.c | 51 return xa_load(&brd->brd_pages, sector >> PAGE_SECTORS_SHIFT); in brd_lookup_page() 59 pgoff_t idx = sector >> PAGE_SECTORS_SHIFT; in brd_insert_page() 233 page = __xa_erase(&brd->brd_pages, aligned_sector >> PAGE_SECTORS_SHIFT); in brd_do_discard()
|
| /linux-6.15/include/linux/ |
| H A D | blk_types.h | 37 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) macro 38 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT)
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fs-io-pagecache.c | 253 pgoff_t index = start >> PAGE_SECTORS_SHIFT; in bch2_mark_pagecache_unallocated() 254 pgoff_t end_index = (end - 1) >> PAGE_SECTORS_SHIFT; in bch2_mark_pagecache_unallocated() 297 pgoff_t index = *start >> PAGE_SECTORS_SHIFT; in bch2_mark_pagecache_reserved() 298 pgoff_t end_index = (end - 1) >> PAGE_SECTORS_SHIFT; in bch2_mark_pagecache_reserved()
|
| H A D | fs-io.c | 296 POS(inode->v.i_ino, (index << PAGE_SECTORS_SHIFT)), in __bch2_truncate_folio() 297 POS(inode->v.i_ino, (index << PAGE_SECTORS_SHIFT) + PAGE_SECTORS)); in __bch2_truncate_folio()
|
| H A D | fs-io-buffered.c | 108 pgoff_t folio_offset = bio_end_sector(bio) >> PAGE_SECTORS_SHIFT; in readpage_bio_extend()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | passthru.c | 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()
|
| H A D | loop.c | 389 (NVME_LOOP_MAX_SEGMENTS - 1) << PAGE_SECTORS_SHIFT; in nvme_loop_configure_admin_queue()
|
| /linux-6.15/drivers/block/null_blk/ |
| H A D | main.c | 899 idx = sector >> PAGE_SECTORS_SHIFT; in null_free_sector() 970 idx = sector >> PAGE_SECTORS_SHIFT; in __null_lookup_page() 1017 idx = sector >> PAGE_SECTORS_SHIFT; in null_insert_page() 1040 t_page = null_insert_page(nullb, idx << PAGE_SECTORS_SHIFT, true); in null_flush_cache_page()
|
| /linux-6.15/block/partitions/ |
| H A D | core.c | 722 folio = read_mapping_folio(mapping, n >> PAGE_SECTORS_SHIFT, NULL); in read_part_sector()
|
| /linux-6.15/block/ |
| H A D | blk-settings.c | 72 bdi->io_pages = lim->max_sectors >> PAGE_SECTORS_SHIFT; in blk_apply_bdi_limits()
|