Home
last modified time | relevance | path

Searched refs:block_bits (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/md/bcache/
H A Dbcache.h554 unsigned short block_bits; member
760 ((unsigned int) (KEY_SIZE(&b->key) >> (b)->c->block_bits))
763 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits))
H A Dbtree.h192 return bset_sector_offset(&b->keys, i) >> b->c->block_bits; in bset_block_offset()
H A Djournal.c687 c->journal.blocks_free = ca->sb.bucket_size >> c->block_bits; in journal_reclaim()
H A Dsuper.c1886 c->block_bits = ilog2(sb->block_size); in bch_cache_set_alloc()
/openbmc/linux/fs/iomap/
H A Dbuffered-io.c200 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() local
201 unsigned block_size = (1 << block_bits); in iomap_adjust_read_range()
205 unsigned first = poff >> block_bits; in iomap_adjust_read_range()
206 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()
242 unsigned end = offset_in_folio(folio, isize - 1) >> block_bits; in iomap_adjust_read_range()
/openbmc/linux/fs/ocfs2/cluster/
H A Dheartbeat.c1563 unsigned int block_bits; in o2hb_region_block_bytes_store() local
1569 &block_bits); in o2hb_region_block_bytes_store()
1574 reg->hr_block_bits = block_bits; in o2hb_region_block_bytes_store()