Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-linear.c167 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_direct_access()
182 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_from_iter()
196 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_to_iter()
211 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_zero_page_range()
H 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()
H A Ddm-log-writes.c320 sector += bio_pages * PAGE_SECTORS; in write_inline_data()
952 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_direct_access()
966 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_copy_from_iter()
990 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_copy_to_iter()
1002 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_zero_page_range()
H A Ddm.c1119 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access()
1130 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access()
1166 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_from_iter()
1190 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_to_iter()
1214 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range()
/OK3568_Linux_fs/kernel/drivers/block/
H A Dbrd.c29 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro
175 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()
H A Dnull_blk_main.c15 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro
16 #define SECTOR_MASK (PAGE_SECTORS - 1)
927 for (i = 0; i < PAGE_SECTORS; in null_flush_cache_page()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_ramdisk.c18 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro
57 unsigned int offset = (sector & (PAGE_SECTORS - 1)) << SECTOR_SHIFT; in copy_to_rd()
89 unsigned int offset = (sector & (PAGE_SECTORS - 1)) << SECTOR_SHIFT; in copy_from_rd()
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H 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()
H A Dbcache.h756 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
766 __rounddown_pow_of_two(USHRT_MAX) / PAGE_SECTORS, in meta_bucket_pages()
769 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
H A Dwriteback.c289 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)); in dirty_init()
494 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
H A Djournal.c54 len = min_t(unsigned int, left, PAGE_SECTORS << JSET_BITS); in journal_read_bucket()
876 PAGE_SECTORS << JSET_BITS)) in journal_wait_for_write()
H A Dsuper.c121 if (sb->block_size > PAGE_SECTORS) in read_super_common()
129 if (sb->bucket_size < PAGE_SECTORS) in read_super_common()
514 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()
1940 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
H A Dutil.h18 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
H 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()
H A Drequest.c917 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), in cached_dev_cache_miss()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddevice-mapper.h146 #define PAGE_SECTORS (PAGE_SIZE / 512) macro