Searched refs:PAGE_SECTORS (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/drivers/md/bcache/ |
H A D | movinggc.c | 89 PAGE_SECTORS); moving_init() 152 * DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), read_moving()
|
H A D | writeback.c | 115 bio->bi_max_vecs = DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS); dirty_init() 247 * DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), read_dirty()
|
H A D | journal.c | 52 len = min_t(unsigned, left, PAGE_SECTORS << JSET_BITS); journal_read_bucket() 697 PAGE_SECTORS << JSET_BITS)) journal_wait_for_write()
|
H A D | util.h | 15 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
|
H A D | bcache.h | 705 ((unsigned) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits)) 707 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS)
|
H A D | super.c | 176 sb->block_size > PAGE_SECTORS || read_super() 178 sb->bucket_size < PAGE_SECTORS) read_super()
|
H A D | btree.c | 583 return ilog2(KEY_SIZE(k) / PAGE_SECTORS ?: 1); btree_order() 1078 SET_KEY_SIZE(&k.key, c->btree_pages * PAGE_SECTORS); __bch_btree_node_alloc()
|
H A D | request.c | 814 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), cached_dev_cache_miss()
|
/linux-4.1.27/drivers/block/ |
H A D | brd.c | 27 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro 198 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; copy_to_brd_setup() 238 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; copy_to_brd() 270 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; copy_from_brd()
|
Completed in 220 milliseconds