Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Ddebug.c90 sectors = vstruct_blocks(n_ondisk, c->block_bits) << in bch2_btree_verify_replica()
91 c->block_bits; in bch2_btree_verify_replica()
97 sectors = vstruct_blocks(bne, c->block_bits) << in bch2_btree_verify_replica()
98 c->block_bits; in bch2_btree_verify_replica()
251 sectors = vstruct_sectors(n_ondisk, c->block_bits); in bch2_btree_node_ondisk_to_text()
276 sectors = vstruct_sectors(bne, c->block_bits); in bch2_btree_node_ondisk_to_text()
H A Dbtree_cache.h109 return btree_sectors(c) >> c->block_bits; in btree_blocks()
H A Dbtree_io.c1130 sectors = vstruct_sectors(b->data, c->block_bits); in bch2_btree_node_read_done()
1153 sectors = vstruct_sectors(bne, c->block_bits); in bch2_btree_node_read_done()
1443 offset += vstruct_sectors(bn, c->block_bits); in btree_node_sectors_written()
1448 offset += vstruct_sectors(bne, c->block_bits); in btree_node_sectors_written()
1542 sectors = vstruct_sectors(bn, c->block_bits); in CLOSURE_CALLBACK()
1547 sectors = vstruct_sectors(bne, c->block_bits); in CLOSURE_CALLBACK()
1564 sectors = vstruct_sectors(bne, c->block_bits); in CLOSURE_CALLBACK()
1881 written += vstruct_sectors(data, c->block_bits); in btree_node_scrub_check()
1891 written += vstruct_sectors(bne, c->block_bits); in btree_node_scrub_check()
H A Djournal_io.c1091 sectors = vstruct_sectors(j, c->block_bits); in journal_read_bucket()
1385 prt_printf(&buf1, " size %zu", vstruct_sectors(&prev->j, c->block_bits)); in bch2_journal_read()
1553 unsigned sectors = vstruct_sectors(w->data, c->block_bits); in journal_write_alloc()
1781 unsigned sectors = vstruct_sectors(w->data, c->block_bits); in CLOSURE_CALLBACK()
1960 sectors = vstruct_sectors(jset, c->block_bits); in bch2_journal_write_prep()
2108 vstruct_sectors(w->data, c->block_bits), in CLOSURE_CALLBACK()
H A Djournal.c282 sectors = vstruct_blocks_plus(buf->data, c->block_bits, in __journal_entry_close()
283 buf->u64s_reserved) << c->block_bits; in __journal_entry_close()
293 c->block_bits); in __journal_entry_close()
H A Dio_misc.c146 unsigned max_sectors = KEY_SIZE_MAX & (~0 << c->block_bits); in bch2_fpunch_at()
H A Dbcachefs.h800 unsigned short block_bits; /* ilog2(block_size) */ member
H A Dsuper.c864 c->block_bits = ilog2(block_sectors(c)); in bch2_fs_alloc()
/linux-6.15/drivers/md/bcache/
H A Dbcache.h557 unsigned short block_bits; member
763 ((unsigned int) (KEY_SIZE(&b->key) >> (b)->c->block_bits))
766 ((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.c1880 c->block_bits = ilog2(sb->block_size); in bch_cache_set_alloc()
/linux-6.15/fs/iomap/
H A Dbuffered-io.c235 unsigned block_bits = inode->i_blkbits; in iomap_adjust_read_range() local
236 unsigned block_size = (1 << block_bits); in iomap_adjust_read_range()
240 unsigned first = poff >> block_bits; in iomap_adjust_read_range()
241 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()
277 unsigned end = offset_in_folio(folio, isize - 1) >> block_bits; in iomap_adjust_read_range()
/linux-6.15/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()