Searched refs:PAGE_SECTORS (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/md/bcache/
H A Dmovinggc.c89 PAGE_SECTORS); moving_init()
152 * DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), read_moving()
H A Dwriteback.c115 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 Djournal.c52 len = min_t(unsigned, left, PAGE_SECTORS << JSET_BITS); journal_read_bucket()
697 PAGE_SECTORS << JSET_BITS)) journal_wait_for_write()
H A Dutil.h15 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
H A Dbcache.h705 ((unsigned) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
707 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS)
H A Dsuper.c176 sb->block_size > PAGE_SECTORS || read_super()
178 sb->bucket_size < PAGE_SECTORS) read_super()
H A Dbtree.c583 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 Drequest.c814 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), cached_dev_cache_miss()
/linux-4.1.27/drivers/block/
H A Dbrd.c27 #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 190 milliseconds