Searched refs:PAGE_SECTORS (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.10/drivers/md/ |
| D | dm-linear.c | 167 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()
|
| D | dm-stripe.c | 307 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()
|
| D | dm-log-writes.c | 320 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()
|
| D | dm.c | 1093 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access() 1104 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access() 1140 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_from_iter() 1164 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_to_iter() 1188 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range()
|
| /Linux-v5.10/drivers/block/ |
| D | brd.c | 29 #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()
|
| D | null_blk_main.c | 15 #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()
|
| /Linux-v5.10/drivers/md/bcache/ |
| D | movinggc.c | 83 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()
|
| D | bcache.h | 756 ((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()
|
| D | writeback.c | 258 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)); in dirty_init() 463 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
|
| D | journal.c | 54 len = min_t(unsigned int, left, PAGE_SECTORS << JSET_BITS); in journal_read_bucket() 855 PAGE_SECTORS << JSET_BITS)) in journal_wait_for_write()
|
| D | super.c | 104 if (sb->block_size > PAGE_SECTORS) in read_super_common() 112 if (sb->bucket_size < PAGE_SECTORS) in read_super_common() 483 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write() 1891 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
|
| D | util.h | 18 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
|
| D | btree.c | 543 return ilog2(KEY_SIZE(k) / PAGE_SECTORS ?: 1); in btree_order() 1099 SET_KEY_SIZE(&k.key, c->btree_pages * PAGE_SECTORS); in __bch_btree_node_alloc()
|
| D | request.c | 917 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), in cached_dev_cache_miss()
|
| /Linux-v5.10/include/linux/ |
| D | device-mapper.h | 145 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
|