Home
last modified time | relevance | path

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

/linux/drivers/md/
A Ddm-linear.c173 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_direct_access()
188 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_from_iter()
202 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_to_iter()
217 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_zero_page_range()
A Ddm-stripe.c307 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_direct_access()
328 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_copy_from_iter()
347 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_copy_to_iter()
367 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_zero_page_range()
A Ddm-log-writes.c319 sector += bio_pages * PAGE_SECTORS; in write_inline_data()
954 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_direct_access()
968 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_copy_from_iter()
992 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_copy_to_iter()
1004 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_zero_page_range()
A Ddm.c1007 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access()
1018 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access()
1054 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_from_iter()
1078 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_to_iter()
1102 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range()
/linux/drivers/block/
A 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/include/linux/
A Dblk_types.h37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro
38 #define SECTOR_MASK (PAGE_SECTORS - 1)
/linux/drivers/md/bcache/
A Dmovinggc.c83 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS)); in moving_init()
149 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_moving()
A Dbcache.h755 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
765 __rounddown_pow_of_two(USHRT_MAX) / PAGE_SECTORS, in meta_bucket_pages()
768 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
A Dwriteback.c296 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)); in dirty_init()
501 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
A Djournal.c54 len = min_t(unsigned int, left, PAGE_SECTORS << JSET_BITS); in journal_read_bucket()
855 PAGE_SECTORS << JSET_BITS)) in journal_wait_for_write()
A Dsuper.c122 if (sb->block_size > PAGE_SECTORS) in read_super_common()
130 if (sb->bucket_size < PAGE_SECTORS) in read_super_common()
515 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()
1921 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
A Drequest.c896 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
917 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), in cached_dev_cache_miss()
A 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/drivers/block/null_blk/
A Dmain.c985 for (i = 0; i < PAGE_SECTORS; in null_flush_cache_page()

Completed in 39 milliseconds