Home
last modified time | relevance | path

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

/openbmc/qemu/hw/block/
H A Dnand.c127 # define PAGE_SECTORS 1 macro
132 # define PAGE_SECTORS 1 macro
137 # define PAGE_SECTORS 4 macro
658 uint8_t iobuf[(PAGE_SECTORS + 2) * 0x200];
670 PAGE_SECTORS << BDRV_SECTOR_BITS, iobuf, 0) < 0) {
683 PAGE_SECTORS << BDRV_SECTOR_BITS, iobuf, 0) < 0) {
691 (PAGE_SECTORS + 2) << BDRV_SECTOR_BITS, iobuf, 0) < 0) {
699 (PAGE_SECTORS + 2) << BDRV_SECTOR_BITS, iobuf, 0) < 0) {
776 PAGE_SECTORS << BDRV_SECTOR_BITS, s->io, 0) < 0) {
786 (PAGE_SECTORS + 2) << BDRV_SECTOR_BITS, s->io, 0)
[all …]
/openbmc/linux/fs/squashfs/
H A Dblock.c119 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached()
120 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
134 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached()
135 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
/openbmc/linux/drivers/block/
H A Dbrd.c126 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd_setup()
149 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd()
181 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_from_brd()
/openbmc/linux/drivers/md/bcache/
H A Dmovinggc.c83 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS), 0); in moving_init()
149 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_moving()
H A Dbcache.h763 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
773 __rounddown_pow_of_two(USHRT_MAX) / PAGE_SECTORS, in meta_bucket_pages()
776 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
H A Dwriteback.c335 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), 0); in dirty_init()
540 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()
871 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()
512 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()
1917 ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size) * in bch_cache_set_alloc()
H A Drequest.c895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
916 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), in cached_dev_cache_miss()
H A Dbtree.c545 return ilog2(KEY_SIZE(k) / PAGE_SECTORS ?: 1); in btree_order()
1131 SET_KEY_SIZE(&k.key, c->btree_pages * PAGE_SECTORS); in __bch_btree_node_alloc()
/openbmc/linux/include/linux/
H A Dblk_types.h37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro
38 #define SECTOR_MASK (PAGE_SECTORS - 1)
/openbmc/linux/drivers/md/
H A Ddm-stripe.c308 stripe_map_sector(sc, *pgoff * PAGE_SECTORS, &stripe, &dev_sector); in stripe_dax_pgoff()
H A Ddm.c1224 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access()
1235 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access()
1251 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range()
1278 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_recovery_write()
H A Ddm-log-writes.c308 sector += bio_pages * PAGE_SECTORS; in write_inline_data()
/openbmc/linux/drivers/block/null_blk/
H A Dmain.c1065 for (i = 0; i < PAGE_SECTORS; in null_flush_cache_page()