Home
last modified time | relevance | path

Searched refs:PAGE_SECTORS (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/block/
Dbrd.c175 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd_setup()
197 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd()
229 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_from_brd()
/Linux-v6.1/drivers/md/bcache/
Dmovinggc.c83 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS), 0); in moving_init()
149 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_moving()
Dbcache.h762 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
772 __rounddown_pow_of_two(USHRT_MAX) / PAGE_SECTORS, in meta_bucket_pages()
775 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
Dwriteback.c335 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), 0); in dirty_init()
540 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
Djournal.c54 len = min_t(unsigned int, left, PAGE_SECTORS << JSET_BITS); in journal_read_bucket()
870 PAGE_SECTORS << JSET_BITS)) in journal_wait_for_write()
Dsuper.c121 if (sb->block_size > PAGE_SECTORS) in read_super_common()
129 if (sb->bucket_size < PAGE_SECTORS) in read_super_common()
512 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()
1916 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
Drequest.c895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
916 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), in cached_dev_cache_miss()
Dbtree.c545 return ilog2(KEY_SIZE(k) / PAGE_SECTORS ?: 1); in btree_order()
1101 SET_KEY_SIZE(&k.key, c->btree_pages * PAGE_SECTORS); in __bch_btree_node_alloc()
/Linux-v6.1/include/linux/
Dblk_types.h37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro
38 #define SECTOR_MASK (PAGE_SECTORS - 1)
/Linux-v6.1/drivers/md/
Ddm-stripe.c309 stripe_map_sector(sc, *pgoff * PAGE_SECTORS, &stripe, &dev_sector); in stripe_dax_pgoff()
Ddm.c1231 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access()
1242 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access()
1258 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range()
1285 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_recovery_write()
Ddm-log-writes.c307 sector += bio_pages * PAGE_SECTORS; in write_inline_data()
/Linux-v6.1/drivers/block/null_blk/
Dmain.c1016 for (i = 0; i < PAGE_SECTORS; in null_flush_cache_page()