Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Ddebug.c94 sectors = vstruct_blocks(n_ondisk, c->block_bits) << in bch2_btree_verify_replica()
95 c->block_bits; in bch2_btree_verify_replica()
101 sectors = vstruct_blocks(bne, c->block_bits) << in bch2_btree_verify_replica()
102 c->block_bits; in bch2_btree_verify_replica()
254 sectors = vstruct_sectors(n_ondisk, c->block_bits); in bch2_btree_node_ondisk_to_text()
279 sectors = vstruct_sectors(bne, c->block_bits); in bch2_btree_node_ondisk_to_text()
H A Dbtree_cache.h110 return btree_sectors(c) >> c->block_bits; in btree_blocks()
H A Dbtree_io.c1144 sectors = vstruct_sectors(b->data, c->block_bits); in bch2_btree_node_read_done()
1180 sectors = vstruct_sectors(bne, c->block_bits); in bch2_btree_node_read_done()
1530 offset += vstruct_sectors(bn, c->block_bits); in btree_node_sectors_written()
1535 offset += vstruct_sectors(bne, c->block_bits); in btree_node_sectors_written()
1630 sectors = vstruct_sectors(bn, c->block_bits); in CLOSURE_CALLBACK()
1635 sectors = vstruct_sectors(bne, c->block_bits); in CLOSURE_CALLBACK()
1652 sectors = vstruct_sectors(bne, c->block_bits); in CLOSURE_CALLBACK()
1986 written += vstruct_sectors(data, c->block_bits); in btree_node_scrub_check()
1996 written += vstruct_sectors(bne, c->block_bits); in btree_node_scrub_check()
H A Djournal_io.c1108 sectors = vstruct_sectors(j, c->block_bits); in journal_read_bucket()
1317 prt_printf(&buf, " size %zu", vstruct_sectors(&prev->j, c->block_bits)); in bch2_journal_check_for_missing()
1618 unsigned sectors = vstruct_sectors(w->data, c->block_bits); in journal_write_alloc()
1855 unsigned sectors = vstruct_sectors(w->data, c->block_bits); in CLOSURE_CALLBACK()
2029 unsigned sectors = vstruct_sectors(jset, c->block_bits); in bch2_journal_write_prep()
2081 unsigned sectors = vstruct_sectors(jset, c->block_bits); in bch2_journal_write_checksum()
2228 vstruct_sectors(w->data, c->block_bits), in CLOSURE_CALLBACK()
H A Dio_misc.c144 unsigned max_sectors = KEY_SIZE_MAX & (~0 << c->block_bits); in bch2_fpunch_snapshot()
173 unsigned max_sectors = KEY_SIZE_MAX & (~0 << c->block_bits); in bch2_fpunch_at()
H A Dbcachefs.h870 unsigned short block_bits; /* ilog2(block_size) */ member
H A Dsuper.c952 c->block_bits = ilog2(block_sectors(c)); in bch2_fs_alloc()
/linux/fs/iomap/
H A Dbuffered-io.c229 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() local
230 unsigned block_size = (1 << block_bits); in iomap_adjust_read_range()
234 unsigned first = poff >> block_bits; in iomap_adjust_read_range()
235 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()
271 unsigned end = offset_in_folio(folio, isize - 1) >> block_bits; in iomap_adjust_read_range()
/linux/drivers/md/bcache/
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.c1885 c->block_bits = ilog2(sb->block_size); in bch_cache_set_alloc()
/linux/fs/ocfs2/cluster/
H A Dheartbeat.c1572 unsigned int block_bits; in o2hb_region_block_bytes_store() local
1578 &block_bits); in o2hb_region_block_bytes_store()
1583 reg->hr_block_bits = block_bits; in o2hb_region_block_bytes_store()