Searched refs:block_bits (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | debug.c | 90 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 D | btree_cache.h | 109 return btree_sectors(c) >> c->block_bits; in btree_blocks()
|
| H A D | btree_io.c | 1130 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 D | journal_io.c | 1091 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 D | journal.c | 282 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 D | io_misc.c | 146 unsigned max_sectors = KEY_SIZE_MAX & (~0 << c->block_bits); in bch2_fpunch_at()
|
| H A D | bcachefs.h | 800 unsigned short block_bits; /* ilog2(block_size) */ member
|
| H A D | super.c | 864 c->block_bits = ilog2(block_sectors(c)); in bch2_fs_alloc()
|
| /linux-6.15/drivers/md/bcache/ |
| H A D | bcache.h | 557 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 D | btree.h | 192 return bset_sector_offset(&b->keys, i) >> b->c->block_bits; in bset_block_offset()
|
| H A D | journal.c | 687 c->journal.blocks_free = ca->sb.bucket_size >> c->block_bits; in journal_reclaim()
|
| H A D | super.c | 1880 c->block_bits = ilog2(sb->block_size); in bch_cache_set_alloc()
|
| /linux-6.15/fs/iomap/ |
| H A D | buffered-io.c | 235 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 D | heartbeat.c | 1572 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()
|